Proxy Site and LiteSpeed

vivek

Well-Known Member
#1
Hello

One of our user is hosted a proxy on our server and it causues "SERVER BUSY" error message for almost every domains on the server.

The logs are



2008-03-03 10:25:40.103 [INFO] [60.223.245.37:1960-0#APVH_s10.inla.in] connection to [uds://tmp/lshttpd/lsphp4.sock] on request #0, error: Resource temporarily unavailable!
2008-03-03 10:25:40.176 [INFO] [HTAccess] Updating configuration from [/home/dzulcarn/public_html/.htaccess]
2008-03-03 10:25:40.176 [INFO] [60.223.245.37:1960-0#APVH_s10.inla.in] connection to [uds://tmp/lshttpd/lsphp4.sock] on request #0, error: Resource temporarily unavailable!
2008-03-03 10:25:40.495 [INFO] [60.223.245.37:1960-0#APVH_s10.inla.in] connection to [uds://tmp/lshttpd/lsphp4.sock] on request #0, error: Resource temporarily unavailable!
2008-03-03 10:25:40.905 [INFO] [60.223.245.37:1960-0#APVH_s10.inla.in] connection to [uds://tmp/lshttpd/lsphp4.sock] on request #0, error: Resource temporarily unavailable!
2008-03-03 10:25:41.058 [INFO] [60.223.245.37:1960-0#APVH_s10.inla.in] connection to [uds://tmp/lshttpd/lsphp4.sock] on request #0, error: Resource temporarily unavailable!
2008-03-03 10:25:42.021 [INFO] [60.223.245.37:1960-0#APVH_s10.inla.in] connection to [uds://tmp/lshttpd/lsphp4.sock] on request #0, error: Resource temporarily unavailable!
2008-03-03 10:25:42.058 [INFO] [60.223.245.37:1960-0#APVH_s10.inla.in] connection to [uds://tmp/lshttpd/lsphp4.sock] on request #0, error: Resource temporarily unavailable!
2008-03-03 10:25:42.070 [INFO] [60.223.245.37:1960-0#APVH_s10.inla.in] connection to [uds://tmp/lshttpd/lsphp4.sock] on request #0, error: Resource temporarily unavailable!
2008-03-03 10:25:42.137 [INFO] [60.223.245.37:1960-0#APVH_s10.inla.in] connection to [uds://tmp/lshttpd/lsphp4.sock] on request #0, error: Resource temporarily unavailable!
2008-03-03 10:25:43.054 [INFO] [60.223.245.37:1960-0#APVH_s10.inla.in] connection to [uds://tmp/lshttpd/lsphp4.sock] on request #0, error: Resource temporarily unavailable!
2008-03-03 10:25:43.129 [INFO]



Why litespeed cant manage a single proxy site ? Do I need to tune the litespeed settings ? Where ?

Vivek
 

mistwang

LiteSpeed Staff
#2
If you use PHP suEXEC, one busy site will not affect the others. Otherwise, all websites share the same group PHP processes.

Your problem is like you have mis-configured the lsphp4 application. set "Max connections" way too high without increasing "PHP_LSAPI_CHILDREN" according. You need to read the documentation carefully before making configuration changes at will. ;)

For you case, I recommend PHP suEXEC.
 
Top