restart

Status
Not open for further replies.

mistwang

LiteSpeed Staff
#2
Will a refresh fix this? Does it happen on fixed time every day? or during the peak hour?
Please check the error_log and stderr.log under /usr/local/apache/logs see if any thing related get logged by the time the problem happen.
 

xpertcl

Active Member
#3
yes

2008-08-08 21:58:21.473 [INFO] [72.81.251.111:51058-0#APVH_nkut.com] Connection idle time: 121 while in state: 5 watching for event: 25,close!
2008-08-08 21:58:21.473 [NOTICE] [72.81.251.111:51058-0#APVH_nkut.com] Content len: 480, Request line:
2008-08-08 21:58:21.473 [NOTICE] [72.81.251.111:51058-0#APVH_nkut.com] Redirect: #1, URL: /index.php
2008-08-08 21:58:21.473 [INFO] [72.81.251.111:51058-0#APVH_nkut.com] HttpExtConnector state: 8, request body sent: 480, response body size: 0, response body sent:0, left in buff
er: 0, attempts: 3.
2008-08-08 21:58:25.033 [INFO] [121.245.161.18:4882-0#APVH_nkut.com] ExtConn timed out while processing.
2008-08-08 21:58:25.033 [INFO] [121.245.161.18:4882-0#APVH_nkut.com] connection to [uds://tmp/lshttpd/APVH_nkut.com_Suphp.sock] on request #0, error: Connection timed out!

and restart fixes the issue. It happens any time of the day.
 

mistwang

LiteSpeed Staff
#4
Looks like a PHP-MySQL problem if /index.php need to pull data from MySQL, Please try turn off PHP-MySQL persistent connection if it is enabled. If you use mmcache, need to investigate mmcached connection as well.
 

xpertcl

Active Member
#5
check

Looks like a PHP-MySQL problem if /index.php need to pull data from MySQL, Please try turn off PHP-MySQL persistent connection if it is enabled. If you use mmcache, need to investigate mmcached connection as well.

The server does not use mmcache. About persistent mysql connections, this is a setting in our phpfox script, so you need to check that setting urself .

i am using phpfox script

www.phpfox.com
 

xpertcl

Active Member
#8
lost

i ve already lost my users and traffic just coz of dis issue plz fix dis issue or let me knw if u cant so i will switch to apache.... otherwise i will lose all my users
 

mistwang

LiteSpeed Staff
#9
which version of mysql server is used? phpinfo shows that mysql client lib 4.1.22 is used, you should build PHP with 5.0.x client if mysql server 5.0 is used.

I will try to login to the server and take a look today, please make sure to have the ssh and LSWS web console access available to us.
 

mistwang

LiteSpeed Staff
#10
Have spent some time checking the server. found the following PHP issues:

php.ini does match PHP version, php.ini is for php5, but PHP4 is actually used, got many error messages in /usr/local/apache/logs/stderr.log, should be fixed. Some features of your site may depends on those PHP modules, may need to build those modules.

Got following PHP errors
tail -10000 error_log.old | grep STDERR
2008-08-18 15:08:32.158 [NOTICE] [59.164.98.94:29000-0#APVH_tamil.nkut.com] [STDERR] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/tamilnk/public_html/wp-includes/post.php on line 2880
2008-08-18 15:10:16.193 [NOTICE] [59.164.98.94:29475-0#APVH_tamil.nkut.com] [STDERR] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/tamilnk/public_html/wp-includes/post.php on line 2880
2008-08-18 21:50:04.830 [NOTICE] [122.164.84.45:3466-0#APVH_tamil.nkut.com] [STDERR] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/tamilnk/public_html/wp-includes/post.php on line 2880
2008-08-18 22:27:16.822 [NOTICE] [72.46.126.117:55931-0#APVH_tamil.nkut.com] [STDERR] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/tamilnk/public_html/wp-includes/cache.php on line 310
Maybe caused by bad PHP code or something, I have update php.ini "max_execution_time" to "3" seconds, it should help, but you still need to find out why it happen.
 

xpertcl

Active Member
#11
root

which version of mysql server is used? phpinfo shows that mysql client lib 4.1.22 is used, you should build PHP with 5.0.x client if mysql server 5.0 is used.

I will try to login to the server and take a look today, please make sure to have the ssh and LSWS web console access available to us.

i m using
PHP Version: 4.4.8
MySQL Version: 4.1.22-standard-log


and i already gave u root access.
pm me if u need it again
 

xpertcl

Active Member
#13
eerror

Have spent some time checking the server. found the following PHP issues:

php.ini does match PHP version, php.ini is for php5, but PHP4 is actually used, got many error messages in /usr/local/apache/logs/stderr.log, should be fixed. Some features of your site may depends on those PHP modules, may need to build those modules.

Got following PHP errors


Maybe caused by bad PHP code or something, I have update php.ini "max_execution_time" to "3" seconds, it should help, but you still need to find out why it happen.

all dese log file showing errors in tamil.nkut.com (wordpress) i can remove dis subdomian from dis server my main site is nkut.com. we can move tamil.nkut.com from dis server .

and wht shud i need to do to fix dis issue cmpltly .
 

mistwang

LiteSpeed Staff
#14
It is a good idea to move it to another server. At least it won't affect this main server.

I don't know how to fix it as it is likely either bad PHP code or PHP internal bug. reduce "max_execution_time" in php.ini may make the PHP process recover more quickly. That's the best I can do about it.
 

mistwang

LiteSpeed Staff
#16
grep timed error_log
2008-08-19 05:02:18.004 [INFO] [15.219.201.75:47282-0#APVH_tamil.nkut.com] ExtConn timed out while processing.
2008-08-19 05:02:18.004 [INFO] [15.219.201.75:47282-0#APVH_tamil.nkut.com] connection to [uds://tmp/lshttpd/APVH_tamil.nkut.com_Suphp.sock] on request #0, error: Connection timed out!
[root@host /usr/local/apache/logs]# date
Tue Aug 19 05:04:42 IST 2008
[root@host /usr/local/apache/logs]# grep PHP error_log
2008-08-19 03:51:55.177 [NOTICE] [123.236.69.27:1085-0#APVH_tamil.nkut.com] [STDERR] PHP Fatal error: Maximum execution time of 3 seconds exceeded in /home/tamilnk/public_html/wp-includes/post.php on line 2880
2008-08-19 04:47:36.128 [NOTICE] [65.55.208.20:21800-0#APVH_tamil.nkut.com] [STDERR] PHP Fatal error: Maximum execution time of 3 seconds exceeded in /home/tamilnk/public_html/wp-includes/post.php on line 2880
2008-08-19 05:01:18.644 [NOTICE] [15.219.201.75:47282-0#APVH_tamil.nkut.com] [STDERR] PHP Fatal error: Maximum execution time of 3 seconds exceeded in /home/tamilnk/public_html/wp-includes/post.php on line 2880
2008-08-19 05:02:31.541 [NOTICE] [15.219.201.75:47282-0#APVH_tamil.nkut.com] [STDERR] PHP Fatal error: Maximum execution time of 3 seconds exceeded in /home/tamilnk/public_html/wp-includes/taxonomy.php on line 1757
You should implement what I have suggested already. I can only take another look after those have been addressed.
 

mistwang

LiteSpeed Staff
#17
Looks like your site cannot move to another server.
looks like it is a wordpress blog, the default wordpress installation does not have this problem, you may want to check which WP plugin causing the problem? Update it to the latest release, etc. Trouble shooting this kind of problem is beyond the scope of our support.

If you have to host it on the same server, you may want to create a dedicate user account for that site, so it will have its own group of PHP processes running as that user id. This way, it will not affect other sites as badly. That's the beauty of PHP suEXEC in LSWS.
 

xpertcl

Active Member
#18
removed

Looks like your site cannot move to another server.
looks like it is a wordpress blog, the default wordpress installation does not have this problem, you may want to check which WP plugin causing the problem? Update it to the latest release, etc. Trouble shooting this kind of problem is beyond the scope of our support.

If you have to host it on the same server, you may want to create a dedicate user account for that site, so it will have its own group of PHP processes running as that user id. This way, it will not affect other sites as badly. That's the beauty of PHP suEXEC in LSWS.
i m facing same issue after removing word press cmpltly from dis server

i already removed tamil.nkut from dis server
 
Status
Not open for further replies.
Top