Re: Out of Memory

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Out of Memory
Дата
Msg-id a76a969d353eacf584d2018b3a2272a1143053e9.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: Out of Memory  (Rob Sargent <robjsargent@gmail.com>)
Ответы Re: Out of Memory
Список pgsql-general
Rob Sargent wrote:
> > Christoph Moench-Tegeder wrote:
> > > ## Laurenz Albe (laurenz.albe@cybertec.at):
> > > 
> > > > vm.overcommit_memory = 2
> > > > vm_overcommit_ratio = 100
> > > > 
> > > > Linux commits (swap * overcommit_ratio * RAM / 100),
> > > 
> > >                      ^
> > >                      That should be a "+".
> > 
> > Yes; shame on me for careless typing, and thank you for the
> > correction.
> 
> Are there any parentheses needed in that formula?

No.  It is swap space plus a certain percentage of RAM.

I don't know how the Linux developers came up with that
weird formula.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com



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

Предыдущее
От: Raghavendra Rao J S V
Дата:
Сообщение: How to maintain the csv log files in pg_log directory only for past30 days
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: How to maintain the csv log files in pg_log directory only forpast 30 days