tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Baker <jba...@javasystemsolutions.com>
Subject Re: 2 second delays in mod_jk while "maintaining workers"
Date Thu, 09 Sep 2010 15:24:25 GMT


On Thursday 09 September 2010 16:08:04 you wrote:
> 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]

Isn't the address stored with jk_sock_t so I can use jk_dump_hinfo, as I can see is in the
open socket method?

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


Mime
View raw message