lsperld.fpl always times out
I use an instance of lsperld to serve old-style awstats on one of my servers and I noticed that on 2.2.6 it works fine, but on 3.0 RC2 it times out. I don't know the reason for the hang, because there are no errors I can see in any of the logs. I use exactly the same settings in both. Here is the lsperld setup:
Fast CGI app
Max Connections: 1
Initial Request Timeout: 120
Response Buffering: No
Auto Start: Yes
Back Log: 100
Run on start up: no
Max idle: 45
Do I need to change these settings for 3.0, perhaps?
No, you don't need to change configuration for 3.0RC2. Must be something wrong.
Did you upgrade from 2.2.6 to 3.0RC2 on the same server? or try 3.0RC2 on another server? Anything in error.log and stderr.log? Can you try a simple "hello world" perl CGI script?
I upgraded from 2.2.6 to 3.0RC2. A simple hello world script and the awstats.pl both work using CGI daemon, but both hang using lsperld.fpl. I upped the logging to INFO and receive this for the hello world script (awstats.pl is the same):
2007-02-11 21:22:29.680 [INFO] [188.8.131.52:14580-0#perl.example.com] Connection idle time: 31 while in state: 5 watching for event: 25,close!
2007-02-11 21:22:29.680 [INFO] [184.108.40.206:14580-0#perl.example.com] Content len: 0, Request line:
GET /hello-world.pl HTTP/1.1
2007-02-11 21:22:29.680 [INFO] [220.127.116.11:14580-0#perl.example.com] HttpExtConnector state: 8, request body sent: 0, response body size: 0, response body sent:0, left in buffer: 0, attempts: 0.
2007-02-11 21:22:29.680 [INFO] [18.104.22.168:14580-0#perl.example.com] FcgiConnection watching event: 25, wantWrite: 0, total Pending: 0, buffered: 0, record status: 0, size:0, content len: 8, request processed: 0, total processing time: 31, waiting for response for 31 seconds.
Can you strace the perl process for lsperd.fpl?
I tried it on our 3.0 release, works fine.
You can download 3.0 release by changing the version number in the download link.
The new version fixed it. The perl scripts are behaving as in 2.2.6 now. Thanks!
|All times are GMT -7. The time now is 12:46 PM.|