KBEC-00379-Necessary Settings in CentOS When Running ElectricFlow in CentOS

Problem

You may get ERROR "OutOfMemoryError" after a while when running ElectricFlow server in CentOS. 

Solution

The cause of this may varies. However in CentOS, it is recommended to modify the settings in file "/etc/security/limits.d/90-nproc.conf". The default file looks like below:

# Default limit for number of user's processes to prevent
# accidental fork bombs.
# See rhbz #432903 for reasoning.

*          soft    nproc     1024
root       soft    nproc     unlimited 

It is recommended to modify it to following:

# Default limit for number of user's processes to prevent
# accidental fork bombs.
# See rhbz #432903 for reasoning.

*          soft    nproc     8192
root       soft    nproc     unlimited
*          soft    nofile    16384
*          hard    nofile    16384

 

 

Have more questions? Submit a request

Comments

Powered by Zendesk