From owner-freebsd-questions Fri Sep 6 0:50:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C74037B405 for ; Fri, 6 Sep 2002 00:50:07 -0700 (PDT) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC4B243E75 for ; Fri, 6 Sep 2002 00:50:06 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from gyros (gyros.marcuscom.com [192.168.1.9]) by creme-brulee.marcuscom.com (8.12.5/8.12.5) with ESMTP id g867mBix074898; Fri, 6 Sep 2002 03:48:11 -0400 (EDT) (envelope-from marcus@marcuscom.com) Subject: Re: Gdk-WARNING **: shmget failed: error 28 (No space left on device) From: Joe Marcus Clarke To: pirat Cc: freebsd-questions@FreeBSD.ORG 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> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 06 Sep 2002 03:49:47 -0400 Message-Id: <1031298587.361.11.camel@gyros.marcuscom.com> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 > > To: pirat > > 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 > > > > To: pirat > > > > > > > > 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