Re: xBSD shmem doc deficiency - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: xBSD shmem doc deficiency
Date
Msg-id 00cd01c29192$c0d766f0$6600a8c0@internal
Whole thread Raw
In response to xBSD shmem doc deficiency  (Neil Conway <neilc@samurai.com>)
List pgsql-hackers
Hi Neil,

> However, the FreeBSD box I'm playing with isn't mine, so I'm not too
> keen to change sysctls (well, that and I don't have root :-) ). Would
> a kind BSD user confirm that:
>
>         (a) the sysctls above *can* be used to change kernel shared
>             memory settings, and the default value of the sysctl is
>             the kernel option referred to in the docs.

Unless this has changed in 4.7, lots of those shm sysctls are
read-only...ie. you cannot set the shared memory pool size at runtime.  I'll
look at it again tho.

>         (c) the 'prevent shared memory paging' sysctl vaguely referred
>             to in the docs is 'kern.ipc.shm_use_phys', right?

I'll have to investigate that one...

Chris




pgsql-hackers by date:

Previous
From: Rod Taylor
Date:
Subject: Re: [GENERAL] Bug with sequence
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] Bug with sequence