Re: could not fork new process for connection: Resource temporarily unavailable

From: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "'Jimit Amin *EXTERN*'" <jimitamin9(at)gmail(dot)com>, Postgresql General <pgsql-general(at)postgresql(dot)org>
Subject: Re: could not fork new process for connection: Resource temporarily unavailable
Date: 2015-07-15 08:48:40
Message-ID: A737B7A37273E048B164557ADEF4A58B50F6FACF@ntex2010a.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jimit Amin wrote:
> I have heavy transaction load production database 9.3 PPAS .Today Database is not able to give new
> process. I checked pg_stat_activity , there are so many transaction in waiting stage because of one
> procedure and lock on one table (Code inside procedure)

[...]

> could not fork new process for connection: Resource temporarily unavailable
> could not fork new process for connection: Resource temporarily unavailable
> could not fork autovacuum worker process: Resource temporarily unavailable
> could not fork new process for connection: Resource temporarily unavailable
> could not fork new process for connection: Resource temporarily unavailable

Your machine is running out of system resources needed to create new processes.

This might help:
http://stackoverflow.com/questions/12079087/fork-retry-resource-temporarily-unavailable

Yours,
Laurenz Albe

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mitu Verma 2015-07-15 09:54:41 Re: unexpected data beyond EOF in block 260 of relation pg_tblspc
Previous Message Andreas Kretschmer 2015-07-15 08:34:14 [9.5] next question: rls and indexes