-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anand,
On 4/22/2009 1:35 AM, connossieur wrote:
> This is my Server.xml
Note you have two connectors defined:
>maxThreads="70" minSpareThreads="20"/>
> port="80" protocol="HTTP/1.1"
> connectionT
> From: connossieur [mailto:anand.b...@aricent.com]
> Subject: Re: Problem with maximum threads
>
> I realize that my Server.xml is not being used by the Tomcat engine.
I hope you also realize the file name must be server.xml, not Server.xml (case
matters).
- Chuck
THIS COMMU
t obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> Date: Wed, 22 Apr 2009 12:15:22 +0100
> From: p...@pidster.com
> To: users@tomcat.apache.org
> Subject: Re: Problem
why not start by creating a backup copy of your server.xml, and then
removing all of the commented out config.
it'll be easier to see what's going on that way...
p
connossieur wrote:
> I realize that my Server.xml is not being used by the Tomcat engine. I mean
> the Connector part.
> Should I
)
>> or
>> sysctl -w kern.maxproc=1 (or more?)
>>
>> (My kern.maxproc is currently set to 532 -- what a strange number --
>> while kern.maxprocperuid is currently 266).
>>
>> You can also set your defaults in /etc/sysctl.conf:
>>
>> kern.maxproc=1
&g
t; -------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
>
--
View this message in context:
http://www.nabble.com/Problem-with-max
t; -------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
>
--
View this message in context:
http://www.nabble.com/Problem-with-max
t; -------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
>
--
View this message in context:
http://www.nabble.com/Problem-with-max
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stephen,
On 4/21/2009 5:35 PM, Stephen Caine wrote:
> This is the number of threads Tomcat will handle before it errors with
> 'max threads reached. This is on OS X, 64 bit memory. The heap size is
> 2 gigs.
>
> If you know how to increase this num
> From: Stephen Caine [mailto:step...@commongrnd.com]
> Subject: Re: Problem with maximum threads
>
> This is the number of threads Tomcat will handle before
> it errors with 'max threads reached. This is on OS X, 64
> bit memory. The heap size is 2 gigs.
Looks like the
X in previous
posts to this list.
Stephen
On Apr 21, 2009, at 9:38 AM, Caldarale, Charles R wrote:
From: Stephen Caine [mailto:step...@commongrnd.com]
Subject: Re: Problem with maximum threads
However, the maximum number of threads Tomcat will
handle is somewhere about 2400.
I'm curious:
> From: connossieur [mailto:anand.b...@aricent.com]
> Subject: RE: Problem with maximum threads
>
> 1000 threads come up by themselves.
You're not answering the questions. To repeat:
1) Do you really have 1,000 threads in a runnable or waiting state,
all with the names htt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter,
On 4/21/2009 10:59 AM, Peter Crowther wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Also, please post a full thread
>> dump. I want to see 1000 complete stack traces, baby.
>
> Mmm, that's a good few kilos of car
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Also, please post a full thread
> dump. I want to see 1000 complete stack traces, baby.
Mmm, that's a good few kilos of carbon to shift the bits around the mailing
list subscribers ;-). Any chance of putting the thread dump on a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anand,
On 4/21/2009 9:57 AM, connossieur wrote:
> 1000 threads come up by themselves. I have configured Tomcat to spawn only 70
> threads.
Something must be wrong. Your executor configuration:
Does not match your thread dump:
RUNNABLE
"http-
1000 threads come up by themselves. I have configured Tomcat to spawn only 70
threads.
Also, I'll look for synchronization issues in the code.
:)
Caldarale, Charles R wrote:
>
>> From: connossieur [mailto:anand.b...@aricent.com]
>> Subject: Re: Problem with maximum threa
> From: connossieur [mailto:anand.b...@aricent.com]
> Subject: Re: Problem with maximum threads
>
> Should the code I write be thread safe?
Usually. If it's within a servlet, then it *must* be thread safe, since a
servlet instance may handle multiple requests simultaneously
> From: Stephen Caine [mailto:step...@commongrnd.com]
> Subject: Re: Problem with maximum threads
>
> However, the maximum number of threads Tomcat will
> handle is somewhere about 2400.
I'm curious: where did you conjure up that number? The actual limit will vary
ut
>> after
>> that time, the CPU consumption is maximum and idle is 0. Also, there
>> are
>> more than 1000 threads even if I have configured the maximum threads
>> to be
>> 70 in the configuration. There is no problem in the application code
?
Thanks,
Anand
--
View this message in context:
http://www.nabble.com/Problem-with-maximum-threads-tp23154175p23154175.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr
--
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
>
--
View this message in context:
http://www.nabble.com/Problem-with-maximum-threads-tp23154175p23
> From: connossieur [mailto:anand.b...@aricent.com]
> The application doesn't have problems as I tested it with
> Visual VM (profiler for java 6) on Windows.
OK. You've done more research than most, then - we get a lot of people blaming
Tomcat as the first thing they do, so we tend to have some
ilité pour le contenu fourni.
>
>
>
>
>
>
>> Date: Tue, 21 Apr 2009 04:34:58 -0700
>> From: anand.b...@aricent.com
>> To: users@tomcat.apache.org
>> Subject: Problem with maximum threads
>>
>>
>> Hi,
>>
>> I am using Tomcat
er aucune responsabilité
pour le contenu fourni.
> Date: Tue, 21 Apr 2009 04:34:58 -0700
> From: anand.b...@aricent.com
> To: users@tomcat.apache.org
> Subject: Problem with maximum threads
>
>
> Hi,
>
> I am using Tomcat 6.0.9 with the following server.xml conf
use jstack). What are
> the threads doing?
>
> - Peter
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
>
--
V
> From: connossieur [mailto:anand.b...@aricent.com]
> There is no problem in the application code.
How have you proved this?
Take a thread dump (you're on Java 1.6, so you can use jstack). What are the
threads doing?
- Peter
://www.nabble.com/Problem-with-maximum-threads-tp23154175p23154175.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
27 matches
Mail list logo