semaphores in apache webserver
hi all
Apache webserver is IBM_HTTP_Server/6.0.2.35 Apache/2.0.47 (Unix)
when I check the ipcs -s i get the below
what does the system, smsys represent ? how to clean them, after cleaning should I restart webserver ? please advice
also ,can I know, how much space is still available for the semaphores ?
Am new to forum, Guide me if any deviations in posting ?
Thanks
s 12582913 0x3300a142 --ra-ra-ra- iikts system
s 114294789 0xc800a142 --ra-ra-ra- iikts smsys
s 11534344 0x6400a142 --ra-ra-ra- iikts system
s 16777225 0xffffffff --ra------- iikts smsys
s 15728650 0xffffffff --ra------- i ikts smsys
s 15728651 0x6800a142 --ra-ra-ra- iikts system
s 15728652 0x6900a142 --ra-ra-ra- iikts system
s 13631501 0x3200a142 --ra-ra-ra- iikts system
s 12582926 0x6600a142 --ra-ra-ra- iikts system
s 14680079 0xf400a142 --ra-ra-ra- iikts system
s 17825808 0x3400a142 --ra-ra-ra- iikts system
s 12582929 0x6700a142 --ra-ra-ra- iikts system
s 12582930 0x6a00a142 --ra-ra-ra- iikts system
s 32505875 0xc800a52d --ra-ra-ra- pessl smsys
s 24117268 0xffffffff --ra------- pessl smsys
s 18874390 0xffffffff --ra------- pessl smsys
s 18874391 0x6900a52d --ra-ra-ra- pessl system
s 18874392 0x6800a52d --ra-ra-ra- pessl system
s 18874393 0x6700a52d --ra-ra-ra- pessl system
s 24117274 0x6600a52d --ra-ra-ra- pessl system
s 20971547 0x3400a52d --ra-ra-ra- pessl system
s 19922972 0x3300a52d --ra-ra-ra- pessl system
s 19922973 0x3200a52d --ra-ra-ra- pessl system
s 23068702 0x6a00a52d --ra-ra-ra- pessl system
s 18874399 0xf400a52d --ra-ra-ra- pessl system
s 275775530 0x6400a52d --ra-ra-ra- pessl system-
Hello :) Lost semaphores are generally caused by Apache experiencing an unclean shutdown. If this continues to be an issue and it prevents Apache from starting, the best thing to do would be to determine why Apache is crashing. The following command should help to clean up the lost semaphores: for shmid in `ipcs |grep nobody |awk '{print $2}'`; do ipcrm -s $shmid ; done
To see your current semaphores settings for memory, use a command such as:cat /proc/sys/kernel/sem
Thank you.0 -
Thank you for the Response. But i tried, cat /proc/sys/kernel/sem we do not have /proc this file system we have the following on our server . What is the location of /sem on this ? df -k Mounted on / /usr /var /tmp /proc /opt /root /glocks /sysmg /opt/ /logs /application /home 0 -
You can also view the settings with a command such as: ipcs -lm
Thank you.0
Please sign in to leave a comment.
Comments
3 comments