#834: lighty+fcgi+flup+cherrypy+sessions stored in files deadlocks
----------------------+---------------------------------------------------- -
Reporter: guest | Owner: fumanchu
Type: defect | Status: assigned
Priority: normal | Milestone: 3.0
Component: sessions | Resolution:
Keywords: |
----------------------+---------------------------------------------------- -
Changes (by fumanchu):
* owner: no_mind => fumanchu
* status: new => assigned
Old description:
> Well, summary pretty much says everything. If I let the sessions be
> stored in RAM, everything functions normally. Here are some configs:
> lighttpd.conf:
> fastcgi.server = (
> "/" => ( "main.py" => (
> "bin-path" => "/home/apache/htdocs/python/main.py",
> "socket" => "/tmp/script.sock",
> "check-local" => "disable",
> "disable-time" => 1,
> "min-procs" => 1,
> "max-procs" => 1,
> ),
> ),
> )
> snippet of /home/apache/htdocs/python/main.py:
> cherrypy.config.update('/home/apache/htdocs/python/cherrypy.conf')
> app =
> cherrypy.tree.mount(site,'/','/home/apache/htdocs/python/cherrypy.conf')
> cherrypy.config.update({'engine.autoreload_on':False})
> cherrypy.engine.start(blocking=False)
> try:
> WSGIServer(app).run()
> finally:
> cherrypy.engine.stop()
New description:
Well, summary pretty much says everything. If I let the sessions be stored
in RAM, everything functions normally. Here are some configs:
lighttpd.conf:
{{{
fastcgi.server = (
"/" => ( "main.py" => (
"bin-path" => "/home/apache/htdocs/python/main.py",
"socket" => "/tmp/script.sock",
"check-local" => "disable",
"disable-time" => 1,
"min-procs" => 1,
"max-procs" => 1,
),
),
)
}}}
snippet of /home/apache/htdocs/python/main.py:
{{{
cherrypy.config.update('/home/apache/htdocs/python/cherrypy.conf')
app =
cherrypy.tree.mount(site,'/','/home/apache/htdocs/python/cherrypy.conf')
cherrypy.config.update({'engine.autoreload_on':False})
cherrypy.engine.start(blocking=False)
try:
WSGIServer(app).run()
finally:
cherrypy.engine.stop()
}}}
Comment:
Reformatted.
--
Ticket URL: <http://trac.cherrypy.org/ticket/834>
CherryPy <http://www.cherrypy.org>
CherryPy - a pythonic, object-oriented HTTP framework