Re: [HACKERS] file descriptors leak? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] file descriptors leak?
Date
Msg-id 16700.941570405@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] file descriptors leak?  (Oleg Bartunov <oleg@sai.msu.su>)
List pgsql-hackers
Oleg Bartunov <oleg@sai.msu.su> writes:
>> Hmm, I see a postmaster with 8 open files and one backend with 34.
>> Doesn't look out of the ordinary to me.

> I see 617 open files (using lsof| grep post | wc).
> This is a Linux 2.0.37, postgres 6.5.3, 1 postamster and
> 10 backends.

About 60 FDs per backend, then.  That sounds fairly reasonable to me;
that's probably what fd.c thinks it should limit its usage to on your
platform.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Get OID of just inserted record
Next
From: "Aaron J. Seigo"
Date:
Subject: Re: [HACKERS] Get OID of just inserted record