divarin (divarin) wrote in apache,
divarin
divarin
apache

semophores

I often get this problem where apache (and apache-ssl) end up using so many semophores I can't launch them again or they even shut themselves off.

I'm currently running both servers as seperate daemons rather than using apache with mod-ssl. Don't ask me why it just ended up that way. Anyway I've had this problem before I installed apache-ssl so I'm pretty sure it's not the fact that I'm running both that's causing it.

I can clear the semophores by shutting down the servers and issueing this command:

ipcs -s -t | cut -f 1 -d " " | egrep "^[0-9]+$" | xargs ipcrm sem

but I'd like to hear if anyone else has had this kind of issue and if anyone has come up with a solution. I'd prefer to get it to run without me having to restart the servers every few days.
Subscribe
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments