[zope2-tracker] [Bug 787541] [NEW] WSGIPublisher leaves the request open on error

Brian Sutherland jinty at web.de
Tue May 24 09:10:45 EDT 2011


Public bug reported:

After banging on an erroring URL for 42 times I get to this in the logs:

     2011-05-24T08:09:59 CRITICAL ZODB.DB DB.open() has 42 open
connections with a pool_size of 7

It appears that, on error, WSGIPublisher does not close the request.
ZPublisher/Publish.py does seem to.

The attached patch causes the request to be closed unconditionally after
the transaction is finished. I havn't committed it yet because the
current behavior in WSGIPublisher looks intentional.

** Affects: zope2
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.
https://bugs.launchpad.net/bugs/787541

Title:
  WSGIPublisher leaves the request open on error


More information about the zope2-tracker mailing list