[Zope-dev] TCP CLOSE_WAIT leaks

Alan Milligan alan at balclutha.org
Tue Mar 21 18:12:39 EST 2006


Hi,

I've been noticing a situation for some time that my 2.8.5 Z2 is running
out of threads.  When doing an lsof on it, I see a large number of TCP
handles in CLOSE_WAIT state.

It seems something's not properly clearing down the connection to
release the thread.

Unfortunately, these connections were almost guaranteed to have been set
up via Apache redirect processing, and it's quite successfully cleaned
up its end ...

Does anyone have any idea how this situation might occur, and why Zope's
not properly housekeeping these (maybe Medusa needs a timeout set on
close waits??)

Alan


More information about the Zope-Dev mailing list