Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Sep 2000 18:11:05 +0200
From:      "Jose M. Alcaide" <jose@we.lc.ehu.es>
To:        Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>
Cc:        John Toon <j.a.toon@btinternet.com>, freebsd-stable@FreeBSD.ORG
Subject:   Re: SHMSEG and general shared memory settings
Message-ID:  <39B90F99.7AC3EAC7@we.lc.ehu.es>
References:  <200009081437.e88Eb7t03189@cwsys.cwsent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Cy Schubert - ITSD Open Systems Group wrote:
> 
> In message <39B8EA14.D76BFDD2@btinternet.com>, John Toon writes:
> >
> > Could I suggest that the generic kernel be changed from having a
> > SHMSEG=9 (as in LINT) to something higher?
> >
> > This setting is totally useless if you're planning on running XFre86-4.0
> > with something like GNOME; you simply run out of shared memory segments,
> > and consequently many programs just won't start up, issuing "X error of
> > failed request". The SHMSEG setting is also one of the "undocumented"
> > options in LINT, so consequently it was hard work trying to solve the
> > problem.
> >
> > I have since compiled my custom kernel with SHMSEG=1024, and everything
> > works beautifully.
> 
> Should not parameters like this be in loader.conf?  This would negate
> the need to build a new kernel when changing SYSV parameters.
> 

There are some sysctl tunables for SHM. I have these changed in
/etc/sysctl.conf (I am using XFree86 4.0.1, Gnome 1.2 and Sawfish 0.30.3
with no problems):

kern.ipc.shmseg=128
kern.ipc.shmall=2048
kern.ipc.shmmax=8388608

Cheers,
-- JMA
****** Jose M. Alcaide  //  jose@we.lc.ehu.es  //  jmas@FreeBSD.org ******
** "Beware of Programmers who carry screwdrivers" --  Leonard Brandwein **


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39B90F99.7AC3EAC7>