leaking FD's ?

Поиск
Список
Период
Сортировка
От Michael Simms
Тема leaking FD's ?
Дата
Msg-id 199910050000.BAA26231@argh.demon.co.uk
обсуждение исходный текст
Ответы Re: [GENERAL] leaking FD's ?  (Bruce Momjian <maillist@candle.pha.pa.us>)
Import data from a file  (datab@main.kenken.ro)
Список 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 по дате отправления:

Предыдущее
От: "amy cheng"
Дата:
Сообщение: Re: [GENERAL] alpha and true64 port
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [GENERAL] leaking FD's ?