The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

semaphores in apache webserver

Discussion in 'General Discussion' started by SUJ1, Jan 8, 2015.

  1. SUJ1

    SUJ1 Registered

    Joined:
    Jan 8, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    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

    Code:
    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
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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:

    Code:
    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:

    Code:
    cat /proc/sys/kernel/sem
    Thank you.
     
  3. SUJ1

    SUJ1 Registered

    Joined:
    Jan 8, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    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
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page