Does anyone know of a way to determine what objects are in memory for rabbitmq?
This is on the server side.
Thanks,
Frank
Running "rabbitmqct status" should do the trick for you.
Check out the rabbitmq page to see what each of the sections mean
Related
https://www.rabbitmq.com/alarms.html
according to docs,
There are two circumstances under which RabbitMQ will stop reading from client network sockets, in order to prevent crashes. They are:
When memory use goes above the configured limit.
When disk space drops below the configured limit.
I want to send mail to admin if any of condition is breached.
Thanks in advance for helping.
there are a lot of off-the-shelf tools that will do this for you. check out the management & monitoring section of the "How To" page on the RMQ website and find one that works with your existing monitoring tools.
I can get number of current connections by counting elements in /api/connections, and If I want number of all connections from rabbitmq server start, what should I do?, please give me some suggestions
You can't get any retrospective statistics data from RabbitMQ even with Management API (at least out of the box).
As a workaround, you can collect such data with the help of rabbitmq_event_exchange Community Plugin and then process events on application level.
I was planning to use out or process distributed caching solution and I am trying infinispan hot rod protocol for this purpose. It performs quite well compare to other caching solutions but I feel it is taking more in network communication than expected.
We have 1000Mbps ethernet network and round trip time between client and server is around 200ms but infinispan hot rod protocol is taking around 7 seconds in transferring an object of size 30 MB from server to client. I feel that I need to do tcp tuning to reduce this time, can someone please suggest me how can I tune tcp to get best performance? On googling I found that send-buffer-size and receive -buffer-size can help in this case but I don't know how and where to set these properties. Can someone please help me in this regard.
Any help in this regard is highly appreciated.
Thanks,
Abhinav
By default, Hot Rod client and server enable TCP-no-delay, which is good for small objects. For bigger objects, such as your case, you might wanna disable it so that client/server can buffer and then send instead. For the client, when you construct RemoteCacheManager, try passing infinispan.client.hotrod.tcp_no_delay=false, and the server needs a similar configuration option too. How the server is configured depends on your Infinispan versions. If using the latest Infinispan 6.0.0 version, you'll have to go to the standalone.xml file and change the endpoint subsystem configuration so that hotrod-connector has tcp-nodelay attribute set to false. Send/receive buffers only apply when TCP-no-delay are disabled. These are also configurable via similar methods, but I'd only do that if you're not happy with the result once TCP-no-delay has been disabled.
I'm trying to monitor activemq Dequeued messages overtime and save them in Zenoss monitoring system.
I can see the Dequeued number in the control panel of activemq, however if I restart activemq, those numbers are reset.
What's the best way of capturing statistics?
Thanks
Due to the way it's designed, there's no way to recover that information after a restart.
I think your best bet would be to use a 3rd party monitoring tool (Nagios, Cacti, etc) to dump AMQ stats into (some even have AMQ plugins). These tools are designed for long term monitoring/charting/alerting of system resources and are pretty easy to hook up to AMQ...
My .net WCF service calls a SSIS package using the Package.Execute(); method.
After I call execute, I set pkg.Dispose() and app = null;
The memory usage keeps climbing, 100mb to 150mb all the way to almost 300mb.
I am recycling the process now, but want to know the source of the problem.
Any ideas?
Update
The application that calls the WCF service is on another server so there is no issue there.
Are you closing your host? Just using a using statement? what does the open/close code look like?
There are a number of ways to do this quite common task (diagnose memory leaks in w3wp work processes). Tess has a great "getting started" post here:
http://blogs.msdn.com/tess/archive/2008/05/21/debugdiag-1-1-or-windbg-which-one-should-i-use-and-how-do-i-gather-memory-dumps.aspx
Oisin
An increase in virtual memory is not necessarily a problem, and 300MB is not very much memory in any case. Does IIS recycle on its own? If not, then I suggest you leave it alone.
Are you running SSIS 05 or 08? I remember 05 having a known mem leak issue when called using the API.
HTH