Re: Fail to start Postgres on Ubuntu kernel 2.6.28-15-generic - Mailing list pgsql-general

From Markus Pscheidt
Subject Re: Fail to start Postgres on Ubuntu kernel 2.6.28-15-generic
Date
Msg-id e88459700909080628q3e018273oa92de0ed1624b058@mail.gmail.com
Whole thread Raw
In response to Fail to start Postgres on Ubuntu kernel 2.6.28-15-generic  (Markus Pscheidt <markus.pscheidt@gmail.com>)
List pgsql-general


---------- 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>




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


pgsql-general by date:

Previous
From: Sam Mason
Date:
Subject: Re: How to store data on an external drive
Next
From: Kristian Larsson
Date:
Subject: Adding integers ( > 8 bytes) to an inet