Re: BUG #4448: postgres won't start with latest stable kernel - Mailing list pgsql-bugs

From Don Harter
Subject Re: BUG #4448: postgres won't start with latest stable kernel
Date
Msg-id 48E69DCD.5050100@comcast.net
Whole thread Raw
In response to Re: BUG #4448: postgres won't start with latest stable kernel  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Tom Lane wrote:
> "Donald Harter" <harterc1@comcast.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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #4448: postgres won't start with latest stable kernel
Next
From: "Kevin M. Kilbride"
Date:
Subject: BUG #4449: allows "pg_ctl restart" to terminate idle processes