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

Problem

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

NOTE  - the CentOS operating system is not officially supported, but being based on the RHEL system, has been seen to function safely in a number of customer locations.

Solution

The cause of this may vary. However in CentOS, it is recommended to modify the settings inside file: "/etc/security/limits.d/90-nproc.conf". The default file appears as follows:

# 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 this section to the 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