Re: WEIRD CRASH?!?! - Mailing list pgsql-performance

From Tom Lane
Subject Re: WEIRD CRASH?!?!
Date
Msg-id 28320.1043458724@sss.pgh.pa.us
Whole thread Raw
In response to Re: WEIRD CRASH?!?!  (Noah Silverman <noah@allresearch.com>)
List pgsql-performance
Noah Silverman <noah@allresearch.com> writes:
> It actually looks like the problem was with file descriptors.  Our
> shell only had 1024 set, and we also have mysql running and using up a
> bunch of those.  We just upped to limit to 8000 to see it that would
> give postgres more room to breathe.

Ah-hah.  You might also want to set max_files_per_process (in
postgresql.conf) to something small enough to ensure Postgres can't run
you out of descriptors.  Linux has a bad habit of promising more than
it can deliver when Postgres asks how many FDs are okay to use.  The
max_files_per_process setting is useful to prevent Postgres from
believing whatever fairy-tale sysconf(3) tells it.

            regards, tom lane

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: Having trouble with backups (was: Re: Crash Recovery)
Next
From: Kevin Brown
Date:
Subject: Re: Mount options for Ext3?