Hi,
Today Apache went down with the following error: semget: No space left on device. This is the second time in 5 weeks or so that this happened. Restarting apache won't do anything, I had to kill orphaned semaphores.
In case anyone else has this problem and searches the forum for it, the solution is:
ipcs -s | grep apache | perl -e 'while (<STDIN>) { @a=split(/\s+/); print `ipcrm -s $a[1]`}'
Well I Googled for the how and why of this error, and it seems to be all about ssl, and config errors:
"Perhaps this is already known, but there's a semaphore leak when httpd is started with SSL and the startup process is aborted because of a config problem. The process ends but the allocated semaphore is never
freed which, after repeated attempts, can lead to this: semget: No space left on device"
I am just using the apache config DirectAdmin creates, nothing weird is done by me, so is there an error in DA? Did anyone else have this problem?
I am running Apache Apache 1.3.34 on CentOS 4.3.
Today Apache went down with the following error: semget: No space left on device. This is the second time in 5 weeks or so that this happened. Restarting apache won't do anything, I had to kill orphaned semaphores.
In case anyone else has this problem and searches the forum for it, the solution is:
ipcs -s | grep apache | perl -e 'while (<STDIN>) { @a=split(/\s+/); print `ipcrm -s $a[1]`}'
Well I Googled for the how and why of this error, and it seems to be all about ssl, and config errors:
"Perhaps this is already known, but there's a semaphore leak when httpd is started with SSL and the startup process is aborted because of a config problem. The process ends but the allocated semaphore is never
freed which, after repeated attempts, can lead to this: semget: No space left on device"
I am just using the apache config DirectAdmin creates, nothing weird is done by me, so is there an error in DA? Did anyone else have this problem?
I am running Apache Apache 1.3.34 on CentOS 4.3.