Re: Out of Memory - Mailing list pgsql-general

From greigwise
Subject Re: Out of Memory
Date
Msg-id 1537909379739-0.post@n3.nabble.com
Whole thread Raw
In response to Re: Out of Memory  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Out of Memory  (greigwise <greigwise@comcast.net>)
List pgsql-general
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


pgsql-general by date:

Previous
From: pinker
Date:
Subject: Re: Postgresql
Next
From: PT
Date:
Subject: Re: Out of Memory