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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > massive lsws shutdown 12-2am

Reply
 
Thread Tools Display Modes
  #11  
Old 03-06-2008, 03:49 PM
felosi felosi is offline
Senior Member
 
Join Date: Jun 2007
Posts: 249
No I think that is why cpanel implemented this new stuff

Just a theory

George check your mail when you get a chance please.
Reply With Quote
  #12  
Old 03-06-2008, 04:00 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
A simple shell script to check lshttpd and start LSWS, create a cron job.
Code:
#!/bin/sh
ERR=1
if [ -f /tmp/lshttpd/lshttpd.pid ]; then
    kill -0 `cat /tmp/lshttpd/lshttpd.pid`
    ERR=$?
fi

if [ $ERR -ne 0 ]; then
    /opt/lsws/bin/lswsctrl start
    D=`date`
    echo "$D: LSWS stopped, start LSWS."
fi
Reply With Quote
  #13  
Old 03-06-2008, 05:05 PM
felosi felosi is offline
Senior Member
 
Join Date: Jun 2007
Posts: 249
Thank you very much George, I hope it all works. Cpanel does some of the gayest things sometimes. Its beyond me why they would want to kill other then httpd processes for no reason. Maybe the exim or lingering childs, who knows.

Been a hetic week.

Thanks again and sorry for the frantic emails, just had a two hour outage on the network the other day and on top of the 2-6 hour outages I had from this clients was not too happy
Reply With Quote
  #14  
Old 03-07-2008, 01:06 AM
felosi felosi is offline
Senior Member
 
Join Date: Jun 2007
Posts: 249
Ok it works, I left out one server to try and see whats going on but it seems to do this randomly at about 1-2 am. I am not sure if it is a upcp because I ran that manually yesterday and it didnt happen. So its untelling. Thanks again for this handy script, I can sleep now
Reply With Quote
  #15  
Old 03-07-2008, 02:36 AM
aww aww is offline
Senior Member
 
Join Date: May 2007
Posts: 237
Does that script above take into account if lsws is manually stopped?
Or will it always attempt to restart it if it is simply not running?
Reply With Quote
  #16  
Old 03-07-2008, 09:48 AM
vivek vivek is offline
Senior Member
 
Join Date: Jan 2008
Posts: 275
The above script is not a permanent solution.
Reply With Quote
  #17  
Old 03-07-2008, 10:19 AM
felosi felosi is offline
Senior Member
 
Join Date: Jun 2007
Posts: 249
everyone just put in tickets, post on their forums, something. I have seen nothing but smartass and vague answers from their support staff in other situations. I know 2 that has put in tickets so far just to be told cpanel does not support litespeed and litespeed is NOT compatible with cpanel. What a load of shit. This has me pretty ticked off.
Reply With Quote
  #18  
Old 03-07-2008, 10:27 AM
vivek vivek is offline
Senior Member
 
Join Date: Jan 2008
Posts: 275
Quote:
Originally Posted by felosi View Post
everyone just put in tickets, post on their forums, something. I have seen nothing but smartass and vague answers from their support staff in other situations. I know 2 that has put in tickets so far just to be told cpanel does not support litespeed and litespeed is NOT compatible with cpanel. What a load of shit. This has me pretty ticked off.
Yea, cPanel is killing litespeed just because they dont support it. Just like me , please open support ticket to them to stop these kind of works.
Reply With Quote
  #19  
Old 03-07-2008, 11:18 AM
aww aww is offline
Senior Member
 
Join Date: May 2007
Posts: 237
Quote:
Originally Posted by vivek View Post
Yea, cPanel is killing litespeed just because they dont support it. Just like me , please open support ticket to them to stop these kind of works.
Remember from cpanel's standpoint, apache is the only bundled solution. It's not like their new code looks for litespeed processes and kills them, they just did something lazy without consideration for alternative software. Cpanel could care less and their support and sales aren't going to be affected by us few complaining.

Unfortunately this is really on Litespeed's hands to work around - I just wish someone had been watching the current releases for changes like this before they happened.

I have faith though that there will be a fix soon from Litespeed, they tend to be very good about these things and few companies fix problems faster.
Reply With Quote
  #20  
Old 03-07-2008, 04:04 PM
felosi felosi is offline
Senior Member
 
Join Date: Jun 2007
Posts: 249
well now mine is doing it on account creation as well. Good thing I have that cron script
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 06:25 PM.



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