Tomcat crashes - Maximum number of threads (200) created for connector with address null and port 8500

Gurus,

I'm experiencing several Tomcat 6 crashes because the maximum number of threads is being exceeded.

Error: Maximum number of threads (200) created for connector with address null and port 8500

However, I have this set to 1024.

 
    <!--The connectors can use a shared executor, you can define one or more nam
ed thread pools-->
    <!--
    <Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
        maxThreads="1024" minSpareThreads="4"/>

What am I missing here?
xbox360dpAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CEHJCommented:
Make sure you haven't more than one Tomcat instance running
0
xbox360dpAuthor Commented:
I have 3 other tomcat instances running.

Why would this be a problem?
0
CEHJCommented:
Because the message you're getting might not be from the instance you think

Moreover, if you have no fewer than 3 running on the same box, the OS might not be able to cope with the number of threads
0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

xbox360dpAuthor Commented:
Interesting ...

There is no way around me having multiple tomcat instances on the same server. What would you recommend?
0
CEHJCommented:
What OS is it?
0
xbox360dpAuthor Commented:
Oracle Solaris 10 64bit
0
CEHJCommented:
Don't know that flavour, but if my comments are along the right lines, you could start looking into max file handles, max processes, user quotas etc.
0
ariohCommented:
are you sure than lines from server.xml you posted are not commented?
as I see they are commented, so there may be no Executor at all

   <!--  comment starts here
    <Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
        maxThreads="1024" minSpareThreads="4"/>

there is also "maxThreads" parameter, that you can set on "Connector"
see http://tomcat.apache.org/tomcat-6.0-doc/config/http.html
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CEHJCommented:
What was the problem?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.