> From: André Warnier [mailto:a...@ice-sa.com]
> Subject: Re: apache/tomcat communication issues (502 response)
> 
> That is because a KeepAlive connection will keep a server child (or
> thread) tied to that particular client connection, until the KeepAlive
> expires, probably doing nothing most of the time.

But think about this in the context of a modern 64-bit server environment: 
what's wrong with keeping these idle thread(s) around?  When process space was 
at a premium, it made sense to trade off a little CPU time rebuilding 
connections versus chewing up the limited address space; now that the resource 
limits are essentially gone, you might as well take advantage of it.

> It would be better in most cases to have the client re-build a 
> connection more often, and allow those server children/threads 
> to take care of other requests in the meantime.

An idle thread costs very little (at least in a 64-bit world) - configure more 
of them.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


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

Reply via email to