Re: heavy swapping, not sure why

From: Sim Zacks <sim(at)compulab(dot)co(dot)il>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: heavy swapping, not sure why
Date: 2011-08-30 08:50:36
Message-ID: 4E5CA45C.20509@compulab.co.il
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
<style>body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body bidimailui-detected-decoding-type="latin-charset"
bgcolor="#ffffff" text="#000000">
<br>
<blockquote
cite="mid:CAOR=d=3orr8ExXVB1xGahabrhmJAi3npw_Z0jTG3yUAg4WAcbQ(at)mail(dot)gmail(dot)com"
type="cite">
<pre wrap="">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.
</pre>
</blockquote>
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.<br>
<br>
Sim<br>
</body>
</html>

Attachment Content-Type Size
unknown_filename text/html 1.1 KB

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sim Zacks 2011-08-30 08:50:39 Re: heavy swapping, not sure why
Previous Message Allan Kamau 2011-08-30 08:05:09 Re: heavy swapping, not sure why