>We have a serious problem with jk and apache2.
>Try running:
>ab -n 10000 -c 100 http://localhost:8000/examples/jsp/dates/date.jsp
>
>I have 59
>[Tue Jun 18 18:07:14 2002] [warn] [client 127.0.0.1] handler
>"jakarta-servlet" not found for: date.jsp
>
>Now, IMHO there is problem with map_uri_to_worker, cause it's 
>not thread
>safe, and the time spend in it causes apache to  recycle the 
>request_rec
>prior the function returns. Now the problem arises only with high
>concurrent load.
>
>The solution is possible using a mutex surrounding the call to
>map_uri_worker. (I'm having a working one with the CRITICAL_SECTION),
>but will translate to apr if no one objects.

I've no problem using APR for Apache 2.0, but since map_uri_to_worker
is common code, having #idef HAS_APR may not be the perfect solution.

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

Reply via email to