On 27/03/2014 12:39 PM, "Frederik Nosi" <frederik.n...@postecom.it> wrote:
>
> Hi all,
>
> Having to deal with slow applications deployed under tomcat, with a
reverse proxy in front, frequently i've noticed that even when the frontend
timeouts and closes it's part of the TCP connection, the Tomcat thread
processing the request goes on and on till it finishes. Is there a way to
make the proccessing thread stop when the frontend connection get's closed?
>
>
> Thanks in advance,
>
> Frederik
>
What kind of application is this? What is the reason that the thread takes
longer than expected? Is it just the load on the app server or its waiting
on the backend database maybe? If load then for sure you can limit the
tomcat connector threads and the accept queue to reduce it and add some
more app servers. If backend connection then you can sync the client
timeout and the db connection timeout.

Reply via email to