tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 48169] two second delay for cgi scripts mixed with mod_jk
Date Wed, 11 Nov 2009 00:10:41 GMT

--- Comment #1 from Rainer Jung <> 2009-11-10 16:10:35 UTC ---
Which Linux do you exactly use?

The cgi process closes the existing backend connections after start (likely
because of CLOEXEC). Since we set SO_LINGER this is done by trying to drain the
connection in the tcp layer, which blocks.

We need to investigate a better way. I expect we don't set SO_LINGER to prevent
the OS from blocking during forked cgi processes and try to handle lingering
behaviour during normal worker process shutdown on our own.

Additional note: strace/truss also reveals, that the cgi process and also
rotatelogs try to close the shm file and its lock. But that's not the cause of
the hang here.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message