Re: Fail to start Postgres on Ubuntu kernel 2.6.28-15-generic

From: Markus Pscheidt <markus(dot)pscheidt(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Fail to start Postgres on Ubuntu kernel 2.6.28-15-generic
Date: 2009-09-08 13:28:43
Message-ID: e88459700909080628q3e018273oa92de0ed1624b058@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message BlackMage 2009-09-08 13:29:28 Order By Date Question
Previous Message Sam Mason 2009-09-08 10:13:28 Re: How to store data on an external drive