RE: Tomcat stops taking connections

2004-02-04 Thread Ryan Lissack
Hi Lars,

Are you are running RedHat 9?  If you are, and you are not seeing any 'All
threads are busy' messages in your logs, then it could be NPTL related.

See the following thread:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg105689.html
and more specifically this message for a potential resolution:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg106581.html

Regards,
Ryan.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat stops taking connections

2004-02-04 Thread STOCKHOLM, Raymond
Try increasing maxThreads="150" to something corresponding to your max load.
I had the same problem under tomcat 4.1.18, and increasing maxThreads 
from 75 to 400 resolved my problem : 
my average number of users connected=300.


-Message d'origine-
De : Lars Both [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 4 février 2004 16:24
À : [EMAIL PROTECTED]
Objet : Tomcat stops taking connections



Hi All!

I have this problem. I run Tomcat and it seems to be stable, but after a 
while under 'heavy' load it stops taking connections - actually 
connections aren't refused they just don't return. And it won't take any 
more connections until it has been restarted.

Tomcat version is 5.0.18, it is running under Redhat, the Connector is the 
default:



Tomcat does not crash. A thread i started from within some class is still 
running (maybe this is independed), also tomcat still accepts connections 
on the server-port:



Although i honestly dont know what this is for...

Sorry for this lousy description, hope there were enough information so 
that anybody got an idea of my problem..

Lars

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat stops taking connections

2004-02-04 Thread Shapira, Yoav

Howdy,

>I have this problem. I run Tomcat and it seems to be stable, but after
a
>while under 'heavy' load it stops taking connections - actually
>connections aren't refused they just don't return. And it won't take
any
>more connections until it has been restarted.

So requests?  For how long?

If all request processing threads are busy, and the max amount of
request processing threads has been creating, tomcat will queue requests
(up to the acceptCount configured for the connector, 100 in your case),
and only if the queue is full will requests be rejected.  So you might
be seeing the 100 requests getting queued up until a processing thread
is ready to service them.

>
>
>Although i honestly dont know what this is for...

That's for shutting down tomcat.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]