File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Java Products and Servers and the fly likes Thread behaviour of Resin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Thread behaviour of Resin" Watch "Thread behaviour of Resin" New topic
Author

Thread behaviour of Resin

Raja Pratap
Greenhorn

Joined: Feb 13, 2006
Posts: 2
I have the following configuration:

<thread-pool>
<thread-max>250</thread-max>
<spare-thread-min>50</spare-thread-min>
</thread-pool>

What happens if my server gets more than 250 requests concurrently? And how do we know that the server is loaded with requests. Please let me know.

Thanks in advance.
Raja Pratap
Greenhorn

Joined: Feb 13, 2006
Posts: 2
I figured this out by myself.

When I have request number 251 and suppose if all the first 250 requests are still processing requests, then 251 request is queued until it has a free available thread to process the request.

This means that Resin queues all the requests if there are no available threads to process the request.
 
 
subject: Thread behaviour of Resin
 
Similar Threads
how to initialize the size of EJB objects? Help!
Removing threads from my thread pool
Jboss to Oracle Connectivity Problem
Connection Pooling
running out of ManagedConnections available