LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > PHP > Website problems

Reply
 
Thread Tools Display Modes
  #1  
Old 10-19-2006, 09:11 PM
bambito bambito is offline
New Member
 
Join Date: Sep 2006
Posts: 9
Default Website problems

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?
Reply With Quote
  #2  
Old 10-20-2006, 10:29 AM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
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.
Reply With Quote
  #3  
Old 10-21-2006, 07:17 AM
bambito bambito is offline
New Member
 
Join Date: Sep 2006
Posts: 9
Quote:
Originally Posted by xing View Post
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.
Reply With Quote
  #4  
Old 10-21-2006, 08:54 AM
dreamscape dreamscape is offline
Member
 
Join Date: Oct 2006
Posts: 28
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.
Reply With Quote
  #5  
Old 10-21-2006, 11:48 AM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
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?
Reply With Quote
  #6  
Old 10-21-2006, 12:04 PM
bambito bambito is offline
New Member
 
Join Date: Sep 2006
Posts: 9
Quote:
Originally Posted by xing View Post
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?
Reply With Quote
  #7  
Old 10-21-2006, 12:04 PM
dreamscape dreamscape is offline
Member
 
Join Date: Oct 2006
Posts: 28
Quote:
Originally Posted by xing View Post
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...=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.
Reply With Quote
  #8  
Old 10-21-2006, 12:46 PM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
bambito, you can reach me online right now at "litespeedtech" on AIM.
Reply With Quote
  #9  
Old 10-21-2006, 01:21 PM
bambito bambito is offline
New Member
 
Join Date: Sep 2006
Posts: 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!
Reply With Quote
  #10  
Old 10-25-2006, 12:13 PM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
Fixed with 2.2.4
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:12 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.