Re: Too many Open files error for postgres

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Geo P(dot)C(dot)" <pcgeopc(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Too many Open files error for postgres
Date: 2016-06-21 14:09:40
Message-ID: 8751.1466518180@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Geo P.C." <pcgeopc(at)gmail(dot)com> writes:
> In Ubuntu 14.04 server on a JAVA Application we are getting Too many Open
> files error for postgres.

How many server processes are you trying to use? I suspect you are
hitting the system-wide file table limit not the per-process limit.
Best answer might be to decrease PG's max_files_per_process setting
rather than try to persuade the kernel to increase its limit.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Slavcho Trnkovski 2016-06-21 15:26:12 Re: WAL retention
Previous Message Geo P.C. 2016-06-21 13:51:40 Too many Open files error for postgres