PDA

View Full Version : Website problems


bambito
10-19-2006, 10:11 PM
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
Vbulletin

Is PHP 4.4.4 more robust than 5.1.6?

xing
10-20-2006, 11:29 AM
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.

bambito
10-21-2006, 08:17 AM
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.

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.

dreamscape
10-21-2006, 09:54 AM
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.

xing
10-21-2006, 12:48 PM
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?

bambito
10-21-2006, 01:04 PM
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?

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?

dreamscape
10-21-2006, 01:04 PM
Dreamscape, can you reproduce the problem where LiteSpeed sometimes can't restart correctly on your system? What is your os setup?

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?

http://www.litespeedtech.com/support/forum/showthread.php?t=567&highlight=restart+fails

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.

xing
10-21-2006, 01:46 PM
bambito, you can reach me online right now at "litespeedtech" on AIM.

bambito
10-21-2006, 02:21 PM
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] [24.23.126.29:3769-0#BGOL:lsapi] HttpExtConnector::tryRecover()...
2006-10-21 16:19:48.875 [DEBUG] [24.23.126.29:3769-0#BGOL:lsapi] trying to recover from connection problem, attempt: #2!

xing
10-25-2006, 01:13 PM
Fixed with 2.2.4