[CentOS] Apache won't start, semaphores exhausted
Fong Vang
sudoyang at gmail.com
Thu Oct 20 23:10:44 UTC 2005
On 10/4/05, Aleksandar Milivojevic <alex at milivojevic.org> wrote:
> Fong Vang wrote:
>
> > (or why the system does not release the semaphore if Apache
> > is no longer running).
>
> Because IPC resources (semaphores, message queues and shared memory
> segments) are not tied to a process, an process simply has access to
> them (and can request for resource to be created or destroyed). It is
> perfectly OK for a process to create any IPC resource, exit, and then
> some other process started at a later time to pick it up. If something
> is allocating IPC resources and not cleaning up behind itself, than it
> is a bug in application (where application != process). IPCs are
> outside of that nice box called process, so you should think outside of
> the box too.
Excellent. Is there a way to tell which process is creating these
semaphores? ipcs only lists the user/owner.
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
More information about the CentOS
mailing list