From: | Michael Simms <grim(at)argh(dot)demon(dot)co(dot)uk> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | leaking FD's ? |
Date: | 1999-10-05 00:00:35 |
Message-ID: | 199910050000.BAA26231@argh.demon.co.uk |
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.
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
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 1999-10-05 04:06:48 | Re: [GENERAL] leaking FD's ? |
Previous Message | Duncan Kinder | 1999-10-04 22:02:23 | Re: [PHP3] Re: [GENERAL] Re: [PHP3] Re: PostgreSQL vs Mysql comparison |