tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "GOMEZ Henri" <>
Subject RE: [PATCH] mod_jk 1.2.0 workers pool
Date Fri, 21 Jun 2002 11:33:40 GMT
I started take a look at patches, 
but I didn't like the Sleep(10).

Why did you put a Sleep only in Windows case ?

Henri Gomez                 ___[_]____
EMAIL :        (. .)                     
PGP KEY : 697ECEDD    ...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 

>-----Original Message-----
>From: Mladen Turk []
>Sent: Friday, June 21, 2002 1:24 PM
>Subject: [PATCH] mod_jk 1.2.0 workers pool
>Think this solves a lot of problems (at least to my tests).
>Don't forget to add the worker.ajp13.poolsize=nn in the
> (this is the actual number of workers  (connections)
>to the TC), the default is 1.
>This value should be close to the number of predicted client
>connections, or to the desired no of TC threads. (didn't done some
>serious profiling).
>How it works:
>At startup we create the nn workers, and the actual clients gets
>serialized through those workers (nothing fancy, just a safe
>multithreading I hope).
>Need in the jk_worker.c solution for:
>+#ifdef WIN32
>+            Sleep(10);
>This is the loop that waits for a worker to finish serving request if
>non free has been found.
>That's it.

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

View raw message