Re: Tomcat hangs every day

2013-05-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sascha, On 5/17/13 7:22 AM, Sascha Troll wrote: Can you give me a hint. I am just the server guy, so I can tell the developer. Tell the developers to set connection- and read-timeouts when using HttpClient (or whatever uses HttpClient). They

Re: Tomcat hangs every day

2013-05-17 Thread Christian Kaltepoth
Seems like you have a class called SearchClientRemoteClient which uses HTTPClient. Many threads seems to wait for remote responses. I guess you don't set any timeouts for the HTTPClient and therefore many threads hang in HttpClient.executeMethod() forever. You should ALWAYS set timeouts when using

Re: Tomcat hangs every day

2013-05-17 Thread Sascha Troll
Christian, thanks for this. Can you give me a hint. I am just the server guy, so I can tell the developer. Thanks a lot ! Sascha From: Christian Kaltepoth christ...@kaltepoth.de To: Tomcat Users List users@tomcat.apache.org Date: 17.05.2013 11:24 Subject:Re: Tomcat hangs

Re: Tomcat hangs every day

2013-05-17 Thread Christian Kaltepoth
To: Tomcat Users List users@tomcat.apache.org Date: 17.05.2013 11:24 Subject:Re: Tomcat hangs every day Sent by:chk...@gmail.com Seems like you have a class called SearchClientRemoteClient which uses HTTPClient. Many threads seems to wait for remote responses. I guess you don't set

R: Tomcat hangs every day

2013-05-17 Thread Paolo Botta
? Thx Paolo -Messaggio originale- Da: chk...@gmail.com [mailto:chk...@gmail.com] Per conto di Christian Kaltepoth Inviato: venerdì 17 maggio 2013 13:30 A: Tomcat Users List Oggetto: Re: Tomcat hangs every day Hey, I'm also not an expert for HttpClient, but when creating connections to remote

Re: Tomcat hangs every day

2013-05-17 Thread Howard W. Smith, Jr.
: venerdì 17 maggio 2013 13:30 A: Tomcat Users List Oggetto: Re: Tomcat hangs every day Hey, I'm also not an expert for HttpClient, but when creating connections to remote services it is usually a good idea to set connection timeouts and socket timeouts so that the client doesn't block forever