leaking FD's ? - Mailing list pgsql-general

From Michael Simms
Subject leaking FD's ?
Date
Msg-id 199910050000.BAA26231@argh.demon.co.uk
Whole thread Raw
Responses Re: [GENERAL] leaking FD's ?
Import data from a file
List 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.

Now, looking at /proc, I have backend processes using up to 460 fds

I have just had to recompile my kernel cos it kept going up to 10240
fd's and killing everything, so now I have 40960 fds available. I am
still concerned though. every time a series of requests goes through,
the number of FD's goes up. Is this leakage, do you think, or just the
way it always acts? Can I expect to see a peak on fd's or is it just
going to go up and up?

This is the latest stable release.
[PostgreSQL 6.5.2 on i686-pc-linux-gnu, compiled by gcc egcs-2.91.66]
Linux oscounter.org 2.2.12 #2 SMP Fri Oct 1 21:50:14 BST 1999 i686 unknown

Thanx

                        M Simms

pgsql-general by date:

Previous
From: "amy cheng"
Date:
Subject: Re: [GENERAL] alpha and true64 port
Next
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] leaking FD's ?