LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > restart

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 08-15-2008, 11:51 PM
xpertcl xpertcl is offline
Member
 
Join Date: Aug 2008
Posts: 32
Default restart

my site getting blank for 1 sec once or twice a day or u can say my lighhttp restart automatically even I have already increased the number of processes for php to 200 but still my site has issues. So this needs to be checked out by Litespeed support.

smthing like dis issue

http://www.litespeedtech.com/support...hlight=restart

Last edited by xpertcl; 08-16-2008 at 09:04 AM..
  #2  
Old 08-16-2008, 09:54 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 6,646
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.
  #3  
Old 08-16-2008, 10:47 PM
xpertcl xpertcl is offline
Member
 
Join Date: Aug 2008
Posts: 32
Default 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.
  #4  
Old 08-17-2008, 04:23 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 6,646
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.
  #5  
Old 08-17-2008, 11:37 AM
xpertcl xpertcl is offline
Member
 
Join Date: Aug 2008
Posts: 32
Default check

Quote:
Originally Posted by mistwang View Post
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
  #6  
Old 08-17-2008, 12:55 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 6,646
Just make sure mysql persistent connection is turned off in php.ini
  #7  
Old 08-17-2008, 08:27 PM
xpertcl xpertcl is offline
Member
 
Join Date: Aug 2008
Posts: 32
Default check

Quote:
Originally Posted by mistwang View Post
Just make sure mysql persistent connection is turned off in php.ini

That setting is already off on the server. http://www.nkut.com/info.php shows

mysql.allow_persistent Off Off

Please recheck.
  #8  
Old 08-18-2008, 07:44 AM
xpertcl xpertcl is offline
Member
 
Join Date: Aug 2008
Posts: 32
Default 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
  #9  
Old 08-18-2008, 09:38 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 6,646
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.
  #10  
Old 08-18-2008, 12:28 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 6,646
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
Quote:
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.
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:54 PM.



- Archive - Top
© Copyright 2003-2007 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.