tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
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
https://issues.apache.org/bugzilla/show_bug.cgi?id=48169

--- Comment #1 from Rainer Jung <rainer.jung@kippdata.de> 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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message