Re: [HACKERS] file descriptors leak?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
Cc: Gene Sokolov <hook(at)aktrad(dot)ru>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] file descriptors leak?
Date: 1999-11-02 19:20:05
Message-ID: 16700.941570405@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Oleg Bartunov <oleg(at)sai(dot)msu(dot)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

Browse pgsql-hackers by date

  From Date Subject
Next Message Aaron J. Seigo 1999-11-02 19:39:54 Re: [HACKERS] Get OID of just inserted record
Previous Message Tom Lane 1999-11-02 19:14:01 Re: [HACKERS] Get OID of just inserted record