From: greigwise <greigwise@comcast.net>
To: pgsql-general@postgresql.org
Subject: Re: Out of Memory
Date: Tue, 25 Sep 2018 14:02:59 -0700 (MST)
Message-ID: <1537909379739-0.post@n3.nabble.com> (raw)
In-Reply-To: <18741.1537906384@sss.pgh.pa.us>
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>
<18741.1537906384@sss.pgh.pa.us>
Tom Lane-2 wrote
> greigwise <
> greigwise@
> > writes:
>> If I have nearly 8 GB of memory left, why am I getting out of memory
>> errors?
>
> Probably the postmaster is running under restrictive ulimit settings.
>
> regards, tom lane
If I login as the user which runs postmaster, I get this:
-bash-4.2$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 59341
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 4096
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
Max memory size is unlimited as is virtual memory... is there something else
there I should be concerned with in regard to out of memory?
Thanks again.
Greig
--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html
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: greigwise@comcast.net
Subject: Re: Out of Memory
In-Reply-To: <1537909379739-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> <18741.1537906384@sss.pgh.pa.us> <1537909379739-0.post@n3.nabble.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