Website problems

#1
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

LiteSpeed Staff
#2
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
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.
 

xing

LiteSpeed Staff
#5
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, 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?
 
#7
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.
 
#9
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!
 
Top