RE: Expectations of MEM requirements for a DB with

Поиск
Список
Период
Сортировка
От Robert D. Nelson
Тема RE: Expectations of MEM requirements for a DB with
Дата
Msg-id 3A06A779@rba6.rbapro.com
обсуждение исходный текст
Ответы Re: Expectations of MEM requirements for a DB with  (Bruce Guenter <bruceg@em.ca>)
Список pgsql-general
>Thats very true.  FreeBSD is a little smarter, and actualy kills a runaway
>process if it allocates more memory than is available.  It of course tries

It's less about its ability to kill processes (Linux does it too), but sane
default timeouts. I dunno about FreeBSD, but it can take Linux over an hour
to report an out of memory condition in any definitive form - the box
slowing to a crawl doesn't count as definitive ;) It's kinda like, why do I
have to wait 2 minutes for telnet to kill itself if I telnet to a bad
address in windows?

>to
>page things in and out of swap first, hoping the high memory condition will
>soon resolve its self.  FreeBSD is also one of the only OSes I've seen that
>kick processes (idle ones, i.e., cron, getty, etc) out of memory for kernel
>buffers and disk cache to improve preformance for busier ones.

Well that's kinda dangerous in and of itself. I haven't run into *too many*
OOM conditions (I do try and stack my boxes! er...) but I've noticed linux
tends to kill kswapd first :/


Rob Nelson
rdnelson@co.centre.pa.us


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

Предыдущее
От: "Sergio A. Kessler"
Дата:
Сообщение: Re: Book PDF to be removed soon
Следующее
От: joe@jwebmedia.com
Дата:
Сообщение: Re: Synchronizing Data?