Website problems

Discussion in 'PHP' started by bambito, Oct 20, 2006.

  1. bambito

    bambito Member

    I converted a website for a friend from apache to litespeed. Everything was working great and then everything stopped. All the lsphp processes either died or where killed.

    Running the latest version of litespeed.
    PHP 5.1.6
    Eaccelerator 0.9.5

    Is PHP 4.4.4 more robust than 5.1.6?
  2. xing

    xing LiteSpeed Staff

    When you mean "everything stopped", can you explain in more detail?

    Was LiteSpeed responding? Can you access LiteSpeed's webadmin?

    Any relevant logs in logs/stderr.log logs/error.log?

    We need to know wether this is a litespeed problem or a php one.

    Check /tmp/lshttpd to see if there is any core files or bak_core directory.
  3. bambito

    bambito Member

    No. All processes died.
    No. Nothing in the logs.
    No. No core files.

    Used a custom PHP 4.4.4 binary, everything is working ok for now.
  4. dreamscape

    dreamscape Active Member

    I've had this happen a few times when restarting the server, goes down and never comes back up, but haven't had it happen on its own.
  5. xing

    xing LiteSpeed Staff

    bambito, when you mean all processed died, do you mean the "lshttpd" processes and the php ones? Or just the php ones?

    Dreamscape, can you reproduce the problem where LiteSpeed sometimes can't restart correctly on your system? What is your os setup?
  6. bambito

    bambito Member

    Well, I don't think it was lshttpd, just lsphp processes. I just had two websites suffer from the same problem in the last 12 hours. I just had to restart litespeed a few minutes ago. I turned debugging to the high level. I'll keep watching.

    Any way to contact you via IM?
  7. dreamscape

    dreamscape Active Member

    No it seemed to be random. I'm running OS X 10.4.8.

    Actually I found this thread which seems to indicate that restart may fail if the admin listener is *:7080 and it may be fixed by using a specific IP, if I am reading it correctly?

    Anyways, I put the admin listener on a specific IP, and I have not seen the problem since. I've been changing the configs and vhosts alot to get my dev server setup, and I was seeing it happen a few times a day. However, since changing the admin listener, I have not had it occur again, and I think it would have by now if I hadn't. But I will report back if it does happen again.
  8. xing

    xing LiteSpeed Staff

    bambito, you can reach me online right now at "litespeedtech" on AIM.
  9. bambito

    bambito Member

    This is what was in the logs.


    2006-10-21 16:19:48.874 [DEBUG] [phpLsapi] add child process pid: 31804
    2006-10-21 16:19:48.875 [DEBUG] [] HttpExtConnector::tryRecover()...
    2006-10-21 16:19:48.875 [DEBUG] [] trying to recover from connection problem, attempt: #2!
  10. xing

    xing LiteSpeed Staff

    Fixed with 2.2.4

Share This Page