[rabbitmq-discuss] Config file properties to change file handlers

Matthew Sackman matthew at rabbitmq.com
Mon Sep 27 22:18:55 BST 2010


On Mon, Sep 27, 2010 at 09:12:34PM +0100, Alexandru Scvorţov wrote:
> There was a thread on this topic a few weeks back:
>  http://old.nabble.com/Config-File-Options-td29629339.html

Err yes, and none of those have anything to do with file descriptors.

Rabbit detects via ulimit what the current limit is for file
descriptors. There are ways of overriding that, but it's unlikely that's
ever a good idea. What platform are you on? If it's OS X or any linux,
you should configure this via ulimit. If it's Windows, then
unfortunately, due to the Erlang windows port using the windows C
runtime, it's limited to 512 - see
http://msdn.microsoft.com/en-us/library/6e3b887c%28VS.80%29.aspx, which
is unfortunate because a) it's very low, and b) actually, windows is
perfectly happy to large numbers, like 16m -
http://blogs.technet.com/markrussinovich/archive/2009/09/29/3283844.aspx
- it's just that the windows C runtime doesn't support that.

Matthew


More information about the rabbitmq-discuss mailing list