Re: LOG: could not fork new process for connection: Cannot allocate memory

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: LOG: could not fork new process for connection: Cannot allocate memory
Date: 2016-08-25 19:57:16
Message-ID: 34d2a3ec-6465-b687-5ba3-a3c167a6434c@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 8/25/2016 11:49 AM, Ahsan Ali wrote:
>
> I having my production server service intruption because of this
> "Cannot allocate memory" error in the db log.

could you paste the whole error message?

what version of postgres is this?

what OS (if linux, distribution) version is this?

older versions of postgres require kernel.shmmax and some other settings
to be increased if you request larger shared_memory settings. this is
likely what you're running into.

--
john r pierce, recycling bits in santa cruz

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Theron Luhn 2016-08-25 20:00:42 Re: Understanding Postgres Memory Usage
Previous Message Tom Lane 2016-08-25 19:34:27 Re: Understanding Postgres Memory Usage