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

Simon MacMullen simon at rabbitmq.com
Mon Sep 27 23:13:52 BST 2010


On 27/09/10 21:12, Alexandru Scvorţov wrote:
> Hi,
>
> There was a thread on this topic a few weeks back:
>   http://old.nabble.com/Config-File-Options-td29629339.html

However, assuming that Alcalino is looking to increase the maximum 
number of file handles available, that's not in the config file - it's a 
matter of tuning how many handles the OS makes available to Rabbit. On 
Linux, check the manpage for limits.conf - lines something like:

rabbitmq soft nofile <number>
rabbitmq hard nofile <number>

Cheers, Simon

>
> Following Matthew's advice in one of the top comments, here are some
> common options with their default values:
> 	{env,[{tcp_listeners,[{"0.0.0.0",5672}]},
> 	    {ssl_listeners,[]},
> 	    {ssl_options,[]},
> 	    {vm_memory_high_watermark,0.4},
> 	    {msg_store_index_module,rabbit_msg_store_ets_index},
> 	    {backing_queue_module,rabbit_variable_queue},
> 	    {persister_max_wrap_entries,500},
> 	    {persister_hibernate_after,10000},
> 	    {msg_store_file_size_limit,16777216},
> 	    {queue_index_max_journal_entries,262144},
> 	    {default_user,<<"guest">>},
> 	    {default_pass,<<"guest">>},
> 	    {default_user_is_admin,true},
> 	    {default_vhost,<<"/">>},
> 	    {default_permissions,[<<".*">>,<<".*">>,<<".*">>]},
> 	    {collect_statistics,none}]}
>
> Most of these are undocumented, so they could change/disappear at any time
> without warning.
>
> Cheers,
> Alex
>
> On Mon, Sep 27, 2010 at 12:38:15PM -0700, alcalino wrote:
>>
>> Hi all,
>>
>> I'm trying  to change the number of rabbitmq file handlers in order to tune
>> the broker. But i cannot find any list with the config file properties in
>> order t modify them. Please do you know which one is the config file key to
>> change the file handler parameter, sockets, available memory , etc? Thanks a
>> lot in advance , best regards.
>> --
>> View this message in context: http://old.nabble.com/Config-file-properties-to-change-file-handlers-tp29822132p29822132.html
>> Sent from the RabbitMQ mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
>> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
> _______________________________________________
> 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