[rabbitmq-discuss] RabbitMQ binary uses a ton of memory

Jervis Liu jervisliu at gmail.com
Sat Jan 5 05:33:43 GMT 2013


The default value on my system is:

cat  /proc/sys/net/ipv4/tcp_rmem
4096    87380   4194304

This is indeed inline with what I have observed, i..e, each connection
takes about 87K memory.

Thanks!
Jervis

On Thu, Jan 3, 2013 at 9:51 AM, Jerry Kuch <jerryk at rbcon.com> wrote:
> Jervis:
>
> Also, since you're on Linux, IIRC, you can check out:
>
> /proc/sys/net/ipv4/tcp_rmem
> /proc/sys/net/ipv4/tcp_wmem
>
> (or very similar to those paths, poke around /proc a bit and you should find
> them).
>
> Those should reveal the minimum, default and maximum memory size values that
> Linux is going to choose/allow for these buffers.  Informed by those
> numbers, you can fiddle with your tcp_listen_options as Matthias suggests.
>
> Best regards,
> Jerry
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>


More information about the rabbitmq-discuss mailing list