tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: 2 second delays in mod_jk while "maintaining workers"
Date Thu, 09 Sep 2010 15:08:04 GMT
On 09/09/2010 04:48 PM, John Baker wrote:
>
>
> On Thursday 09 September 2010 15:45:44 you wrote:
>> Nice.
>
> I spoke too soon.  I'm now trying to figure out how to print out the IP address of the
socket (I don't really do C) so I can log the socket that caused the poll to timeout, and
compare with a tcpdump.
>

Try with getsockname, but it's not a trivial task.

Perhaps using /proc/pid/fd
and matching the socket# we have with the actual info
eg.
32 -> socket:[port]



Regards
-- 
^TM

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


Mime
View raw message