Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Ticket #313 (defect)

Opened 4 years ago

Last modified 4 years ago

Session error : SessionDeadlockError

Status: closed (fixed)

Reported by: anonymous Assigned to: rdelon
Priority: normal Milestone:
Component: CherryPy code Keywords:
Cc:

I am getting random session error, you can find the full code at : http://paste.plone.org/20

tail cherrypylog

File "/usr/local/suddypython/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line 268, in run

applyFilters('beforeRequestBody')

File "/usr/local/suddypython/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line 661, in applyFilters

method()

File "/usr/local/suddypython/lib/python2.4/site-packages/cherrypy/lib/filter/session filter.py", line 138, in beforeRequestBody

sess.sessionStorage.acquireLock()

File "/usr/local/suddypython/lib/python2.4/site-packages/cherrypy/lib/filter/session filter.py", line 236, in acquireLock

raise SessionDeadlockError() SessionDeadlockError?

Attachments

sessiontest.py (326 bytes) - added by anonymous on 09/20/05 07:23:33.
bill.conf (0.7 kB) - added by anonymous on 09/20/05 07:23:52.

Change History

09/20/05 07:23:33: Modified by anonymous

  • attachment sessiontest.py added.

09/20/05 07:23:52: Modified by anonymous

  • attachment bill.conf added.

09/20/05 12:12:06: Modified by Amir Salihefendic <amix3k at gmial.com>

I switched to RC1 and I get the same error.

A work-around is maybe using File storage.

09/20/05 18:04:26: Modified by anonymous

I have tested with file type storage too, when i have two session opened with i mean with 2 different browser one with IE and one with Firefox, one works good other one get sessionlock error, just wondering does this lock works

Traceback (most recent call last):
  File "/usr/local/suddypython/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line 268, in run
    applyFilters('beforeRequestBody')
  File "/usr/local/suddypython/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line 661, in applyFilters
    method()
  File "/usr/local/suddypython/lib/python2.4/site-packages/cherrypy/lib/filter/sessionfilter.py", line 138, in beforeRequestBody
    sess.sessionStorage.acquireLock()
  File "/usr/local/suddypython/lib/python2.4/site-packages/cherrypy/lib/filter/sessionfilter.py", line 236, in acquireLock
    raise SessionDeadlockError()
SessionDeadlockError

09/21/05 04:04:21: Modified by rdelon

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in [672] (when favicon.ico was being served, the session wasn't released because the machinery was being bypassed)

Hosted by WebFaction

Log in as guest/cpguest to create tickets