Re: Shared Memory Issues

2000-09-09 Thread Lance Rocker
Hello, I too had problems with running out of shared mem segments, so I wrote my first ever perl script that does something useful for me. I've attached it to this email and I'll paste it in below too, for convenience. I noticed that many (most?) of the shared mem segments in use, when I was run

Re: Shared Memory Issues

2000-09-08 Thread void
On Fri, Sep 08, 2000 at 02:56:10PM +0100, John Toon wrote: > > However, it seems strange that you're getting non-attached memory > segments. Surely it is the job of the kernel to clean up after processes > (if they're badly programmed and don't do it themselves)? Perhaps one > program is leaking?

Re: Shared Memory Issues

2000-09-08 Thread John Toon
Lance Rocker wrote: > Hello, > > I too had problems with running out of shared mem segments, so I wrote > my first ever perl script that does something useful for me. I've > attached it to this email and I'll paste it in below too, for > convenience. > > I noticed that many (most?) of the shar

Re: Shared Memory Issues

2000-09-05 Thread John Toon
Clive Lin wrote: > > Hm... long time ago I asked google about those SHM* and > I thought SHMSEG may be the key point. Because SHMSEG stands for > maximum number of shared segments per process. Fantastic! You're absolutely correct. Everything is now working perfectly. My mistake had been to think

Re: Shared Memory Issues

2000-09-05 Thread Clive Lin
Hi, On Tue, Sep 05, 2000 at 10:30:05AM +0100, John Toon wrote: > options SEMMNI=100 > options SEMMNS=300 > options SEMUME=100 > options SEMMNU=150 > options SHMMAXPGS=16385 Would you like to try below ? options SHMALL=4097 options SHMMAX="(

Re: Shared Memory Issues

2000-09-05 Thread Mustafa Deeb
blem. > > > >The same with me. > > > > > I added > > > > options SHMMAXPGS=16385 > > options SHMMAX=(SHMMAXPGS*PAGE_SIZE+1) > > > > to my new kernel and recompiled. > > > >I tried this without success. > > > > > However,

Re: Shared Memory Issues

2000-09-05 Thread Konstantin Chuguev
have since > tried several recompiles of the kernel to fix the problem. > The same with me. > > I added > > options SHMMAXPGS=16385 > options SHMMAX=(SHMMAXPGS*PAGE_SIZE+1) > > to my new kernel and recompiled. > I tried this without success. > > However, under

Shared Memory Issues

2000-09-05 Thread John Toon
fix the problem. I added options SHMMAXPGS=16385 options SHMMAX=(SHMMAXPGS*PAGE_SIZE+1) to my new kernel and recompiled. However, under XFree86 4.0, I still seem to be getting shared memory issues. Compupic refuses to start under GNOME issuing X Error of failed request: BadAccess (attem