UnixServerAdmin

Server Administration & Management

Awstats “update now” button shows blank page and cpanel error log shows “Out of Memory”

The cPanel error logs shows Out of Memory! when you click the “update now” button in Awstats. This usually happens when cPanel’s php is set with low memory. But in most of the cases this is not the issue.

Go to WHM –> Tweak Settings –> “The maximum memory a cPanel process can use before it is killed off (in megabytes). Values less than 128 megabytes can not be specified. A value of “0? will disable the memory limits.”

Set this to 0 or a higher value..

In the Awstats case, the cPanel processes memory is getting exhausted.

This can be done also by editing the file

# vi /var/cpanel/cpanel.config

maxmem=0

# /usr/local/cpanel/whostmgr/bin/whostmgr2 –updatetweaksettings

 

Advertisements

July 3, 2011 Posted by | cPanel | , | Leave a comment