Re: Apache creates Semaphore

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

 



Hi Hemant,

On Fri, Nov 10, 2017 at 6:13 AM, Hemant Chaudhary
<hemantdude.chaudhary@xxxxxxxxx> wrote:
>
> Yes kill -Term works for me even without patch of code.

Good.

> I have one more doubt, I checked with ipcs command that there is only entry
> of semaphore and no entry in shared memory.
>
> If I have nothing in shared memory then why am I using semaphore?
> What are the critical section in apache for which it requires semaphores.

The IPC semaphore is for synchronization between processes, not
necessarily around a shared memory.
Here, for instance, it's to serialize the access of the listeners to
each (shared) listening socket.


Regards,
Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-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