[LON-CAPA-dev] Occasional strangeness

Jeremy Bowers lon-capa-dev@mail.lon-capa.org
Fri, 04 Oct 2002 16:34:49 -0400


Martin Siegert wrote:
> Hello,
> 
> this sounds like running out of shared memory segments and/or 
> semaphores. If a program crashes, it leaves behind the shared
> memory segments and semaphores that it used.
> The following two scripts will get rid of them:

Thanks! Just so I get the error message into a searchable form, let me 
enter this for posterity's sake:


Ouch! ap_mm_create(1048576, "/var/run/httpd.mm.6883") failed
Error: MM: mm:core: failed to acquire semaphore (No space left on 
device): OS: Invalid argument

It can be fixed with Martin's posted scripts. (Note I just squished them 
into one script.)