---------- Forwarded message ----------
From: Markus Pscheidt <markus(dot)pscheidt(at)gmail(dot)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(dot)zuber(at)gmail(dot)com>
>
> quite a common problem... see
> http://www.postgresql.org/docs/8.3/static/kernel-resources.html
>
> 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
Markus