---------- Forwarded message ---------- From: Markus Pscheidt<markus.pscheidt@gmail.com> Date: 2009/9/8 Subject: Re: [GENERAL] Fail to start Postgres on Ubuntu kernel 2.6.28-15-generic To: Filip Rembiałkowski <plk.zuber@gmail.com>
obvious question: what's in /proc/sys/kernel/shmmax ?
Thanks for your help. /proc/sys/kernel/shmmax was just a bit below the shared memory requested by Postgres.
Increasing the kernel's maximum shared memory did the job by adding a line to /etc/sysctl.conf and thereby inreasing it to 100MB: kernel.shmmax = 104857600