Skip site navigation (1)Skip section navigation (2)
Date:      06 Sep 2002 03:49:47 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        pirat <pirat@access.inet.co.th>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Gdk-WARNING **: shmget failed: error 28 (No space left on device)
Message-ID:  <1031298587.361.11.camel@gyros.marcuscom.com>
In-Reply-To: <20020906074320.GA91931@thai-aec.org>
References:  <20020905234732.GA71471@thai-aec.org> <1031279457.343.1.camel@gyros.marcuscom.com> <20020906031226.GB71471@thai-aec.org> <1031286878.343.50.camel@gyros.marcuscom.com>  <20020906074320.GA91931@thai-aec.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2002-09-06 at 03:43, pirat wrote:
> hi sirs,
> 
> many thanks indeed.
> i still have that message printed out again.
> where can i get such informations about kern.ipc.yyyy that you poited out ?
> i mean i want to read also ( actually feel ashame for asking all the time).
> 
> some times mozilla dies with
> 
> open dsp: Device not configured
> shmget: No space left on device
> Size = 450 x 45
> shmat: Invalid argument
> Gdk-ERROR **: BadAccess (attempt to access private resource denied)
>   serial 26 error_code 10 request_code 129 minor_code 1
> 
> like the one dies a few seconds ago.
> 
> anyway, so much thanks indeed for your kindly helps and hints.

Reading LINT will give you a little insight on what the various IPC
tunables mean, and man shmget will tell you a little about this
syscall.  I basically searched google for the message as a few users
have reported this in the past, and there haven't been any real good
conclusions.  What I found was related to SysV shared memory tuning.  

You may very well be running out of memory.  When shmget returns ENOSPC,
it means that the kernel was unable to allocate enough memory.  How much
memory does your machine have?  How many applications are you trying to
run at once?

Joe

> 
> with best regards,
> psr
> 
> On Fri, Sep 06, 2002 at 12:34:38AM -0400, Joe Marcus Clarke wrote:
> > Subject: Re: Gdk-WARNING **: shmget failed: error 28 (No space left on
> > 	device)
> > From: Joe Marcus Clarke <marcus@marcuscom.com>
> > To: pirat <pirat@access.inet.co.th>
> > Cc: freebsd-questions@FreeBSD.ORG
> > X-Mailer: Ximian Evolution 1.0.8 
> > Date: 06 Sep 2002 00:34:38 -0400
> > 
> > On Thu, 2002-09-05 at 23:12, pirat wrote:
> > > hi sirs,
> > > 
> > > On Thu, Sep 05, 2002 at 10:30:56PM -0400, Joe Marcus Clarke wrote:
> > > > Subject: Re: Gdk-WARNING **: shmget failed: error 28 (No space left on
> > > > 	device)
> > > > From: Joe Marcus Clarke <marcus@marcuscom.com>
> > > > To: pirat <pirat@access.inet.co.th>
> > > > 
> > > > On Thu, 2002-09-05 at 19:47, pirat wrote:
> > > > > hi sirs,
> > > > > 
> > > > > during this morning, mozilla dies very often with strange message mentioned above. am using mozilla 1.1
> > > > > 
> > > > > what device does the message refer to ?
> > > > 
> > > > Looks like you might be out of shared memory.  You might trying setting:
> > > > 
> > > > kern.ipc.shmmax=67108864
> > > > kern.ipc.shmall=32768
> > > > 
> > > > and see if the problem goes away.
> > > > 
> > > thanks.
> > > i still get the same printout after setting to new values.
> > > my machine is
> > > firak# uname -a
> > > FreeBSD firak.thai-aec.org 4.6-STABLE FreeBSD 4.6-STABLE #6: Fri Aug 23 14:56:15
> > >  ICT 2002     root@firak.thai-aec.org:/usr/obj/usr/src/sys/GENERIC  i386
> > > .
> > > 
> > > this small one is a local name server to my private segment.
> > > will it cause any damage to my machine ?
> > 
> > No, these are recommended when running very graphics intensive
> > applications (such as DVD players).  You may also want to up
> > kern.ipc.shmseg from 128 to 512, and see if the problem goes away:
> > 
> > kern.ipc.shmseg: 512
> > 
> > Joe
> > 
> > > 
> > > with best regards,
> > > psr.
> > > 
> > > 
> > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > with "unsubscribe freebsd-questions" in the body of the message
> > > 
> > -- 
> > PGP Key : http://www.marcuscom.com/pgp.asc
> > 
> > 
> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1031298587.361.11.camel>