Recently there are few of our server overloaded because of Softaculous.

Not sure what trigger the overload but reinstall the software seem managed to solve the issue.

We have install our server with process monitoring script. When ever there are many process running exceeded define volume the notification will be sent to our report email.

In this case our server load sky rocket from normal to 100 in a matter just seconds.

It this case our report will be look like this;

SERVER OVERLOAD: ‘svr56.com.com’ having process more than ‘11396’
SERVER OVERLOAD: ‘sifu.com.com’ having process more than ‘10472’

Report similar like ;

shafiq 1355850 0.0 0.0 144312 10952 ? S 15:24 0:00 /usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/index.live.php 49c2609a636a3a97d00ca61044239e8b
shafiq 1355852 0.0 0.0 144312 10952 ? S 15:24 0:00 /usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/index.live.php 0b8425de8f3b9268855a3bea26266d64
shafiq 1355854 0.0 0.0 144312 10948 ? S 15:24 0:00 /usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/index.live.php 9eef96ede0c95373355fe2d7a1ec2923
shafiq 1355856 0.0 0.0 144312 10948 ? S 15:24 0:00 /usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/index.live.php d124777156229ad549114a2e97296cfa

unidustr 79433 0.0 0.0 144312 5544 ? S 15:32 0:00 /usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/index.live.php 8f5ee467a84393bbd8a0cc3dae340071
unidustr 79435 0.0 0.0 144312 5552 ? S 15:32 0:00 /usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/index.live.php df456ff6bcfc9d932586216279a8b63f
unidustr 79439 0.0 0.0 144312 5544 ? S 15:32 0:00 /usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/index.live.php c841bd3f41f95dacc8aed5c7059e580c
unidustr 79441 0.0 0.0 144312 5548 ? S 15:32 0:00 /usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/index.live.php cd873125ef0043106a2e6948a2b52b4f

What we do first is to rename Softaculous folder.

mv /usr/local/cpanel/whostmgr/docroot/cgi/softaculous /usr/local/cpanel/whostmgr/docroot/cgi/softaculousx

Then install again Softaculous

wget -N http://files.softaculous.com/install.sh
chmod 755 install.sh
./install.sh

The last steps is to copy configuration file from last setting.

mv /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/categories.ser /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/categories.serx
mv /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/iscripts.php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/iscripts.phpx
mv /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/universal.php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/universal.phpx

cp /usr/local/cpanel/whostmgr/docroot/cgi/softaculousx/enduser/categories.ser /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/categories.ser
cp /usr/local/cpanel/whostmgr/docroot/cgi/softaculousx/enduser/iscripts.php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/iscripts.php
cp /usr/local/cpanel/whostmgr/docroot/cgi/softaculousx/enduser/universal.php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/universal.php

The server no longer have overload issue with Softaculous.

 

Leave a Reply

Your email address will not be published. Required fields are marked *