Hi all, for the first time in many years, a webware project for a customer has developed constant failure conditions. I do, however, have problems to isolate possible causes.
Webware runs with mod_webware in apache. In irggualr intervals, the following happens: Exception in worker thread -- CMDERR: cmd: ['CONNECT', 669L, 0] -> reply: Connection already active. Traceback (most recent call last): File "/opt/webware/WebKit/ThreadedAppServer.py", line 688, in threadloop ---------> Duplicate connect requests from 84.153.216.42 and 80.145.254.106 ?? handler.handleRequest() File "/opt/webware/WebKit/ThreadedAppServer.py", line 1134, in handleRequest requestDict = self.receiveDict() File "/opt/webware/WebKit/ThreadedAppServer.py", line 916, in receiveDict block = self._sock.recv(missing) error: [Errno 9] Bad file descriptor [ ... 200-300 more of these tracebacks, then a lot of consecutive "Exception in worker thread" lines, then more tracebacks and so on ...] As I see it, the failure point is in AppServer, while trying to receive parts of a request header in dictionary format - apparently from a socket that has somehow become invalid. Interesting enough it can happen that some hours(!) later, the AppServer suddenly continues to work properly, without restart. When I restart the Appserver completely, the problem is gone immediately. I'd appreciate any hint on where to begin the investigation and what to look after. Thank you for reading! ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Webware-devel mailing list Webware-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-devel