tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kobi Biton <k...@comns.co.il>
Subject Re: Tomcat 6 busy threads issue
Date Thu, 06 Jan 2011 17:14:27 GMT
Hi Christopher thanks for the reply.

-Tomcat 6.0.22
- yes they are load balanced simple Round Robin Linux LVS  , (LB
distributes the requests evenly)
- All the servers (But 1) had the following thread pool confguration
prior the change:
   
   MaxThreads=1000 , minSpareThread=25,maxSpateThreads=75

1 server had:

  MaxThreads=300 , minSpareThread=25,maxSpateThreads=75

For some reason the server that had MaxThreads=300 report x2
threadCount / threadBusy Via JMX polling , only after changing its
maxThreads to 1000 the threadCount/threadBusy count was decreased x2 and
matched all the other servers

- Indeed busyThreads <= maxThreads

Just trying to figure out why did the maxThreads was Impacting the
threasd busy/count ...

Kobi

On Thu, 2011-01-06 at 12:05 -0500, Christopher Schultz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Kobi,
> 
> On 1/6/2011 11:26 AM, Kobi Biton wrote:
> > Recently I have exposed my tomcat 6
> 
> 6.what?
> 
> > instances via JMX for monitoring I noticed that 1 of the servers is
> > using twice the bust thread count then all others
> 
> Are they load-balanced in any way? That's good information to have. You
> meant "busy" threads, right?
> 
> > then I noticed a configuration diff the server had 300 as maxThreads
> > while all other had 1000 as MaxThreads After changing it all came
> > back to normal
> 
> What did you change and what is "normal"?
> 
> > can someone explain me what is the correlation between maxThreads
> > count to busyThreads ?
> 
> Presumably, busyThreads <= maxThreads.
> 
> Anything else?
> 
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAk0l9m4ACgkQ9CaO5/Lv0PDz5ACfZhVT+MFoIAIgbxVkpIiXpyPI
> lIYAn0BBA4K6uK32/0JjuuTGR5/M3pUl
> =sFxS
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

-- 
Kobi Biton
Com N S Ltd.

Mobile: +972 (54) 8017668


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message