[Bug 264336] Re: pgsql fails to start due to shared buffer setting greater than kernel allows

Andy Whitcroft apw at canonical.com
Fri Sep 3 13:29:10 UTC 2010


It does appear that these errors are triggered due to the per-segment
limit being 32MB.  People can work round this by either reducing the
size of the segment in their application or by increasing the kernel
limit using sysctl, this can be made permenant using files in
/etc/sysctl.d.  These should persist over an upgrade.

The default value in the kernel does not appear to have changed since
Hardy at 32MB, so its not clear that we should change the default at the
kernel level.  It may be appropriate to ship a /etc/sysctl.d file to
update this with postgres if its defaults require more than the default
kernel limit.  Else it may be a documentation issue for those
configuring larger databases.

-- 
pgsql fails to start due to shared buffer setting greater than kernel allows
https://bugs.launchpad.net/bugs/264336
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list