tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: Thread pool per webapp?
Date Sat, 04 Nov 2006 17:11:57 GMT
Dave-
to look at all of the properties of all the attributes you can do so by interrogating jmxproxy
..assuming tomcat is running on localhost and
listener is configured on 8080
http://localhost:8080/manager/jmxproxy/?qry=*%3Atype%3DRequestProcessor%2C*

I guess I dont understand the nomenclature of "partition threads between webapps" maybe you
can explain this to us?
I have a servlet which lists free and working threads  ..more to come when completed later
on this weekend..

Thx,
M-
This e-mail communication and any attachments may contain confidential and privileged information
for the use of the 
designated recipients named above. If you are not the intended recipient, you are hereby notified
that you have received
this communication in error and that any review, disclosure, dissemination, distribution or
copying of it or its 
contents
----- Original Message ----- 
From: "David Smith" <dns4@cornell.edu>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Friday, November 03, 2006 7:31 PM
Subject: Re: Thread pool per webapp?


> Well I was actually holding off because the internal threading of tomcat 
> isn't my area.  But if you insist, I have never seen any configuration 
> parameters that effectively partition threads between webapps.
> 
> --David
> 
> Martin Gainty wrote:
>> Boys-
>>
>> Why do you not post your answers?
>> Do you have a solution or your solution is to whine like 10 year olds?
>> Stay on point and provide an answer
>>
>> M-
>> This e-mail communication and any attachments may contain confidential and privileged
information for the use of the 
>> designated recipients named above. If you are not the intended recipient, you are
hereby notified that you have received
>> this communication in error and that any review, disclosure, dissemination, distribution
or copying of it or its 
>> contents
>> ----- Original Message ----- 
>> From: "David Smith" <dns4@cornell.edu>
>> To: "Tomcat Users List" <users@tomcat.apache.org>
>> Sent: Friday, November 03, 2006 5:21 PM
>> Subject: Re: Thread pool per webapp?
>>
>>
>>   
>>> Lol!  I was starting to get the same impression. :-)
>>>
>>> --David
>>>
>>> Christopher Schultz wrote:
>>>     
>>>> Tomcat List,
>>>>
>>>> Does anyone else suspect that Martin is actually an expert system
>>>> designed to read and respond to mailing list posts, but is totally
>>>> failing the Turing test?
>>>>
>>>> -chris
>>>>
>>>> Martin Gainty wrote:
>>>>   
>>>>       
>>>>> Huy
>>>>>
>>>>> This RequestProcessor enqueues requests and services on as needed basis....you
can easily substitute jdbc connections for corba connections
>>>>> http://www.koders.com/java/fid327B70539EF40AE0E75381B058FB06D9B1BFFE61.aspx
>>>>>
>>>>> M-
>>>>> This e-mail communication and any attachments may contain confidential
and privileged information for the use of the 
>>>>> designated recipients named above. If you are not the intended recipient,
you are hereby notified that you have received
>>>>> this communication in error and that any review, disclosure, dissemination,
distribution or copying of it or its 
>>>>> contents
>>>>> ----- Original Message ----- 
>>>>> From: "Huy Vo (hvo)" <hvo@cisco.com>
>>>>> To: "Tomcat Users List" <users@tomcat.apache.org>
>>>>> Sent: Friday, November 03, 2006 3:27 PM
>>>>> Subject: Thread pool per webapp?
>>>>>
>>>>>
>>>>> Hi,
>>>>>  
>>>>> I am wondering whether Tomcat supports thread pool configuration for
>>>>> each webapp.  My understanding is that all webapps share the pool
>>>>> configured for the connector.
>>>>>  
>>>>> Let's say I have webapps A and B, and A is more critical webapp.  Let's
>>>>> say my connector's pool size is 100, and there are 100 concurrent
>>>>> requests destined for A and B each (so total 200 requests here).  I
>>>>> would like to allocate 70 threads to process A's requests, and only 30
>>>>> for B's.
>>>>>  
>>>>> Is this something that Tomcat supports?  If not, what would be a good
>>>>> alternative strategy for it?  I am thinking of using a RequestProcessor
>>>>> to reject requests depending on its destination but that is not very
>>>>> elegant as requests are rejected instead of being queued.
>>>>>  
>>>>> Thanks in advance.
>>>>>  
>>>>> Regards.
>>>>>  
>>>>> ===================
>>>>> Huy T. Vo
>>>>> Voice: 408-853-0535
>>>>> Fax:    408-853-4021
>>>>>  
>>>>>     
>>>>>         
>>>>   
>>>>       
>>> ---------------------------------------------------------------------
>>> To start a new topic, e-mail: users@tomcat.apache.org
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>     
>> >
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
>
Mime
View raw message