|
|
| Author |
Message |
|
| Guest |
Posted: Sat Oct 17, 2009 1:17 pm |
|
|
|
Guest
|
|
| Back to top |
|
| Guest |
Posted: Tue Oct 20, 2009 5:44 am |
|
|
|
Guest
|
Allen,
Allen Jones wrote:
> I am running RMQ 1.6 as a Windows Service on Windows Server 2008 sp1.
> Generally things are fine, but there have been a few instances where the
> service just stops/crashes. The debug info for one recent crash is
> pasted below. Looks like some kind of memory allocation problem, but it
> doesn't seem to be happening necessarily when the exchange is under the
> highest usage/demand, or when the queues are at the largest.
> [...]
> binary_alloc: Cannot allocate 319762309 bytes of memory (of type "binary").
> [...]
> Having a look around, I noticed that the rabbit_persister.log file was
> about this size, so I am assuming the two are related.
It looks like the amount of message data you are asking RabbitMQ to hold
on to exceeds the available memory.
I recommend running 'rabbitmqctl list_queues' to check on how many
messages you have in the queues.
Regards,
Matthias.
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Tue Oct 20, 2009 6:32 am |
|
|
|
Guest
|
Allen,
Allen Jones wrote:
> That was my assumption. I have changed my approach to messaging and have
> dramatically reduced the amount of data I am pushing through RMQ. So I seem
> to have solved the problem.
Pushing lots of data through rabbit shouldn't be a problem; it's when
rabbit has to *buffer/store* lots of data - because either there are no
consumers or they are too slow - that memory consumption becomes an issue.
> I was finding it near impossible to find any info on the mnesia database
> that RMQ uses. Do you know of anything useful.
Try http://www.erlang.org/doc/apps/mnesia/part_frame.html
Note that RabbitMQ only stores routing and configuration information in
mnesia. Messages are stored separately, using custom code.
Regards,
Matthias.
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|