Re: Question on memory management sysv/posix on Linux

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Daniel Westermann <daniel(dot)westermann(at)dbi-services(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Question on memory management sysv/posix on Linux
Date: 2016-02-17 14:38:58
Message-ID: 15092.1455719938@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Daniel Westermann <daniel(dot)westermann(at)dbi-services(dot)com> writes:
> ls -la /dev/shm
> total 4
> drwxrwxrwt 2 root root 60 Feb 17 11:19 .
> drwxr-xr-x 18 root root 3100 Feb 17 09:36 ..
> -rw------- 1 postgres postgres 2316 Feb 17 11:19 PostgreSQL.1804289383

> Question: Why is this file only 2316 bytes?

It holds a DSM control header, nothing more. If you were actually doing
anything with dynamic shared memory, you'd see more such files.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Data Cruncher 2016-02-17 14:54:55 Multiple databases and shared_buffers
Previous Message Nikhil 2016-02-17 14:07:34 Re: Custom conflict handlers