![]() |
LSWS 4.0.x and AJP app
I'm running into some nasty connection errors (which lead to 503 occuring frequently on my site) with an Django app running trough flup's AJP protocol and a LSWS connector.
Log from flup-ajp django daemon: Code:
2009-08-26 10:40:38 : Exception caught in ConnectionCode:
Type: Servlet engineCode:
/usr/bin/python $DIR/manage.py runfcgi method=threaded daemonize=false \The connection count from LSWS to the app floats between the max allowed connection limit in LSWS while operating normally (no 503 errors), and drops to: Code:
~$ netstat -a -n | grep 3033 | grep ESTABLISHED | wc -lThe bug has been observed on every 4.0.x version. Currently testing with 3.x Help, please? :) |
I think there is somehting that LSWS does not like in the AJP packet sent by flup-ajp, so web server side closed the connection.
If it can be reproduced with certain URL, you can grep 503 error in access log see if it only happen to certain URL. You can use tcpdump to capture the data exchanged between LSWS and flup-ajp. |
| All times are GMT -7. The time now is 09:07 PM. |