ERROR : Cannot allocate memory: couldn’t create child process: /opt/suphp/sbin/suphp


Login to WHM using root password and check whether cloudlinux is installed on the server.  Check cloudlinux whether resource limit is reached for the user and  increase the memory limit for the user in cloudlinux.

On the first look, we should check the Apache conf for any memory limits set  in the Apache configuration file.  You can check this using the below command

# grep RLimitMEM /usr/local/apache/conf/httpd.conf

If you are seeing any result like the below one,  try disabling or removing the line in the httpd.conf file, and restarting Apache.

 

RLimitMEM 149339477

After that , if the issue is fixed then run the Apache distiller to preserve the change.

In My case, this was not due to the above limitation. This server had Cloudlinux installed and to fix I need to increase the memory limit for this user from LVE manager in WHM.

Home »
Server Configuration »
CloudLinux LVE Manager »

Click  [Edit Settings For Specific LVE]

Enter the username and increase the memory limit and save.

As a permanent fix it is always good to track the plugin / component which is causing the heavy memory usage and tweak them with the help of a developer.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Como restaurar Key en CloudLinux

A veces no aparece el cloudLinux en la consola principal.... porque se pierde la llave, ...

No response from subprocess exit 0

Sale:  No response from subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/CloudLinux.cgi)...

Como instalar CloudLinux

It is easy to switch cPanel server from CentOS 5.x or 6.x to CloudLinux. The process takes a...

Desinstalar Cloud Linux

Uninstalling CloudLinux is a fairly involved process, as the CloudLinux repos ship...

Abreviaturas de CloudLunux LVE

Output ID LVE Id or username aCPU Average CPU usage mCPU...