![]() |
[solved] Cpanel + LSAPI 6.0 + LSWS 4.2 Anomaly
is it true that LSAPI 6.0 using much more swap than LSAPI 5.5?
the left one is still using LSAPI 5.5 : http://imageshack.us/a/img221/2272/lsapi60.jpg Uploaded with ImageShack.us after using LSAPI 6.0 I have to raise up externall app >> lsphp5 >> memory soft/hard limit to at least 505 Mb to avoid randomly "Fatal error: Out of memory" change from "Run On Start Up" to "suEXEC daemon" are the same on result on memory cost. and for lsws 4.2, it cannot compile php 5.3.x through WHM while using it : http://imageshack.us/a/img17/2599/lsws42.jpg Uploaded with ImageShack.us so it force me to use LSWS 4.1.13 with LSAPI 6.0 until now. is there anyway I can recompile php using the old LSAPI 5.5? |
--pardon me, double post---
|
Quote:
/usr/local/lsws/admin/html/utility/build_php/buildconf.inc.php define ('LSAPI_VERSION', '6.0'); to define ('LSAPI_VERSION', '5.5'); |
Thanks Nitewave.
Unfortunatelly I cannot found define ('LSAPI_VERSION', '6.0'); on that file : PHP Code:
|
follow this (http://www.litespeedtech.com/support...ing_php_binary) to build matching php in lsws admin console. it should get you lsapi 5.5 in 4.1.13.
|
I do not think there is any change related to memory usage between lsapi 5.5 and 6.0 .
you have to test it on the same server with same PHP release. to get back to 5.5, you can manually download php-litespeed package and over write *.c and *.h under php-xxxx/sapi/litespeed, the run make, copy over php-xxxx/sapi/php to /usr/local/lsws/fcgi-bin/lsphp-5.xxx, you can keep both 5.5 and 6.0 binary, and switch between them with changing symbolic link of lsphp5. |
Thank you George.
But i cannot run make after overwrite *.c and *.h : Code:
root@rooted [/home/cpeasyapache/ls.src/php-5.2.17/sapi/litespeed]# make |
run make under php-xxxx/ directory.
|
thanks George, I will try it soon.
by the way using LSWS 4.2 -suEXEC daemon- new feature makes php login session suddenly throw out. I have got two complaints regarding to this. and as my 1st post, it using swap much even phisycal RAM space have enough space. I don't know what I am missing, but my two boxes bring the same behaviour about login session and force using swap. |
Quote:
Also for the swap usage, it means at one point that much swap was used (when there was no free memory). It does not mean your server is currently using swap while free memory still available. |
| All times are GMT -7. The time now is 04:27 AM. |