httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: [users@httpd] Apache 2.0: Recommended Mutex types for Solaris 8,9,10
Date Thu, 06 Oct 2005 11:36:35 GMT
On Wed, Oct 05, 2005 at 03:36:45PM +0200, Axel-St├ęphane  SMORGRAV wrote:
> Joe, 
> 
> Thanks for replying to my post.
> 
> Isn't the AcceptMutex only used inside the parent process to serialise 
> the access to the accept(2) system call ?

It's used in *children* to do that, yes.

> Is your comment about cross-process mutex relevant for SSLMutex rather 
> than AcceptMutex , and would that mean that in your opinion although 
> it might be OK to use pthread for AcceptMutex it should be avoided in 
> the case of SSLMutex ?

The same concerns apply to both equally.  If the process crashes holding 
the SSLMutex then all processes which try to server SSL are liable to 
deadlock.

> Would you have any idea of the performance implications of using fcntl 
> or flock over sysvsem or pthread ?

No idea on Solaris, sorry, you'd have to benchmark this.

Regards,

joe

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message