You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christopher Schultz <ch...@christopherschultz.net> on 2012/05/01 16:46:50 UTC
Re: determining cause of MaxThreads exhausted
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Miguel,
On 4/13/12 4:40 PM, Miguel González Castaños wrote:
>
>>> The app sends massive emails to users with some info that
>>> requires users to log on the webapp and fill in some forms. It
>>> seems (without any logs or metrics) that people tend to fill
>>> the forms right away after they got the emails and together
>>> with the mailing process (that requires DB use to get email
>>> addresses) is exhausting the maxthreads connections (300 as of
>>> yesterday which I have increased to 400).
>> Are you running out of request processors (<Connector>
>> maxThreads) or are you running out of database connections
>> (<Resource> maxActive)?
> MaxThreads
>> Yes: log the timestamp of each access, then use one of the many
>> fine web server analysis tools to get a picture (literally) of
>> your volume.
> I have an access log with timestamps, which tool do you recommend
> to get an analysis?
http://lmgtfy.com/?q=web+server+log+analysis
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk+f91oACgkQ9CaO5/Lv0PB0oACePzOY8ojlBL03lj8WGCUSgGXb
KOIAn2Rdpwi9t2UCr4DrkI25YWdIi+Tl
=PbcW
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org