Re: shm - Mailing list pgsql-admin

From Scott Ribe
Subject Re: shm
Date
Msg-id 8F5C3CAB-FAFA-4F3D-AAA0-8E9C3A0DEC45@elevated-dev.com
Whole thread Raw
In response to Re: shm  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
> On Mar 5, 2020, at 7:51 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Scott Ribe <scott_ribe@elevated-dev.com> writes:
>> What is POSIX shared memory used for anymore?
>
> We still allocate a small shm block as a means of counting live backends
> (since the SysV spec includes an "nattch" count but mmap'd segments do
> not provide that info).  Should only be ~50 bytes though.
>
>             regards, tom lane

I recreated the error so I could post it here:

ERROR 53100 (disk_full) could not resize shared memory segment "/PostgreSQL.935653392" to 1048576 bytes: No space left
ondevice 

So something is using shared memory, and wants 1MB chunks. What could that be?




pgsql-admin by date:

Previous
From: Mark Steben
Date:
Subject: Re: conflicting lock request message
Next
From: Scott Ribe
Date:
Subject: Re: shm