Re: BUG #4448: postgres won't start with latest stable kernel

From: Don Harter <donharter(at)comcast(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Donald Harter <harterc1(at)comcast(dot)net>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4448: postgres won't start with latest stable kernel
Date: 2008-10-03 22:33:49
Message-ID: 48E69DCD.5050100@comcast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom Lane wrote:
> "Donald Harter" <harterc1(at)comcast(dot)net> writes:
>
>> shmget(0x52e2c1, 39288832, IPC_CREAT|IPC_EXCL|0600) = -1 EINVAL (Invalid
>> argument)
>>
>
> Usually this means that SHMMAX is too small (as indeed Postgres tried
> to tell you).
>
> regards, tom lane
>
>
Yes Thank you this fixed it. I thought I had tried that before.
sysctl kernel.shmmax
kernel.shmmax = 33554432
sysctl -w kernel.shmmax = 134217728

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Kevin M. Kilbride 2008-10-05 09:22:16 BUG #4449: allows "pg_ctl restart" to terminate idle processes
Previous Message Tom Lane 2008-10-03 20:05:02 Re: BUG #4448: postgres won't start with latest stable kernel