On Thu, 4 Jul 2002, Mladen Turk wrote:

> Hi,
> 
> We have still some problems with the threads and jvm attach/detach.
> The detaching is now done in the afterRequest (It was already there but
> commented), but that doesn't prevent the case of the premature request
> dying when we are processing a long request (ore hanged one) and trying
> to shutdown the server.
> 
> There fix for the Apache would be quite easy to implement (registering a
> pool cleanup for a request_rec), but the IIS imposes some problems.
> 
> IMO we are needing something like a TLS to fix that, or make the
> behavior similar to the apache's request rec, creating a pool for each
> request.
> Does anyone has some other ideas about that.

+1 on TLS, I think that would also give a bit of extra performance.

Note that you can't attach in one thread and use it in another - so
either attach/detach before/after requests or use a TLS plus 
a cleanup mechanism, the pool won't work.

Costin


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

Reply via email to