Re: [users@httpd] Apache 2.0: Recommended Mutex types for Solaris 8,9,10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux