tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mladen Turk" <>
Subject mod_jk 1.2.0 workers pool
Date Thu, 20 Jun 2002 16:55:46 GMT

>>Can we make a worker to be per request created if none available is 
>>found, that way we will theoretically end up with MaxThreadsPerChild 
>>workers but reuse one if the done() was finished?
>May be ...
>We should speak about that in tomcat-dev where Costin
>and others could give us some precious advices

After spending with Henri two days of something that look like chasing a
ghosts, we came up wit some ideas and would like to hear second

What we have now is single ajp worker that is called from multiple
threads. Now there is almost no problems when the single client
connection, but multiple are causing problems.

My proposal is to create a new copy of the worker if
wc_get_worker_for_name returned worker is busy, and save that worker for
future use.

Something like wc_get_worker_for_name returning the list of workers, or
do that inside the wc_get_worker_for_name (IMO preferably).


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message