tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rémy Maucherat" <remy.mauche...@gmail.com>
Subject Re: Tomcat 6 NIO connector/CometProcessor goes to 100% CPU usage
Date Fri, 06 Apr 2007 22:13:19 GMT
On 4/6/07, Elias Naur <elias.naur@gmail.com> wrote:
> I'm aware that a correct implementation must empty the buffer on a
> READ event, but as I stated in the original post, a READ event is
> never received (not even when the client forces a disconnect), only
> the initial BEGIN event, so had I included a read on READ it wouldn't
> matter and would only serve to clutter the test case. If I'm supposed
> to read when receiving BEGIN, I'll admit my test is incorrect, but
> then the example at http://tomcat.apache.org/tomcat-6.0-doc/aio.html
> needs to be corrected too.

So you can also confirm APR and NIO do the same ? I don't see how
you're not going to get an error event in that particular case.
However, I can't test it personally, so maybe you can look into this a
bit deeper (otherwise, most likely Filip will).

Rémy

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


Mime
View raw message