Friday, August 21, 2009

Unable to add package on cpanel as user

Unable to add package on cpanel as user and getting following error "an error occured while processing this dirctive"

============
Cpanel Package creation problem : Attempt to free unreferenced scalar
Posted on August 19th, 2009 Admin No comments

while creating packages for the reseller via reseller WHM we were getting blank page and it appears that the packages were not getting created. After looking into the CPanel error logs in /usr/local/cpanel/logs/error_log the following error was reported.

(internal warning while parsing [stdin]) Wed Aug 193 13:21:08 2009 [94568] warn: Attempt to free unreferenced scalar.

Solution

WHM -> Server Configuration -> Tweak Settings Choose the setting for:

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.

The settings had 256M there by default, and increasing the value to 1024 MB helped. The server Server had 4G RAM, so the value of 1024M was fine here.

==================

Set memory to 512

No comments:

Post a Comment