new mod_python faq (fwd)
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: [EMAIL PROTECTED] 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... )
Re: new mod_python faq (fwd)
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: [EMAIL PROTECTED] > 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... ) > >