---------- Forwarded message ----------
From: Markus Pscheidt <markus.pscheidt@xxxxxxxxx>
Date: 2009/9/8
Subject: Re: Fail to start Postgres on Ubuntu kernel 2.6.28-15-generic
To: Filip Rembiałkowski <plk.zuber@xxxxxxxxx>
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
From: Markus Pscheidt <markus.pscheidt@xxxxxxxxx>
Date: 2009/9/8
Subject: Re: Fail to start Postgres on Ubuntu kernel 2.6.28-15-generic
To: Filip Rembiałkowski <plk.zuber@xxxxxxxxx>
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 ?
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