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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > LSAPI Sockets Closing Periodically

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-19-2012, 02:21 AM
Ghan_04 Ghan_04 is offline
Member
 
Join Date: Jun 2010
Posts: 14
Default LSAPI Sockets Closing Periodically

I am having an issue where I have a few sites setup using PHP with the LSAPI external app. Each one has its own external app config so that I can use suEXEC and have each site run its own PHP processes. However, since switching over to this config, I am finding occasional 503 service unavailable errors with this showing up in the error log:

Code:
2012-02-19 04:10:41.188 [INFO] [66.249.71.161:42504-0#wayward] connection to [/tmp/lshttpd/wayward_lsphp.sock] on request #0, confirmed, 0, associated process: 5264, running: 1, error: No such file or directory!
2012-02-19 04:10:41.188 [INFO] [uds://tmp/lshttpd/wayward_lsphp.sock] Connection refused, restart!
2012-02-19 04:10:41.189 [INFO] [66.249.71.161:42504-0#wayward] connection to [/tmp/lshttpd/wayward_lsphp.sock] on request #0, confirmed, 0, associated process: 5264, running: 1, error: No such file or directory!
2012-02-19 04:10:41.189 [INFO] [uds://tmp/lshttpd/wayward_lsphp.sock] Connection refused, restart!
2012-02-19 04:10:41.189 [INFO] [66.249.71.161:42504-0#wayward] connection to [/tmp/lshttpd/wayward_lsphp.sock] on request #0, confirmed, 0, associated process: 5264, running: 1, error: No such file or directory!
2012-02-19 04:10:41.189 [INFO] [uds://tmp/lshttpd/wayward_lsphp.sock] Connection refused, restart!
2012-02-19 04:10:41.189 [NOTICE] [66.249.71.161:42504-0#wayward] Max retries has been reached, 503!
2012-02-19 04:10:41.189 [NOTICE] [66.249.71.161:42504-0#wayward] oops! 503 Service Unavailable
2012-02-19 04:10:41.189 [NOTICE] [66.249.71.161:42504-0#wayward] Content len: 0, Request line: 'GET /find-new/494107/threads?_debug=1 HTTP/1.1'
2012-02-19 04:10:41.189 [NOTICE] [66.249.71.161:42504-0#wayward] Redirect: #1, URL: /index.php
The lsphp.sock files appear to be getting closed and vanishing periodically so that they have to be restarted. I am also seeing lots of these statements in the log:

Code:
2012-02-19 04:10:12.000 [INFO] [CLEANUP] Clean up child process with pid: 5229
2012-02-19 04:10:12.000 [INFO] [CLEANUP] Clean up child process with pid: 5231
2012-02-19 04:10:12.006 [INFO] Remove pid: 5229, exitcode: 0
2012-02-19 04:10:12.010 [INFO] Remove pid: 5231, exitcode: 0
2012-02-19 04:10:22.000 [INFO] [CLEANUP] Clean up child process with pid: 5260
2012-02-19 04:10:22.008 [INFO] Remove pid: 5260, exitcode: 0
I have the external app set to auto start and run on startup with persistent connections turned on.
Any ideas how I can resolve these errors?

Thanks!

Last edited by Ghan_04; 02-19-2012 at 02:25 AM..
Reply With Quote
 

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 04:20 PM.



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