Re: Tomcat fails to service requests after period of time
try your same test case with mod_proxy, after that switch to the tomcat user list Steve Gaunt wrote: HI, Has anyone else had any issue using mod_jk under heavy load.. It seems after a period of time(or large no. opf requests) under heavy load AJP connetor just hangs. It's crazy. All the ajp connections seem to be hanging in service mode, and the only way to recover this is to restart tomcat. I'm really stuck with this. Has anyone got success stories with jk2(mod)jk) under heavey load. Around 1/2-1 million hits/day. Steve -Original Message- From: Steve Gaunt Sent: Wed 19/10/2005 18:51 To: Tomcat Developers List; Tomcat Developers List Cc: Subject: Tomcat fails to service requests after period of time HI, Please, can any one help. I've googled but to no success. There seems also to be a problem in mod_jk , tomcat5, the jap connections build up slowly over the day. The problem seems to be that the connection via mod_jk (Port 8009) does not close, so the java/tomcat processes will not quit after responding to the request (or the other way around?). This problem occurs only in heavy load situations. After that I see many open socket connections an some tomcat processes that will not quit. Has any one suffered a similar problem?? these are the worker.property settings worker.insight.port=8009 worker.insight.type=ajp13 worker.insight.cachesize=200 # worker.insight.cache_timeout=60 # worker.insight.recycle_timeout=60 worker.insight.socket_keepalive=1 worker.insight.socket_timeout=60 # if the "retries" value is greater than three, # there will be a pause of 100 ms between each retry # so this would be a good value if your average response # time is 1.7 seconds: worker.insight.retries=20 Property for tomcat Steve __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.12.4/143 - Release Date: 10/19/2005 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat fails to service requests after period of time
ops sorry, this shouldn't be posted (or replied) here -> my fault, Steve, please repost to [EMAIL PROTECTED] On 10/20/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > 1) Can you reproduce it with a test? > 2) If you can, or as soon as you can, can you also reproduce it on a > standalone tomcat? > 3) You tried a stacktrace? > 4) How do you know it's AJP? > 5) Have you looked at the manager? /manager/status.html > > regards > Leon > > On 10/19/05, Steve Gaunt <[EMAIL PROTECTED]> wrote: > > HI, > > > > Has anyone else had any issue using mod_jk under heavy load.. > > > > It seems after a period of time(or large no. opf requests) under heavy load > > AJP connetor just hangs. It's crazy. > > All the ajp connections seem to be hanging in service mode, and the only > > way to recover this is to restart tomcat. I'm really stuck with this. > > Has anyone got success stories with jk2(mod)jk) under heavey load. Around > > 1/2-1 million hits/day. > > > > Steve > > > > -Original Message- > > From: Steve Gaunt > > Sent: Wed 19/10/2005 18:51 > > To: Tomcat Developers List; Tomcat Developers List > > Cc: > > Subject: Tomcat fails to service requests after period of time > > > > > > > > HI, > > > > > > > > Please, can any one help. I've googled but to no success. > > > > There seems also to be a problem in mod_jk , tomcat5, the jap > > connections build up slowly over the day. > > The problem seems to be that the connection via mod_jk (Port 8009) > > does > > not close, so the java/tomcat processes > > will not quit after responding to the request (or the other way > > around?). This problem occurs only in > > heavy load situations. After that I see many open socket > > connections an > > some tomcat processes that will not quit. > > > > Has any one suffered a similar problem?? > > > > these are the worker.property settings > > > > worker.insight.port=8009 > > worker.insight.type=ajp13 > > worker.insight.cachesize=200 > > > > # worker.insight.cache_timeout=60 > > # worker.insight.recycle_timeout=60 > > worker.insight.socket_keepalive=1 > > worker.insight.socket_timeout=60 > > > > # if the "retries" value is greater than three, > > # there will be a pause of 100 ms between each retry > > # so this would be a good value if your average response > > # time is 1.7 seconds: > > worker.insight.retries=20 > > > > > > Property for tomcat > > > > > enableLookups="false" redirectPort="8443" debug="0" > > minProcessors="75" > > maxProcessors="200" protocol="AJP/1.3"/> > > > > > > > > > > > > Steve > > > > > > > > > > > > __ > > This email has been scanned by the MessageLabs Email Security > > System. > > For more information please visit http://www.messagelabs.com/email > > > > __ > > > > > > __ > > This email has been scanned by the MessageLabs Email Security > > System. > > For more information please visit http://www.messagelabs.com/email > > > > __ > > > > > > > > __ > > This email has been scanned by the MessageLabs Email Security System. > > For more information please visit http://www.messagelabs.com/email > > __ > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat fails to service requests after period of time
1) Can you reproduce it with a test? 2) If you can, or as soon as you can, can you also reproduce it on a standalone tomcat? 3) You tried a stacktrace? 4) How do you know it's AJP? 5) Have you looked at the manager? /manager/status.html regards Leon On 10/19/05, Steve Gaunt <[EMAIL PROTECTED]> wrote: > HI, > > Has anyone else had any issue using mod_jk under heavy load.. > > It seems after a period of time(or large no. opf requests) under heavy load > AJP connetor just hangs. It's crazy. > All the ajp connections seem to be hanging in service mode, and the only way > to recover this is to restart tomcat. I'm really stuck with this. > Has anyone got success stories with jk2(mod)jk) under heavey load. Around > 1/2-1 million hits/day. > > Steve > > -Original Message- > From: Steve Gaunt > Sent: Wed 19/10/2005 18:51 > To: Tomcat Developers List; Tomcat Developers List > Cc: > Subject: Tomcat fails to service requests after period of time > > > > HI, > > > > Please, can any one help. I've googled but to no success. > > There seems also to be a problem in mod_jk , tomcat5, the jap > connections build up slowly over the day. > The problem seems to be that the connection via mod_jk (Port 8009) > does > not close, so the java/tomcat processes > will not quit after responding to the request (or the other way > around?). This problem occurs only in > heavy load situations. After that I see many open socket connections > an > some tomcat processes that will not quit. > > Has any one suffered a similar problem?? > > these are the worker.property settings > > worker.insight.port=8009 > worker.insight.type=ajp13 > worker.insight.cachesize=200 > > # worker.insight.cache_timeout=60 > # worker.insight.recycle_timeout=60 > worker.insight.socket_keepalive=1 > worker.insight.socket_timeout=60 > > # if the "retries" value is greater than three, > # there will be a pause of 100 ms between each retry > # so this would be a good value if your average response > # time is 1.7 seconds: > worker.insight.retries=20 > > > Property for tomcat > > enableLookups="false" redirectPort="8443" debug="0" minProcessors="75" > maxProcessors="200" protocol="AJP/1.3"/> > > > > > > Steve > > > > > __ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > __ > > __ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > __ > > > > __ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > __ > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat fails to service requests after period of time
HI, Has anyone else had any issue using mod_jk under heavy load.. It seems after a period of time(or large no. opf requests) under heavy load AJP connetor just hangs. It's crazy. All the ajp connections seem to be hanging in service mode, and the only way to recover this is to restart tomcat. I'm really stuck with this. Has anyone got success stories with jk2(mod)jk) under heavey load. Around 1/2-1 million hits/day. Steve -Original Message- From: Steve Gaunt Sent: Wed 19/10/2005 18:51 To: Tomcat Developers List; Tomcat Developers List Cc: Subject: Tomcat fails to service requests after period of time HI, Please, can any one help. I've googled but to no success. There seems also to be a problem in mod_jk , tomcat5, the jap connections build up slowly over the day. The problem seems to be that the connection via mod_jk (Port 8009) does not close, so the java/tomcat processes will not quit after responding to the request (or the other way around?). This problem occurs only in heavy load situations. After that I see many open socket connections an some tomcat processes that will not quit. Has any one suffered a similar problem?? these are the worker.property settings worker.insight.port=8009 worker.insight.type=ajp13 worker.insight.cachesize=200 # worker.insight.cache_timeout=60 # worker.insight.recycle_timeout=60 worker.insight.socket_keepalive=1 worker.insight.socket_timeout=60 # if the "retries" value is greater than three, # there will be a pause of 100 ms between each retry # so this would be a good value if your average response # time is 1.7 seconds: worker.insight.retries=20 Property for tomcat Steve __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __
Tomcat fails to service requests after period of time
HI, Please, can any one help. I've googled but to no success. There seems also to be a problem in mod_jk , tomcat5, the jap connections build up slowly over the day. The problem seems to be that the connection via mod_jk (Port 8009) does not close, so the java/tomcat processes will not quit after responding to the request (or the other way around?). This problem occurs only in heavy load situations. After that I see many open socket connections an some tomcat processes that will not quit. Has any one suffered a similar problem?? these are the worker.property settings worker.insight.port=8009 worker.insight.type=ajp13 worker.insight.cachesize=200 # worker.insight.cache_timeout=60 # worker.insight.recycle_timeout=60 worker.insight.socket_keepalive=1 worker.insight.socket_timeout=60 # if the "retries" value is greater than three, # there will be a pause of 100 ms between each retry # so this would be a good value if your average response # time is 1.7 seconds: worker.insight.retries=20 Property for tomcat Steve __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __
Tomcat fails to service requests after period of time
Hi I am using jboss 4,01, which is uses tomcat 5. WE have a web server(IIS) and use jk2 as the connection to the backend server(jboss 4,01). I have a web app mapped to a network drive to serve static pdf and html files. This uses tomcat because of authentication purposes(one of these reasons is users can be ip authenticated which cannot be done dynamically within IIS). This is a snippet of the server.xml file Where G:\ContentLoad is the mapped SAN drive, and is around 50G in size. With the above configuration, the application server over a period of time (around 300,000 requests) stops accepting any requests for PDF files. The ajp connectors just hang. Even if I browse locally(which uses the HTTP connector), the browser just hangs trying to load the pdf file. Is there a major configuration problem with mapped network drives for web appp. Has anyone else had similar issues?? Steve __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]