Hi all,
I'm developing a pylons app to serve recommendations for one web. I'm
using pylons-0.9.7-1 as deamon via apache proxy. The problem appears
while the pylons app are running during some days. The error generated
are:
09:13:08,685 WARNI [paste.httpserver.ThreadPool] Thread
140652916787472 hung (working on task for 2157 seconds)
----------------------------------------
Exception happened during processing of request from ('127.0.0.1',
45139)
Traceback (most recent call last):
File "/usr/lib64/python2.6/SocketServer.py", line 281, in
_handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python2.6/site-packages/paste/httpserver.py", line
1046, in process_request
lambda: self.process_request_in_thread(request, client_address))
File "/usr/lib/python2.6/site-packages/paste/httpserver.py", line
626, in add_task
self.kill_hung_threads()
File "/usr/lib/python2.6/site-packages/paste/httpserver.py", line
787, in kill_hung_threads
self.kill_worker(worker.thread_id)
File "/usr/lib/python2.6/site-packages/paste/httpserver.py", line
714, in kill_worker
killthread.async_raise(thread_id, SystemExit)
File "/usr/lib/python2.6/site-packages/paste/util/killthread.py",
line 25, in async_raise
raise ValueError("invalid thread id")
ValueError: invalid thread id
----------------------------------------
When this error appears, the apache response for each call: [Wed Feb
10 08:47:34 2010] [error] [client xx.xx.xxx.xx] (70007)The timeout
specified has expired: proxy: error reading status line from remote
server localhost
Anybody knows what can be the problem and how to solve To solve it I
have to restart the server but when it will be on production it can be
a problem because the recommendations will be down during a large
time.
Thanks in advance
eRnest
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en.