Skip site navigation (1)Skip section navigation (2)
Date:      06 Sep 2002 12:30:10 -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:  <1031329811.342.22.camel@gyros.marcuscom.com>
In-Reply-To: <20020906084308.GB91931@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> <1031298587.361.11.camel@gyros.marcuscom.com>  <20020906084308.GB91931@thai-aec.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2002-09-06 at 04:43, pirat wrote:
> hi sirs,
> 
> On Fri, Sep 06, 2002 at 03:49:47AM -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 03:49:47 -0400
> > 
> > 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.  
> > 
> 
> oh yes i really forgot my best friends , LINT and google.
> 
> > 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?
> > 
> 
> the amount of RAM is quite small, only 640 megabytes.  i did not customize the kernel as you can see from my previous uname -a output.  i just started kde from XFree version 3 and mozilla, making some ports, try using xml by amaya. and that's all that i can do.
> 
> once again much thanks for your kindness and good helps.

Another thing to check is perhaps if you have any per-user limits
configured that could restrict the amount of memory used.  Run limits,
and see if you're restricting any of the options.  On my laptop which
has 512 MB of RAM (and doesn't encounter this problem), I have:

Resource limits (current):
  cputime          infinity secs
  filesize         infinity kb
  datasize           524288 kb
  stacksize           65536 kb
  coredumpsize     infinity kb
  memoryuse        infinity kb
  memorylocked     infinity kb
  maxprocesses         3675
  openfiles            7351
  sbsize           infinity bytes
  vmemoryuse       infinity kb

Joe

> 
> with best regards,
> pirat sriyotha.
> > Joe
> > 
> 
-- 
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?1031329811.342.22.camel>