Skip site navigation (1) Skip section navigation (2)

fork/exec for backend

From: Goran Thyni <goran(at)bildbasen(dot)se>
To: hackers(at)postgresql(dot)org
Subject: fork/exec for backend
Date: 1998-01-24 19:24:27
Message-ID: 19980124192427.8004.qmail@guevara.bildbasen.se (view raw or flat)
Thread:
Lists: 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,
-- 
---------------------------------------------
Gran Thyni, sysadm, JMS Bildbasen, Kiruna


Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 1998-01-24 19:39:11
Subject: Re: [HACKERS] Grant/Revoke problems
Previous:From: Maarten BoekholdDate: 1998-01-24 10:32:46
Subject: Re: Copyright question: GPL patches for non-GPL packages (fwd)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group