Unable to start Apache: (28)No space left on device: AH00023: Couldn't create the mutex

Follow

Comments

5 comments

  • Avatar
    Denis Pavlov

    Hi, for to release semaphores of other software, you need to use the following line:

    for i in `ipcs -s | awk '/httpd/{ next; } {print $2}'`; do (ipcrm -s $i); done

     

    0
    Comment actions Permalink
  • Avatar
    burnleyvic

    Think the results should be sorted first:

    ipcs -s | awk '{print $3}' | uniq -c
    1
    1 Arrays
    1 owner
    53 apache
    1 root
    126 apache
    1

    ipcs -s | awk '{print $3}' | sort | uniq -c
    2
    179 apache
    1 Arrays
    1 owner
    1 root

    0
    Comment actions Permalink
  • Avatar
    Alisa Kasyanova

    @Adi Pircalabu
    Yes, it seems to be helpful. I have updated the article accordingly. Thank you!

    0
    Comment actions Permalink
  • Avatar
    burnleyvic

    For a cleaner output can also run:

    ipcs -s | awk '{print $3}' | egrep -v '(Arrays|owner|^$)' | sort | uniq -c

    0
    Comment actions Permalink
  • Avatar
    Alexandr Bashurov

    @Adi Pircalabu,

    I have modified the commands in the article to exclude headers of the utility (hence the cleaner output), and spawn no awk processes.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request