I'm having a big problem with lsphp5.
Every few hours, dozens of lsphp5 processes accumulate without closing for sometime, which make server load jump over the roof (200 - 350 CPU load!).
This began on our Cpanel server, after we upgraded both LSWS to latatest 4.0.12 plus PHP latest 5.2.x series PHP 5.2.12
We've downgraded LSWS back to 4.0.11, but problem is not yet completely gone, only takes longer to show up.
We're using eaccelerator which we've set to use /dev/shm/eaccelerator
On LSWS settings We're also using;
Configuration -> Server - Cache;
with following settings;
Storage Path /backup/cache (using indepedent drive to minimize i/o on web server)
Max Object Size - 1024000
Cache Expire Time (seconds) - 120 secs
Configuration -> Server - External App;
with following settings;
Environment;
PHP_LSAPI_MAX_REQUESTS=50000
PHP_LSAPI_CHILDREN=100
LSAPI_MAX_IDLE_CHILDREN=60
Max Connections - 100
Instances - 1
Initial Request Timeout (secs) - 60
Persistent Connection - No
Connection Keepalive Timeout - 60
Max Idle Time - 3
We've to manually SSH into the server & do command;
killall lsphp5
to stop the crazy overload.
We have high traffic sites on the server, & all has been working perfectly well until 5 days ago when we did the two upgrades above.
Is this a compatibility issue between PHP 5.2.12 & eAccelerator?
George also suggests to check opcode cache on the server, what does this mean?
Or how do we check other opcode cache on the server?
Finally what is lshttpd process? Is it connected to lsphp5? Is it also supposed to close after a short time? We've noticed it showing as well along side the lsphp5, although it's only one process.
Please help? This is causing downtimes to the sites every day!
Every few hours, dozens of lsphp5 processes accumulate without closing for sometime, which make server load jump over the roof (200 - 350 CPU load!).
This began on our Cpanel server, after we upgraded both LSWS to latatest 4.0.12 plus PHP latest 5.2.x series PHP 5.2.12
We've downgraded LSWS back to 4.0.11, but problem is not yet completely gone, only takes longer to show up.
We're using eaccelerator which we've set to use /dev/shm/eaccelerator
On LSWS settings We're also using;
Configuration -> Server - Cache;
with following settings;
Storage Path /backup/cache (using indepedent drive to minimize i/o on web server)
Max Object Size - 1024000
Cache Expire Time (seconds) - 120 secs
Configuration -> Server - External App;
with following settings;
Environment;
PHP_LSAPI_MAX_REQUESTS=50000
PHP_LSAPI_CHILDREN=100
LSAPI_MAX_IDLE_CHILDREN=60
Max Connections - 100
Instances - 1
Initial Request Timeout (secs) - 60
Persistent Connection - No
Connection Keepalive Timeout - 60
Max Idle Time - 3
We've to manually SSH into the server & do command;
killall lsphp5
to stop the crazy overload.
We have high traffic sites on the server, & all has been working perfectly well until 5 days ago when we did the two upgrades above.
Is this a compatibility issue between PHP 5.2.12 & eAccelerator?
George also suggests to check opcode cache on the server, what does this mean?
Or how do we check other opcode cache on the server?
Finally what is lshttpd process? Is it connected to lsphp5? Is it also supposed to close after a short time? We've noticed it showing as well along side the lsphp5, although it's only one process.
Please help? This is causing downtimes to the sites every day!
Last edited: