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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message