From: PT <wmoran@potentialtech.com>
To: greigwise <greigwise@comcast.net>
Cc: pgsql-general@postgresql.org
Subject: Re: Out of Memory
Date: Tue, 25 Sep 2018 17:04:49 -0400
Message-ID: <20180925170449.0afefaf0a352439cd10d3588@potentialtech.com> (raw)
In-Reply-To: <1537900459605-0.post@n3.nabble.com>
References: <1537481492525-0.post@n3.nabble.com>
<16504.1537483871@sss.pgh.pa.us>
<1537536021272-0.post@n3.nabble.com>
<1537900459605-0.post@n3.nabble.com>
On Tue, 25 Sep 2018 11:34:19 -0700 (MST)
greigwise <greigwise@comcast.net> wrote:
> Well, I've been unsuccessful so far on creating a standalone test.
>
> I have put some scripting in place to capture some additional information on
> the server with the out of memory issues. I have a script which just
> periodically dumps the output of free -m to a text file.
>
> So, the output of free -m immediately before and after the out of memory
> error looks like this:
>
> Just before:
> total used free shared buff/cache
> available
> Mem: 14877 2978 132 3553 11766
> 7943
> Swap: 0 0 0
>
> Just after:
> total used free shared buff/cache
> available
> Mem: 14877 2946 649 3548 11280
> 7982
> Swap: 0 0 0
>
> If I have nearly 8 GB of memory left, why am I getting out of memory errors?
Doesn't the default NUMA setup mean that it can't actually allocate all
the available memory to a single NUMA zone (or whatever it's called)?
Or am I talking ancient Linux history with that?
--
Bill Moran
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: wmoran@potentialtech.com, greigwise@comcast.net
Subject: Re: Out of Memory
In-Reply-To: <20180925170449.0afefaf0a352439cd10d3588@potentialtech.com>
References: <1537481492525-0.post@n3.nabble.com> <16504.1537483871@sss.pgh.pa.us> <1537536021272-0.post@n3.nabble.com> <1537900459605-0.post@n3.nabble.com> <20180925170449.0afefaf0a352439cd10d3588@potentialtech.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox