fork/exec for backend

Поиск
Список
Период
Сортировка
От Goran Thyni
Тема fork/exec for backend
Дата
Msg-id 19980124192427.8004.qmail@guevara.bildbasen.se
обсуждение исходный текст
Ответы Re: [HACKERS] fork/exec for backend  (Bruce Momjian <maillist@candle.pha.pa.us>)
Re: [HACKERS] fork/exec for backend  (Tom <tom@sdf.com>)
Список pgsql-hackers
I am still wondering why postmaster fork/exec instead of
just forking when receiving a new connection.

Fork on modern unices (linux and (a think) *BSD) cost
almost nothing (in time and memory) thanks to COW (copy-on-write).
Exec in expensive as it breaks COW.

I know this is not the time (have too wait 'til after 6.3),
but shouldn't this be on the ToDo-list.

    best regards,
--
---------------------------------------------
G�ran Thyni, sysadm, JMS Bildbasen, Kiruna


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

Предыдущее
От: Maarten Boekhold
Дата:
Сообщение: Re: Copyright question: GPL patches for non-GPL packages (fwd)
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Grant/Revoke problems