Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: cPanel out of memory errors  (Read 3427 times)

0 Members and 1 Guest are viewing this topic.

Haripriya H

  • Guest
cPanel out of memory errors
« on: December 14, 2013, 10:44:52 pm »
cPanel out of memory errors
===========================

Often it is noticed that some services in cPanel fails due to less memory. On checking the log file at /usr/local/cpanel/logs/error_log, you will find error message as follows:

============
Out of memory during request for 2180 bytes, total sbrk() is 130234368 bytes!
============

The first thing that will come to our mind is about the server's memory. Of course insufficient memory in the server can cause cPanel services to fail. Out of memory messages will be clearly indicated in '/var/log/dmesg' or in '/var/log/messages'.

But there is another parameter that we should check when cPanel services are failing due to less memory. You need to check the cPanel internal memory limit. You can check it through WHM -> Tweak Settings -> System -> Max cPanel process memory. You may increase it as desired.

The value can be changed from back-end as well. Check the parameter 'maxmem' in '/var/cpanel/ cpanel.config'.