I just changed file descriptor value on rabbitmq , now I want to update erlang processes too. Below is an image that might help to answer my question
According to the official Erlang documentation
the command line argument you are interested in is:
+P Number|legacy
Sets the maximum number of simultaneously existing processes for this system if a Number is passed as value.
Valid range for Number is [1024-134217727]
According to the RabbitMQ documentation , there is this environment variable RABBITMQ_SERVER_START_ARGS
where you can add that kind of parameters.
EDIT Open a shell prompt and try this:
RABBITMQ_SERVER_START_ARGS="+P 231072" rabbitmq-server
Whenever you find a setting that satisfy you, put this RABBITMQ_SERVER_START_ARGS="+P 231072"
in a the file /etc/rabbitmq/rabbitmq-env.conf
. If this file does not exist, just create it. Please note that the location for this file changes according to your installation. If you are using RabbitMQ from the tar.gz, probably you will have to create this file in $RABBITMQ_HOME/etc/rabbitmq/
Earlang process increased in a ratio with -ulimit
I'm giving this answer from Ubuntu server perspective.
Enter following command to open rabbitmq config. file
sudo nano /etc/default/rabbitmq-server
Update/Add and save it using Ctrl+x
-ulimit 126666
Restart your server
rabbitmqctl stop_app && rabbitmqctl start_app
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.