[CherryPy] #834: lighty+fcgi+flup+cherrypy+sessions stored in files deadlocks

1 view
Skip to first unread message

CherryPy

unread,
Jul 3, 2008, 3:07:31 PM7/3/08
to cherrypy...@googlegroups.com
#834: lighty+fcgi+flup+cherrypy+sessions stored in files deadlocks
----------------------+-----------------------------------------------------
Reporter: guest | Owner: no_mind
Type: defect | Status: new
Priority: normal | Milestone: 3.0
Component: sessions | Keywords:
----------------------+-----------------------------------------------------
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()

--
Ticket URL: <http://trac.cherrypy.org/ticket/834>
CherryPy <http://www.cherrypy.org>
CherryPy - a pythonic, object-oriented HTTP framework

CherryPy

unread,
Jul 3, 2008, 3:10:01 PM7/3/08
to cherrypy...@googlegroups.com
#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.

CherryPy

unread,
Jul 9, 2008, 2:01:41 PM7/9/08
to cherrypy...@googlegroups.com
#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: |
----------------------+-----------------------------------------------------
Comment (by nick125):

Could this be related to ticket #761?

--
Ticket URL: <http://cherrypy.org/ticket/834>
Reply all
Reply to author
Forward
0 new messages