Hi,

I found out that Apache is leaving a trace of semaphore arrays, even when is
down. Using this command:

> [root@server root]# ipcs -s

most of the output correspond to Apache. My question is: shouldn't this be
clean if I run the command:

> [root@server root]# service httpd stop

It seems that not...

If I run the command

> [root@server root]# ipcs -t

I can see that a lot of this are created (and/or modified) a long time ago.
And they were not destroyed even if I'm re-starting Apache every single day!

I need some clarification on this issue... Anybody could bring some light
into it...?

Should I manually remove some of this arrays (using the command ipcrm
("ipcrm will remove the resource speccified by id.", according to its man
page...)) to have fresh space to use...?

I'll appreciate any comment on this topic (or at least a direction to read
on...)

Regards,
Tomás


> Hello,
> 
> I'm running RedHat 7.3 with all the updates and Apache 1.3.23-14. Today,
> after the process of the log files, Apache refused to start, saying this:
> 
> [root@server shm]# service httpd start
> Starting httpd: Ouch! ap_mm_create(1048576, "/var/run/httpd.mm.31673")
> failed
> Error: MM: mm:core: failed to acquire semaphore (No space left on device):
> OS: Invalid argument
>                                                           [FAILED]
> 
> This is my disk structure:
> 
> [root@server shm]# df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sda3             1.4G  159M  1.2G  12% /
> /dev/sda1              45M   18M   25M  41% /boot
> /dev/sda6             3.7G  705M  2.7G  20% /home
> none                   61M     0   61M   0% /dev/shm
> /dev/sda5              10G  1.2G  8.3G  13% /usr
> /dev/sda2             1.4G  183M  1.1G  14% /var
> 
> How can I solve this? How can I prevent this to happen again...?
> 
> Thanks for any help!!!
> Tomás

+--                                --+
    Tomás García Ferrari
    Bigital
    http://bigital.com/
+--                                --+



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to