I think it would be helpful if you could walk us through the code.
The shutdown function provides three error codes - the jk function doesn't check them, and
the most likely is 'socket closed' (ie jboss closed it?), hence I'm unsure what the drain
code is doing.
------Original Message------
From: John Baker
To: Tomcat Users List
ReplyTo: Tomcat Users List
Subject: Re: 2 second delays in mod_jk while "maintaining workers"
Sent: 8 Sep 2010 16:41
> On 09/08/2010 05:08 PM, John Baker wrote:
> The code *is* required.
> It is used when the client disconnects while the backend
> still has some data in the AJP buffer. Drain is needed
> to read that excess data.
Why does it always report 0 bytes read?
> If you can compile mod_jk and test, try adding some debug messages inside
> the poll loop. Anyhow, seems to me there is some sort of network
> problem you are facing.
That's next on my list.
> Have you been able to see the traffic using Wireshark?
Not yet.
>
>
> Regards
> --
> ^TM
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
|