Date: Wed, 1 Mar 2000 07:36:53 -0500 (EST) From: Donn Miller <dmmiller@cvzoom.net> To: Thomas Graichen <graichen@innominate.de>, graichen@innominate.de Cc: current@FreeBSD.org Subject: Re: Two queries [ KDE / XFree86 ] Message-ID: <Pine.BSF.4.20.0003010733510.289-100000@lcm212.cvzoom.net> In-Reply-To: <news2mail-89ins0$igu$4@mate.bln.innominate.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1 Mar 2000, Thomas Graichen wrote: > > "XFree86-BigFont extension: shmat() failed, size = 4096, errno = 24" > > with those options the error is gone for me - i think the relevant > one is the SHMALL (the others are for postgres) - i found this out > by simply reading the piece of source of XFree86 which emits this > error and there is written that SHMALL should be at least 48M - so > 16k pages = 64M should be fine > > options SHMMAXPGS=4096 > options SHMALL=16384 > options SHMSEG=16 > options SEMMNI=32 > options SEMMNS=128 Here's what I've added to my kernel config to get rid of those errors: # Options for SHM options SHMMAXPGS=4097 options SHMSEG=128 It looks like SHMMAXPGS has to be a power of two + 1. (The original config file says options SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)" options SHMMAXPGS=1025 So, it looks like SHMMAXPGS has to be a power of two + 1. That's why I chose 4097 instead of 4096 - Donn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.20.0003010733510.289-100000>