quetz-mod_python-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Gallacher <...@jgassociates.ca>
Subject Re: new mod_python faq (fwd)
Date Tue, 18 Jul 2006 13:28:09 GMT
I'll deal with it.

Jim

Gregory (Grisha) Trubetskoy wrote:
> 
> This was sent to me directly, anyone willing to act on it? (I don't have
> the CPU cycles right now).
> 
> ---------- Forwarded message ----------
> Date: Mon, 17 Jul 2006 18:12:07 +0200
> To: grisha@ispol.com
> Subject: new mod_python faq
> 
> I think may be useful to add this question:
> 
> 2.30. Why do I get "No space left on device: Failed to create global
> mutex" ?
> 
> Because mod_python has get all the available semaphores of your os.
> To avoid this error on GNU/Linux do
> #ipcs (to see all locked semaphores)
> #for i in `ipcs | grep "www-data" | awk '{print $2}'`; do ipcrm -s $i;
> done
> 
> www-data is the user which runs apache[12] (in Debian)
> In this way you release all resources locked by apache[12]
> 
> If you want to increase the number of available semaphores append
> kernel.sem = 512 32000 100 512
> to your /etc/sysctl.conf
> and do
> #sysctl -p
> 
> ------------------------------
> Some of the content has benne derived from
> http://www.modpython.org/pipermail/mod_python/2005-April/017858.html
> 
> You can change anything you want of course :)
> Thank you for the great work
> (even if configuring mod_python in debian is painfully... )
> 
> 


Mime
View raw message