Re: [GENERAL] leaking FD's ?

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Michael Simms <grim(at)argh(dot)demon(dot)co(dot)uk>
Cc: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] leaking FD's ?
Date: 1999-10-05 04:06:48
Message-ID: 199910050406.AAA28628@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Hi
>
> I am running a process that does a fair number of selects and updates but
> nothing too complex.
>
> I have the postmaster starting like such:
>
> /usr/bin/postmaster -o "-F -S 10240" -d 1 -N 128 -B 256 -D/var/lib/pgsql/data -o -F > /tmp/postmasterout 2> /tmp/postmastererr
>
> Now, looking at that, I have 256 shared memory segments, and as such,
> I would expect the number of file descriptors used by my backends to
> be fairly similar.

Each backend keeps up to 64(?) file descriptors open, expecting it may
need to access those files in the future, so it uses it as a cache.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adriaan Joubert 1999-10-05 06:06:06 Re: [GENERAL] alpha and true64 port
Previous Message Michael Simms 1999-10-05 00:00:35 leaking FD's ?