shmget errors

2005-12-15 Thread Morten A. Middelthon
Hi, I've seen this problem discussed before on various mailinglists and forums, but never any real solutions. It seems to happen right after a video player, such as totem or mplayer, has crashed. They might crash for different reasons, but the problem afterwards is always the same. Mplayer

Re: shmget errors

2005-12-15 Thread Oliver Fromme
Morten A. Middelthon [EMAIL PROTECTED] wrote: I've seen this problem discussed before on various mailinglists and forums, but never any real solutions. What you describe is an inherent problem with so-called System-V shared memory (SysV ShMem) which doesn't have a simple solution. But read

Re: shmget errors

2005-12-15 Thread Morten A. Middelthon
On Thu, Dec 15, 2005 at 03:22:04PM +0100, Oliver Fromme wrote: Morten A. Middelthon [EMAIL PROTECTED] wrote: I've seen this problem discussed before on various mailinglists and forums, but never any real solutions. What you describe is an inherent problem with so-called System-V shared

Re: shmget errors

2005-12-15 Thread Peter Jeremy
On Thu, 2005-Dec-15 15:22:04 +0100, Oliver Fromme wrote: Also, the following shell snippet might be helpful: ipcs | awk '($1==m){print $2}' | xargs -n 1 -t ipcrm -m ipca -ma | awk '$9 == 0{print $2}' | xargs -n 1 -t ipcrm -m has the advantage of only removing segments with no processes