Re: pgsql: Improve wording.

Поиск
Список
Период
Сортировка
Искать

Re: pgsql: Improve wording.

От:
Bruce Momjian <bruce@momjian.us>
Дата:
bruce wrote:
> > I think your proposed wording is removed enough from what the
> > complainant was saying that it is not worth to stick it in.  The point
> > here is, to what extent do we want to spoon-feed careless sysadmins?
> 
> OK, I have removed the paratheses paragraph about fork() and added link
> to an article about the OOM:
> 
>     http://lwn.net/Articles/104179/
> 
>     On Linux 2.6 and later, an additional measure is to modify the
>     kernel's behavior so that it will not overcommit</> memory.
>     Although this setting will not prevent the      url="http://lwn.net/Articles/104179/">OOM killer</> from being invoked
>     altogether, it will lower the chances significantly and will therefore
>     lead to more robust system behavior.  This is done by selecting strict
>     overcommit mode via sysctl:

I just read that article in full and it does a better job of explaining
OOM than we ever could: :-)
   Not everybody agrees that this (OOM) is a fruitful use of developer time.   Andries Brouwer came up with this analogy:An aircraft company discovered that it was cheaper to fly its planeswith less fuel on board. The planes would be lighter and use less fueland money was saved. On rare occasions however the amount of fuel wasinsufficient, and the plane would crash. This problem was solved by theengineers of the company by the development of a special OOF(out-of-fuel) mechanism. In emergency cases a passenger was selected andthrown out of the plane. (When necessary, the procedure was repeated.) Alarge body of theory was developed and many publications were devoted tothe problem of properly selecting the victim to be ejected. Should thevictim be chosen at random? Or should one choose the heaviest person? Orthe oldest? Should passengers pay in order not to be ejected, so thatthe victim would be the poorest on board? And if for example theheaviest person was chosen, should there be a special exception in casethat was the pilot? Should first class passengers be exempted? Now thatthe OOF mechanism existed, it would be activated every now and then, andeject passengers even when there was no fuel shortage. The engineers arestill studying precisely how this malfunction is caused.


--  Bruce Momjian          http://momjian.us EnterpriseDB                             http://postgres.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +

FAQ