restart

Discussion in 'Install/Configuration' started by xpertcl, Aug 16, 2008.

Thread Status:
Not open for further replies.
  1. xpertcl

    xpertcl New Member

    Last edited: Aug 16, 2008
  2. mistwang

    mistwang LiteSpeed Staff

    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. xpertcl

    xpertcl New Member

    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. mistwang

    mistwang LiteSpeed Staff

    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. xpertcl

    xpertcl New Member

    check


    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. mistwang

    mistwang LiteSpeed Staff

    Just make sure mysql persistent connection is turned off in php.ini
  7. xpertcl

    xpertcl New Member

    check


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

    mysql.allow_persistent Off Off

    Please recheck.
  8. xpertcl

    xpertcl New Member

    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. mistwang

    mistwang LiteSpeed Staff

    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. mistwang

    mistwang LiteSpeed Staff

    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.
  11. xpertcl

    xpertcl New Member

    root


    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
  12. mistwang

    mistwang LiteSpeed Staff

    See my previous post for the result of the investigation.
  13. xpertcl

    xpertcl New Member

    eerror


    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 .
  14. mistwang

    mistwang LiteSpeed Staff

    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.
  15. xpertcl

    xpertcl New Member

    again

    it hppnd again.... plz let me knw wht shud i do to fix it ....
  16. mistwang

    mistwang LiteSpeed Staff

    You should implement what I have suggested already. I can only take another look after those have been addressed.
  17. mistwang

    mistwang LiteSpeed Staff

    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.
  18. xpertcl

    xpertcl New Member

    removed

    i m facing same issue after removing word press cmpltly from dis server

    i already removed tamil.nkut from dis server
  19. mistwang

    mistwang LiteSpeed Staff

    Has another PHP problem been addressed yet?
  20. xpertcl

    xpertcl New Member

    still same issue

    still same issue.. restarting issue..
Thread Status:
Not open for further replies.

Share This Page