17 messages in com.googlegroups.pylons-discussRe: using paste.debug.profile
FromSent OnAttachments
Pekka Jääskeläinen26 Aug 2007 16:39 
Ian Bicking26 Aug 2007 17:14 
Pekka Jääskeläinen26 Aug 2007 17:41 
Ian Bicking26 Aug 2007 17:43 
Pekka Jääskeläinen27 Aug 2007 02:37 
Ben Bangert27 Aug 2007 08:37 
Pekka Jääskeläinen27 Aug 2007 09:02 
Pekka Jääskeläinen27 Aug 2007 09:31 
Ben Bangert27 Aug 2007 09:56 
Pekka Jääskeläinen27 Aug 2007 10:12 
Ian Bicking04 Sep 2007 11:20 
Pekka Jääskeläinen16 Sep 2007 07:44 
Ian Bicking17 Sep 2007 11:19 
Mike Orr18 Sep 2007 11:14 
Pekka Jääskeläinen18 Sep 2007 11:45 
Pekka Jääskeläinen19 Sep 2007 02:46 
Pekka Jääskeläinen21 Sep 2007 11:55 
Subject:Re: using paste.debug.profile
From:Pekka Jääskeläinen (pekk@public.gmane.org)
Date:09/19/2007 02:46:03 AM
List:com.googlegroups.pylons-discuss

Pekka Jääskeläinen wrote:

BTW, I've got this kind of errors lately, I wonder if this is related to the occasional slugginess I'm seeing.

WARNING:paste.httpserver.ThreadPool:Thread -1297912912 hung (working on task for 1901 seconds) ---------------------------------------- Exception happened during processing of request from ('85.157.81.240 <http://85.157.81.240>', 20273) Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/Paste- 1.4.1-py2.5.egg/paste/httpserver.py", line 1046, in process_request_in_thread self.finish_request(request, client_address) File "SocketServer.py", line 254, in finish_request self.RequestHandlerClass (request, client_address, self) File "SocketServer.py", line 522, in __init__ self.finish() File "SocketServer.py", line 567, in finish self.rfile.close() File "socket.py ", line 233, in close self.flush() SystemExit ----------------------------------------

Yes, this is paste.httpserver killing a thread that appeared to be hung -- it raises SystemExit once a thread has been processing a request for an excessive amount of time.

I'm also getting this kind of messages occasionally:

WARNING:paste.httpserver.ThreadPool:Thread -1565951056 hung (working on task for 9059 seconds) WARNING:paste.httpserver.ThreadPool:Thread -1288991824 hung (working on task for 9059 seconds)

Any idea how to debug this? There's no backtrace in this case at all. Does not look harmless.