On Fri, 24 Jun 2005, Jim Gallacher wrote:

Gregory (Grisha) Trubetskoy wrote:

Yeah, we've got to be inline with the HTTP Project - prefork is the default on unix systems, so we have to abide by it...

So I guess the solution is that we need to reserve two locks instead of just one?

It seems a shame to waste locks if they are not going to be used. I don't think there is a deadlock problem if lock index 0 is used for both DbmSession file locking and psp cache file locking. In both cases the lock is held for a short time. I'm not sure what impact this would have on performance, but I guess it could become a bottleneck.

I'm +1 on this (assuming it works). I don't think this is going to be a performance problem.

Grisha

Reply via email to