-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris,

On 5/4/2009 9:52 AM, Chris Stewart wrote:
> Here's an exception from that day:
> 
> Apr 27, 2009 8:28:50 AM org.apache.catalina.core.StandardWrapperValve
> invoke
> SEVERE: Servlet.service() for servlet Faces Servlet threw exception
> java.lang.OutOfMemoryError: unable to create new native thread

Now that's a different story: you're out of threads, not memory. It's
too bad the JVM reports OOME when it really is another type of error.

Can you post your <Connector> configurations? I use the plural because I
suspect you have two <Connector> definitions: one for HTTP and one for
HTTPS.

If the ones posted on the 28th are still valid, then you have a maximum
of 400 threads for your HTTPS connector and 40 (the default) for your
HTTP connector. 440 seems like a low number to be hitting your maximum
on your OS, even if it /is/ Microsoft Windows.

Are you running more threads for anything else such as Quartz or
anything like that? Take a thread dump to see what other threads are
running. Maybe you've got something that's creating way more threads
then you think it should be.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkn/RzkACgkQ9CaO5/Lv0PCdiQCgv3dHbpnv8bOXedsTEQOM85LI
OKkAoMHnj0UWGXGsA7k7ctKWb277E4eC
=DP0E
-----END PGP SIGNATURE-----

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

Reply via email to