Re: heavy swapping, not sure why

Поиск
Список
Период
Сортировка
От Sim Zacks
Тема Re: heavy swapping, not sure why
Дата
Msg-id 4E5CA45C.20509@compulab.co.il
обсуждение исходный текст
Ответ на Re: heavy swapping, not sure why  (Scott Marlowe <scott.marlowe@gmail.com>)
Ответы Re: heavy swapping, not sure why
Список pgsql-general
<meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">

    body p { margin-bottom: 0cm; margin-top: 0pt; }

  <body bidimailui-detected-decoding-type="latin-charset"
    bgcolor="#ffffff" text="#000000">

    <blockquote
cite="mid:CAOR=d=3orr8ExXVB1xGahabrhmJAi3npw_Z0jTG3yUAg4WAcbQ@mail.gmail.com"
      type="cite">
      On a machine with lots of memory, I've run into pathological behaviour
with both the RHEL 5 and Ubuntu 10.04 kernels where the kswapd starts
eating up CPU and swap io like mad, while doing essentially nothing.
Setting swappiness to 0 delayed this behaviour but did not stop it.
Given that I'm on a machine with 128G ram, I just put "/sbin/swapoff
-a" in /etc/rc.local and viola, problem solved.


    I've tried running without swap and the problem is if you actually
    do run out of memory then the process killer can take out your
    postgresql.

    Sim

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

Предыдущее
От: Allan Kamau
Дата:
Сообщение: Re: heavy swapping, not sure why
Следующее
От: Sim Zacks
Дата:
Сообщение: Re: heavy swapping, not sure why