You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Semih Gokalp <se...@hotmail.com> on 2011/01/31 11:13:52 UTC
About maxThreads
Hi all users.
I'm using Tomcat 6.0.29 and I have changed to maxThreads parameter to 300 from 200 and restart tomcat but I have still getting below error in catalina log.
Could you please help me,why this parameter was not activated ? so what should i do for active this parameter ? If you help me,I will be happy.
server.xml
<Connector port="8080" protocol="HTTP/1.1" server="NONE" secure="true"
maxThreads="300" connectionTimeout="20000" URIEncoding="UTF-8" />
catalina.log
Jan 28, 2011 10:43:16 AM org.apache.tomcat.util.threads.ThreadPool logFull
SEVERE: All threads (200) are currently busy, waiting. Increase maxThreads (200) or check the servlet status
RE: About maxThreads
Posted by Semih Gokalp <se...@hotmail.com>.
Thanks for all useful information Konstantin.
> Date: Mon, 31 Jan 2011 16:07:16 +0300
> Subject: Re: About maxThreads
> From: knst.kolinko@gmail.com
> To: users@tomcat.apache.org
>
> 2011/1/31 Semih Gokalp <se...@hotmail.com>:
> > If it is possible,how can i see real time maxThread value that was set for connectors ?
>
> /manager/jmxproxy?qry=*%3Atype%3DThreadPool%2C*
>
> In Tomcat 6.0.30+ that will require a role of "manager" (deprecated)
> or of "manager-jmx" (new since 6.0.30).
>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
Re: About maxThreads
Posted by Konstantin Kolinko <kn...@gmail.com>.
2011/1/31 Semih Gokalp <se...@hotmail.com>:
> If it is possible,how can i see real time maxThread value that was set for connectors ?
/manager/jmxproxy?qry=*%3Atype%3DThreadPool%2C*
In Tomcat 6.0.30+ that will require a role of "manager" (deprecated)
or of "manager-jmx" (new since 6.0.30).
Best regards,
Konstantin Kolinko
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: About maxThreads
Posted by Semih Gokalp <se...@hotmail.com>.
Thanks everbody for helps.
Yes,we have two connector but we changed all apache ProxyPass settings to http from ajp but still some applications may be use ajp.I will check all of them and look again logs about ThreadPool logfull warning.
If it is possible,how can i see real time maxThread value that was set for connectors ?
Semih Gokalp
Istanbul/Turkiye
> Date: Mon, 31 Jan 2011 15:18:37 +0300
> Subject: Re: About maxThreads
> From: knst.kolinko@gmail.com
> To: users@tomcat.apache.org
>
> 2011/1/31 Semih Gokalp <se...@hotmail.com>:
> > I hope this is that you want output.The below output was printed in catalina.log when I start tomcat.If you want further informations,I can send.
> >
> >(...)
> > Jan 28, 2011 6:35:34 AM org.apache.coyote.http11.Http11Protocol start
> > INFO: Starting Coyote HTTP/1.1 on http-8080
> > Jan 28, 2011 6:35:35 AM org.apache.jk.common.ChannelSocket init
> > INFO: JK: ajp13 listening on /0.0.0.0:18001
>
> Yes, that is what I wanted.
>
> Note, that you have two connectors (HTTP one on 8080 and AJP one on 18001).
>
> So it might be that that was AJP one whose thread pool was exhausted.
>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
Re: About maxThreads
Posted by Konstantin Kolinko <kn...@gmail.com>.
2011/1/31 Semih Gokalp <se...@hotmail.com>:
> I hope this is that you want output.The below output was printed in catalina.log when I start tomcat.If you want further informations,I can send.
>
>(...)
> Jan 28, 2011 6:35:34 AM org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Jan 28, 2011 6:35:35 AM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:18001
Yes, that is what I wanted.
Note, that you have two connectors (HTTP one on 8080 and AJP one on 18001).
So it might be that that was AJP one whose thread pool was exhausted.
Best regards,
Konstantin Kolinko
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: About maxThreads
Posted by André Warnier <aw...@ice-sa.com>.
Can you paste the /whole/ of your server.xml file (comments and private stuff removed) ?
Paste it the message, do not send it as an attachment.
And, how are you starting Tomcat, and on which platform is this ?
Semih Gokalp wrote:
> Hi,
>
> Thanks for quick reply.
>
>>> 1) What connectors are you using? (What is printed in the logs when Tomcat starts?)
>
> I hope this is that you want output.The below output was printed in catalina.log when I start tomcat.If you want further informations,I can send.
>
> Jan 28, 2011 6:35:17 AM org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Jan 28, 2011 6:35:17 AM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 3814 ms
> Jan 28, 2011 6:35:17 AM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Jan 28, 2011 6:35:17 AM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/6.0.29
> Jan 28, 2011 6:35:17 AM org.apache.catalina.startup.HostConfig deployDirectory
> INFO: Deploying web application directory fim
> PropertiesUtils.init() propFile : /data/config/fim/fim.properties
> AbandonedObjectPool is used (org.apache.commons.dbcp.AbandonedObjectPool@367c218e)
> LogAbandoned: true
> RemoveAbandoned: true
> RemoveAbandonedTimeout: 300
> Est3DGate initing...
> Jan 28, 2011 6:35:34 AM org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Jan 28, 2011 6:35:35 AM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:18001
> Jan 28, 2011 6:35:35 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/694 config=null
> Jan 28, 2011 6:35:36 AM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 19050 ms
>
>
> >>2) Jan 28 is several days ago. Are you sure that it is not an old message?
>
> Yes,I am sure tomcat restart time is older then "ThreadPool logFull" output time.You can check restart time from above.
>
>
> Thanks again.
>
>
>
>> Date: Mon, 31 Jan 2011 13:31:20 +0300
>> Subject: Re: About maxThreads
>> From: knst.kolinko@gmail.com
>> To: users@tomcat.apache.org
>>
>> 2011/1/31 Semih Gokalp <se...@hotmail.com>:
>>> I'm using Tomcat 6.0.29 and I have changed to maxThreads parameter to 300 from 200 and restart tomcat but I have still getting below error in catalina log.
>>> server.xml
>>>
>>> <Connector port="8080" protocol="HTTP/1.1" server="NONE" secure="true"
>>> maxThreads="300" connectionTimeout="20000" URIEncoding="UTF-8" />
>>
>> 1) What connectors are you using? (What is printed in the logs when
>> Tomcat starts?)
>>
>> 2) Jan 28 is several days ago. Are you sure that it is not an old message?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: About maxThreads
Posted by Semih Gokalp <se...@hotmail.com>.
Hi,
Thanks for quick reply.
>> 1) What connectors are you using? (What is printed in the logs when Tomcat starts?)
I hope this is that you want output.The below output was printed in catalina.log when I start tomcat.If you want further informations,I can send.
Jan 28, 2011 6:35:17 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jan 28, 2011 6:35:17 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3814 ms
Jan 28, 2011 6:35:17 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jan 28, 2011 6:35:17 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.29
Jan 28, 2011 6:35:17 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory fim
PropertiesUtils.init() propFile : /data/config/fim/fim.properties
AbandonedObjectPool is used (org.apache.commons.dbcp.AbandonedObjectPool@367c218e)
LogAbandoned: true
RemoveAbandoned: true
RemoveAbandonedTimeout: 300
Est3DGate initing...
Jan 28, 2011 6:35:34 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jan 28, 2011 6:35:35 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:18001
Jan 28, 2011 6:35:35 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/694 config=null
Jan 28, 2011 6:35:36 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 19050 ms
>>2) Jan 28 is several days ago. Are you sure that it is not an old message?
Yes,I am sure tomcat restart time is older then "ThreadPool logFull" output time.You can check restart time from above.
Thanks again.
> Date: Mon, 31 Jan 2011 13:31:20 +0300
> Subject: Re: About maxThreads
> From: knst.kolinko@gmail.com
> To: users@tomcat.apache.org
>
> 2011/1/31 Semih Gokalp <se...@hotmail.com>:
> > I'm using Tomcat 6.0.29 and I have changed to maxThreads parameter to 300 from 200 and restart tomcat but I have still getting below error in catalina log.
> > server.xml
> >
> > <Connector port="8080" protocol="HTTP/1.1" server="NONE" secure="true"
> > maxThreads="300" connectionTimeout="20000" URIEncoding="UTF-8" />
>
>
> 1) What connectors are you using? (What is printed in the logs when
> Tomcat starts?)
>
> 2) Jan 28 is several days ago. Are you sure that it is not an old message?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
Re: About maxThreads
Posted by Konstantin Kolinko <kn...@gmail.com>.
2011/1/31 Semih Gokalp <se...@hotmail.com>:
> I'm using Tomcat 6.0.29 and I have changed to maxThreads parameter to 300 from 200 and restart tomcat but I have still getting below error in catalina log.
> server.xml
>
> <Connector port="8080" protocol="HTTP/1.1" server="NONE" secure="true"
> maxThreads="300" connectionTimeout="20000" URIEncoding="UTF-8" />
1) What connectors are you using? (What is printed in the logs when
Tomcat starts?)
2) Jan 28 is several days ago. Are you sure that it is not an old message?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org