Re: BUG #6650: CPU system time utilization rising few times a day

Поиск
Список
Период
Сортировка
От Andrzej Krawiec
Тема Re: BUG #6650: CPU system time utilization rising few times a day
Дата
Msg-id CAAy64Hg-+4oOJorXPOFvJ=xQnQq8zwH2OoBakKiLX0h5NCtOtQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #6650: CPU system time utilization rising few times a day  (Andrzej Krawiec <a.krawiec@focustelecom.pl>)
Список pgsql-bugs
Ok, we are 99% sure as for what is the reason for this situation. Let's say
we have a 1 GB of free memory. Any process (especially postgres, as it is
dedicated server) wants to allocate little more. Kernel has to look through
cached memory to determine which cache pages can be dropped and allocated
as user memory. If the server is idle (almost no queries) allocating huge
amounts of memory is almost invisible, but under production load (about
100-200 transactions per second) system halts for a while, to drop some of
cache pages.

We consider setting kernel value extra_free_kbytes to some reasonably high
value to check if it helps keeping free memory at certain level.

It seems that it's not a PostgreSQL bug.

Can anyone try to confirm this?

--
Regards
Andrzej Krawiec

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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: BUG #6712: PostgreSQL 9.2 beta2: alter table drop constraint does not work on inherited master table
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #6706: pg_upgrade fails when plpgsql dropped/re-created