View Full Version : restart
xpertcl
08-15-2008, 11:51 PM
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/forum/showthread.php?t=2203&highlight=restart
mistwang
08-16-2008, 09:54 PM
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
08-16-2008, 10:47 PM
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
08-17-2008, 04:23 AM
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
08-17-2008, 11:37 AM
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
mistwang
08-17-2008, 12:55 PM
Just make sure mysql persistent connection is turned off in php.ini
xpertcl
08-17-2008, 08:27 PM
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.
xpertcl
08-18-2008, 07:44 AM
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
08-18-2008, 09:38 AM
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
08-18-2008, 12:28 PM
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
08-18-2008, 01:11 PM
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
mistwang
08-18-2008, 01:31 PM
See my previous post for the result of the investigation.
xpertcl
08-18-2008, 01:39 PM
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
08-18-2008, 01:45 PM
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.
xpertcl
08-18-2008, 04:16 PM
it hppnd again.... plz let me knw wht shud i do to fix it ....
mistwang
08-18-2008, 04:39 PM
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
08-19-2008, 10:24 AM
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
08-19-2008, 10:43 PM
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
mistwang
08-20-2008, 07:02 AM
Has another PHP problem been addressed yet?
xpertcl
08-20-2008, 07:04 AM
Has another PHP problem been addressed yet?
still same issue.. restarting issue..
mistwang
08-20-2008, 07:13 AM
still same issue.. restarting issue..
Please answer my question. Has the php.ini issue has been addressed or not?
xpertcl
08-20-2008, 07:40 AM
Please answer my question. Has the php.ini issue has been addressed or not?
The max_execution time has been raised already.
and i removed tamil.nkut from dis server now wht more u want me to do even u can do urself anything with php.ini to fix dis issue .. i ve already gave u my root password
mistwang
08-20-2008, 08:16 AM
The max_execution time has been raised already.
and i removed tamil.nkut from dis server now wht more u want me to do
The php.ini try to load some PHP5 modules, has that been fixed, has /usr/local/apache/logs/stderr.log stopped complaining about missing modules?
even u can do urself anything with php.ini to fix dis issue .. i ve already gave u my root password
Please remember that our free support service is just for trouble shooting assistance, not going to take care of everything for you. Our dedicate support service is available at http://www.litespeedtech.com/support/services/.
You should ask your support to address those problems that we have help you identified.
mistwang
08-20-2008, 09:03 AM
still same issue.. restarting issue..
Please record the time when you have the problem. The log file shows only one restart after removing that site
2008-08-20 06:18:35.110 [NOTICE] Server Restart Request via Signal...
And the log file looks normal before the restart. If you need to restart the server in order to fix any thing, please keep a copy of the access log file under /usr/local/apache/domlogs for investigation.
xpertcl
08-20-2008, 11:32 AM
Please record the time when you have the problem. The log file shows only one restart after removing that site
And the log file looks normal before the restart. If you need to restart the server in order to fix any thing, please keep a copy of the access log file under /usr/local/apache/domlogs for investigation.
2 min back .... it restarted again ...
mistwang
08-20-2008, 01:27 PM
2 min back .... it restarted again ...
What is the base of your conclusion that it restarted again? The log does not show any restart, and the PID of lshttpd process did not change.
xpertcl
08-20-2008, 06:05 PM
What is the base of your conclusion that it restarted again? The log does not show any restart, and the PID of lshttpd process did not change.
it reset my online users to 0 from 30 plus and den users need to refresh dere page den it increase the users online data in next 1 or 2 mins
maybe your counting of online users is just wrong? how do you store the online-user data that it depends on the server not restarting?
xpertcl
08-21-2008, 08:13 AM
What is the base of your conclusion that it restarted again? The log does not show any restart, and the PID of lshttpd process did not change.
IST 20:43 Restarted Again
Check log files
mistwang
08-21-2008, 07:25 PM
Restart will not affect the count of online users whatsoever. Restarting the web server by an admin does not mean there is an error, it may be due to configuration updates.
We can only investigate server downtime, page loading errors, etc. If you have an URL that can be used to reproduce a problem persistently, we will take a closer look.
xpertcl
08-21-2008, 07:37 PM
Restart will not affect the count of online users whatsoever. Restarting the web server by an admin does not mean there is an error, it may be due to configuration updates.
We can only investigate server downtime, page loading errors, etc. If you have an URL that can be used to reproduce a problem persistently, we will take a closer look.
not only online users reset, my site was blank for few secs at that time.
mistwang
08-21-2008, 07:57 PM
As you still can load the page that shows the online user count, I do think it is a web server problem. A web server problem usually result in 503/408 errors, if it immediately return a blank page, it likely is what PHP generates. It could be code errors or SQL errors.
Maybe, you should upgrade your mysql server to 5.0.x, see if it help or not.
xpertcl
08-21-2008, 10:57 PM
As you still can load the page that shows the online user count, I do think it is a web server problem. A web server problem usually result in 503/408 errors, if it immediately return a blank page, it likely is what PHP generates. It could be code errors or SQL errors.
Maybe, you should upgrade your mysql server to 5.0.x, see if it help or not.
i m sorry to say but i will discontinue litespeed from next mnth .. I luv the speed of litespeed it was really fast but its my bad luck tht its nt wrking properly with my site / server.
thanx nyways ...
mistwang
08-22-2008, 08:17 AM
No problem. Wish you best luck.
xpertcl
08-24-2008, 04:01 AM
r u in hosting too ? if yes then move my site and fix my issue
mistwang
08-26-2008, 09:29 AM
As you requested, your package has been marked to be canceled when next renewal is due.
Not sure the problem has been addressed or not, if you wish to continue the package, please login to your account and withdraw the cancellation request from there.
xpertcl
08-26-2008, 11:20 AM
As you requested, your package has been marked to be canceled when next renewal is due.
Not sure the problem has been addressed or not, if you wish to continue the package, please login to your account and withdraw the cancellation request from there.
remove urself i dnt wnna cancel my litespeed ... i m looking for hosting my site wid u also
mistwang
08-26-2008, 11:33 AM
sure. no problem. withdrawn.
xpertcl
09-25-2008, 11:33 AM
As you still can load the page that shows the online user count, I do think it is a web server problem. A web server problem usually result in 503/408 errors, if it immediately return a blank page, it likely is what PHP generates. It could be code errors or SQL errors.
Maybe, you should upgrade your mysql server to 5.0.x, see if it help or not.
today i noticed 1 thing may be it will helps u to fix my issue
my site gettting blank at any time for a sec but it will happen @ 00:00 IST everyday for 1 sec. plz see dis issue if this will helps u.. 00:00 inidan standard time .
xpertcl
09-30-2008, 07:33 AM
my litespeed server is restarted at every hour i.e 00:00 , :01:00, :02:00 :03:00 etc.. at dese times
mistwang
09-30-2008, 07:39 AM
Let you admin to check if there is any cron job which restarts LSWS every hour. LSWS wont restart by itself.
xpertcl
10-01-2008, 12:09 AM
Let you admin to check if there is any cron job which restarts LSWS every hour. LSWS wont restart by itself.
There is no cron to restart litespeed each hour
xpertcl
10-01-2008, 12:16 AM
There is nothing on the server that is doing this. Litespeed support might need to check why the restarts are being done.
mistwang
10-01-2008, 07:40 AM
Maybe it is control panel restart LSWS every hour. You should be able to find out something form log files.
LSWS restart is graceful, it is not likely to affect your web site anyway.
It is a general server admin issue, not a LiteSpeed bug, we can only take a look if there is support service contract.
http://www.litespeedtech.com/support/services/
xpertcl
10-01-2008, 07:42 AM
my litespeed server is restarted at every hour i.e 00:00 , :01:00, :02:00 :03:00 etc.. at dese times
for god sake fix dis issue
i luv litespeed very much but my sites restarted every hour for 2 secs
i cant purchase $999 support for dis issue u hve to fix it
mistwang
10-01-2008, 07:57 AM
You have to have your admin to take a look at it. LiteSpeed will not restart hourly by itself, period. Something external request LiteSpeed to restart regularly.
Since you are renting a managed server, it is the server admin's responsibility, even though, from past experiences, seems you have been a bit abusive for support services in the past, so, I am not surprised that they are reluctant to look into this issue. Good luck. :)
xpertcl
10-01-2008, 08:21 AM
You have to have your admin to take a look at it. LiteSpeed will not restart hourly by itself, period. Something external request LiteSpeed to restart regularly.
Since you are renting a managed server, it is the server admin's responsibility, even though, from past experiences, seems you have been a bit abusive for support services in the past, so, I am not surprised that they are reluctant to look into this issue. Good luck. :)
abusive ??? can u paste a single word.... i never use any abuse lang. here and dis is only issue i m facing since very frist day and u never fixd it.. i like lite speed but if dis issue will eat my traffic and soon i will lose all my users . i dnt wnna switch it to lighttp but if u wont fix dis issue den i ve no option but i dnt wnna discotinue wid litespped.
mistwang
10-01-2008, 09:00 AM
I am not talking about your language, but your attitude towards using the support service.
The previous problem you asked us to fix turned out it was not a LiteSpeed issue, same is this one.
We try our best to serve our customers well, but we cannot afford to satisfy all demands despite the costs.