![]() |
[solved] APC goes crazy under LSWS 4.1.10 & 4.1.11
A while ago I had to disable APC for PHP as it was resetting every minute or two. It's only now that I've traced it to an LSWS update.
The details: 1) I'm using the 32-bit version and the bug is there both in the Standard and Enterprise editions. 2) PHP 5.3.8 with APC enabled works normally under 4.1.9, APC goes nuts if I upgrade to 4.1.10 or 4.1.11. 3) Compiling PHP 5.3.10 and switching to it under LSWS 4.1.11 does not help - APC still crashes. Please help :). |
what do you mean by APC crashes? anything in error log? is this shared hosting or dedicated?
|
Quote:
|
|
Quote:
|
following output will help:
#pstree -p #ps -ef|grep lsphp5 |
Quote:
Code:
init(1)-+-agetty(1563)#ps -ef|grep lsphp5 Code:
ec2-user 24476 24389 0 11:55 pts/0 00:00:00 grep lsphp5 |
The above was on LSWS 4.1.11 with PHP 5.3.10 compiled which included Suhosin, APC, memcache and eAccelerator extensions (though only Suhosin + APC were enabled at the time).
I have also tried enabling eAccelerator and the same thing happens to eAccelerator cache - it resets every few minutes. |
just noticed that there were no lsphp processes in the output above given that this is not a production box, here it is again with me frantically clicking through the pages of a test site:
Code:
|-litespeed(24425)-+-httpd(24426)Code:
ec2-user 24481 24427 2 11:59 ? 00:00:02 lsphp5 |
lsphp5 is there running as ec2-user. is this shared hosting or dedicated environment (PHP suEXEC yes or no)? ls LSWS running as ec2-user?
|
| All times are GMT -7. The time now is 11:17 PM. |