Re: [GENERAL] leaking FD's ?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [GENERAL] leaking FD's ?
Дата
Msg-id 199910050406.AAA28628@candle.pha.pa.us
обсуждение исходный текст
Ответ на leaking FD's ?  (Michael Simms <grim@argh.demon.co.uk>)
Ответы where can i find ???  (Chris Ian Capon Fiel <ian@xavier.cc.xu.edu.ph>)
Re: [GENERAL] leaking FD's ?  (Michael Simms <grim@argh.demon.co.uk>)
Список 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@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

В списке pgsql-general по дате отправления:

Предыдущее
От: Michael Simms
Дата:
Сообщение: leaking FD's ?
Следующее
От: Adriaan Joubert
Дата:
Сообщение: Re: [GENERAL] alpha and true64 port