|
|

08-11-2011, 12:02 PM
|
|
Senior Member
|
|
Join Date: Apr 2009
Posts: 160
|
|
getting tons of 503 errors
customers are complaining lot of 503 errors , thought upgrading cpu lisense will get rid of it , but no still errors continues, i checked logs and found lot of these type of errors :-
Code:
[70.37.109.5:62477-0#APVH_mysite.com] No request delivery notification has been received from LSAPI process group [12376], possible run away process.
2011-08-11 05:51:28.026 INFO [70.37.109.5:62477-0#APVH_mysite.com] connection to [/tmp/lshttpd/lsphp5.sock] on request #0, confirmed, 0, associated process: 12376, running: 1, error: Connection timed out!
2011-08-11 05:51:28.026 NOTICE [70.37.109.5:62477-0#APVH_mysite.com] Suspicious request timeout, associated process: 12376, running: 1.
2011-08-11 05:51:28.026 NOTICE [70.37.109.5:62477-0#APVH_mysite.com] Max retries has been reached, 503!
2011-08-11 05:51:28.026 NOTICE [122.54.178.115:39385-0#APVH_mysite.com] No request delivery notification has been received from LSAPI process group [12376], possible run away process.
2011-08-11 05:51:28.026 NOTICE [122.54.178.115:39385-0#APVH_mysite.com] Retry with new process group.
another type error in logs :-
Code:
[67.215.248.244:47840-0#APVH_mysite.mysite.com] connection to [/tmp/lshttpd/lsphp5.sock] on request #0, confirmed, 0, associated process: 12376, running: 1, error: Resource temporarily unavailable!
Code:
[70.37.60.245:49608-0#APVH_site.net] POST request in process stage, fail with 503
Last edited by bhanuprasad1981; 08-11-2011 at 12:05 PM..
|

08-11-2011, 12:08 PM
|
|
LiteSpeed Staff
|
|
Join Date: Oct 2010
Posts: 2,390
|
|
this is likely a PHP code problem that crashes LSPHP process. you may want to check stderr.log and/or run the php script from command line to narrow down the code issue.
Quote:
2011-08-11 05:51:28.026 INFO [70.37.109.5:62477-0#APVH_mysite.com] connection to [/tmp/lshttpd/lsphp5.sock] on request #0, confirmed, 0, associated process: 12376, running: 1, error: Connection timed out!
2011-08-11 05:51:28.026 NOTICE [70.37.109.5:62477-0#APVH_mysite.com] Suspicious request timeout, associated process: 12376, running: 1.
2011-08-11 05:51:28.026 NOTICE [70.37.109.5:62477-0#APVH_mysite.com] Max retries has been reached, 503!
|
|

08-11-2011, 12:12 PM
|
|
LiteSpeed Staff
|
|
Join Date: Oct 2010
Posts: 2,390
|
|
please increase lsphp5 (external app) process limit.
Quote:
Originally Posted by bhanuprasad1981
another type error in logs :-
Code:
[67.215.248.244:47840-0#APVH_mysite.mysite.com] connection to [/tmp/lshttpd/lsphp5.sock] on request #0, confirmed, 0, associated process: 12376, running: 1, error: Resource temporarily unavailable!
|
|

08-11-2011, 12:17 PM
|
|
Senior Member
|
|
Join Date: Apr 2009
Posts: 160
|
|
Quote:
Originally Posted by webizen
this is likely a PHP code problem that crashes LSPHP process. you may want to check stderr.log and/or run the php script from command line to narrow down the code issue.
|
its not for one site but many sites all are vbulletin sites, any how as per you other reply i have increased process limit a bit
before soft 200 now 300
before hard 300 now 400
hope it works
|

08-11-2011, 12:43 PM
|
|
Senior Member
|
|
Join Date: Apr 2009
Posts: 160
|
|
|
also i am failing to install / activate xcache on server, installing xcache regular way way is not working , if i try compile php using litespeed admin option , i am missing too many modules like ionciube, mysql etc please help , i cant even pm you .
|

08-11-2011, 03:15 PM
|
|
LiteSpeed Staff
|
|
Join Date: Oct 2010
Posts: 2,390
|
|
if install xcache from source (http://xcache.lighttpd.net/wiki/InstallFromSource) and build shared module (.so file), you need to specify correct path to phpize (for lsphp5, it is usually /usr/local/lsws/lsphp5/bin/phpize). to activate, run
Quote:
cat xcache.ini >> /path/to/php.ini (e.g. /usr/local/lsws/lsphp5/lib/php/php.ini)
service lsws restart
|
if compile php with lsws admin cp, you need to '--with-mysql' compilation option for mysql.
for ioncube module, just download from http://www.ioncube.com/loaders.php and add entry in php.ini
Quote:
|
zend_extension="/path/to/ioncube_loader_lin_x.x.so"
|
|

08-11-2011, 08:15 PM
|
|
Senior Member
|
|
Join Date: Apr 2009
Posts: 160
|
|
i see in phpinfo, these are php configure when i use match php option :-
Code:
'./configure' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-libxml' '--enable-mbstring' '--enable-pdo=shared' '--enable-sockets' '--prefix=/usr/local' '--with-curl=/opt/curlssl/' '--with-gd' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libdir=lib64' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli=/usr/bin/mysql_config' '--with-openssl=/usr' '--with-openssl-dir=/usr' '--with-pcre-regex=/opt/pcre' '--with-pdo-mysql=shared' '--with-pdo-sqlite=shared' '--with-pic' '--with-png-dir=/usr' '--with-sqlite=shared' '--with-xpm-dir=/usr' '--with-zlib' '--with-zlib-dir=/usr' '--with-litespeed'
when i try to compile directly using litespeed i only see these :-
Code:
--with-mysqli --with-zlib --with-gd --enable-shmop --enable-track-vars --enable-sockets --enable-sysvsem --enable-sysvshm --enable-magic-quotes --enable-mbstring --with-iconv
|

08-11-2011, 09:24 PM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,297
|
|
Quote:
|
when i try to compile directly using litespeed i only see these :-
|
those are default options, change them to match php option, and check XCache option. so you can build matching php at lsws admin console.
|

08-12-2011, 01:01 AM
|
|
Senior Member
|
|
Join Date: Apr 2009
Posts: 160
|
|
can i use this command
Code:
--with-mysql=/usr --with-mysql-sock=/var/lib/mysql/mysql.sock --with-mysqli --with-zlib --with-gd --enable-shmop --enable-track-vars --enable-sockets --enable-sysvsem --enable-sysvshm --enable-magic-quotes --enable-mbstring --with-iconv --enable-bcmath --enable-calendar --enable-ftp --enable-libxml --enable-pdo=shared --with-curl=/opt/curlssl/ --with-imap=/opt/php_with_imap_client/ --with-imap-ssl=/usr --with-jpeg-dir=/usr --with-kerberos --with-libdir=lib64 --with-libxml-dir=/opt/xml2/ --with-mcrypt=/opt/libmcrypt/ --with-openssl=/usr --with-openssl-dir=/usr --with-pcre-regex=/opt/pcre --with-pdo-mysql=shared --with-pdo-sqlite=shared --with-pic --with-png-dir=/usr --with-sqlite=shared --with-xpm-dir=/usr --with-zlib --with-zlib-dir=/usr --with-litespeed
|

08-12-2011, 02:23 AM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,297
|
|
|
looks ok.
maybe use original
--with-mysqli=/usr/bin/mysql_config
than
--with-mysqli
is better or either is ok.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 04:34 AM.
|
|