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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > 4.1.12 broken

Reply
 
Thread Tools Display Modes
  #1  
Old 04-05-2012, 02:47 PM
raphidae raphidae is offline
Senior Member
 
Join Date: Apr 2008
Posts: 59
Default 4.1.12 broken

I upgraded a server from 4.1.10 to 4.1.12 today and it completely broke php and the web console.

All php scripts result in 503, as does accessing the web console.

there are numerous unhelpful errors in stderr.log:
Quote:
2012-04-05 23:18:03.006 [STDERR] lscgid: recv_fd() failed: No such file or directory
2012-04-05 23:18:03.007 [STDERR] lscgid: recv_fd() failed: No such file or directory
2012-04-05 23:18:14.947 [STDERR] lscgid: recv_fd() failed: No such file or directory
and some more in my admin error log:

Quote:
2012-04-05 23:15:25.057 [INFO] [xx.44.172.93:54313-0#_AdminVHost] ExtConn timed out while processing.
2012-04-05 23:15:25.057 [INFO] [xx.44.172.93:54313-0#_AdminVHost] connection to [/tmp/lshttpd/admin_php.sock] on request #0, confirmed, 0, associated process: 1952543827, running: 0, error: Operation timed out!
2012-04-05 23:15:25.057 [NOTICE] [xx.44.172.93:54313-0#_AdminVHost] Suspicious request timeout, associated process: 1952543827, running: 0.
Reverting to 4.1.10 solved all problems instantly.

Additionally, since upgrading I've noticed a new file: /tmp/secret/lscgid.sock

I can't find any references to this file in any of the config files, so I'm unsure of the purpose. Other servers that still run 4.1.10 don't have this file.

I tried deleting it, but that results in:

Quote:
stderr.log:2012-04-05 23:40:58.785 [STDERR] lscgid: failed to open secret file: /tmp/secret/lscgid.sock.724!
stderr.log:lscgid: secret is not set properly!
Reverting back to 4.1.10 did not remove the need for this file for some reason.
Reply With Quote
  #2  
Old 04-05-2012, 03:04 PM
raphidae raphidae is offline
Senior Member
 
Join Date: Apr 2008
Posts: 59
Maybe I should have noted that this is on FreeBSD 8-STABLE. Are your testing procedures for FreeBSD the same as for Linux?

It seems every time I upgrade there is one issue or another. If you're not testing the FreeBSD builds the same as the Linux builds I'd like to know, since I'm paying the same as a Linux user.
Reply With Quote
  #3  
Old 04-05-2012, 03:09 PM
raphidae raphidae is offline
Senior Member
 
Join Date: Apr 2008
Posts: 59
FYI: I just tried 4.1.11 to see whether that version works, and it doesn't have these issues. It seems to be new in 4.1.12.
Reply With Quote
  #4  
Old 04-05-2012, 04:44 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
stay with 4.1.11 for now.
Reply With Quote
  #5  
Old 04-05-2012, 08:39 PM
raphidae raphidae is offline
Senior Member
 
Join Date: Apr 2008
Posts: 59
Quote:
Originally Posted by webizen View Post
stay with 4.1.11 for now.
Can you perhaps explain the /tmp/secret/lscgid.sock file in the meanwhile?
Reply With Quote
  #6  
Old 04-06-2012, 12:38 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
not seen /tmp/secret/lscgid.sock file in our lab following your upgrade path (4.1.10 -> 4.1.12 -> 4.1.11). try full stop/start and see if that clears.
Reply With Quote
  #7  
Old 04-10-2012, 03:18 AM
priestjim priestjim is offline
Senior Member
 
Join Date: Mar 2009
Location: Athens, Greece
Posts: 60
I get extremely high loads on 4.1.12. The error log says:

2012-04-10 13:15:44.416 [WARN] Remove looping fd: 50, event: 1
2012-04-10 13:15:44.465 [WARN] Remove looping fd: 797, event: 1
2012-04-10 13:15:44.521 [WARN] Remove looping fd: 822, event: 1
2012-04-10 13:15:44.730 [WARN] Remove looping fd: 747, event: 1
2012-04-10 13:15:44.863 [WARN] Remove looping fd: 833, event: 1
2012-04-10 13:15:44.913 [WARN] Remove looping fd: 840, event: 1
2012-04-10 13:15:45.079 [WARN] Remove looping fd: 139, event: 1
2012-04-10 13:15:45.128 [WARN] Remove looping fd: 494, event: 1
2012-04-10 13:15:45.180 [WARN] Remove looping fd: 522, event: 1
2012-04-10 13:15:45.241 [WARN] Remove looping fd: 723, event: 1
2012-04-10 13:15:45.271 [WARN] Remove looping fd: 509, event: 1
2012-04-10 13:15:45.409 [WARN] Remove looping fd: 529, event: 1
2012-04-10 13:15:46.577 [WARN] Remove looping fd: 851, event: 1
2012-04-10 13:15:47.018 [WARN] Remove looping fd: 73, event: 1
2012-04-10 13:15:47.425 [WARN] Remove looping fd: 859, event: 1
2012-04-10 13:15:47.743 [WARN] Remove looping fd: 887, event: 1
2012-04-10 13:15:49.231 [WARN] Remove looping fd: 319, event: 1

And strace-ing the litespeed process gives out A LOT of:

mincore(0x7ff7b9ac5000, 443819, 0x7fffc0296aa0) = -1 ENOMEM (Cannot allocate memory)
__________________
Web hosting, Domain Names, VPS and Dedicated Servers in one of the most secure, reliable, fast and low-cost web hosting services in the European market.

:: dnHost Interactive Agency :: Supporting and providing Litespeed Web Server in all shared hosting and VPS servers since 2008 ::
Reply With Quote
  #8  
Old 04-10-2012, 10:31 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
switch to 4.1.11 see if any difference.
Reply With Quote
  #9  
Old 04-10-2012, 11:52 PM
priestjim priestjim is offline
Senior Member
 
Join Date: Mar 2009
Location: Athens, Greece
Posts: 60
Did that in order to get my server to an operable state. With 4.1.11 I get no load issues.
__________________
Web hosting, Domain Names, VPS and Dedicated Servers in one of the most secure, reliable, fast and low-cost web hosting services in the European market.

:: dnHost Interactive Agency :: Supporting and providing Litespeed Web Server in all shared hosting and VPS servers since 2008 ::
Reply With Quote
  #10  
Old 04-11-2012, 11:17 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
stay with 4.1.11 for now until 4.1.12 becomes available in auto-update.
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 12:34 AM.



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