pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #13971: SysV shm is used regardless of config
2+ messages / 2 participants
[nested] [flat]

* BUG #13971: SysV shm is used regardless of config
@ 2016-02-18 12:43 tarkhil@over.ru
  2016-02-18 17:17 ` Re: BUG #13971: SysV shm is used regardless of config Jeff Janes <jeff.janes@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: tarkhil@over.ru @ 2016-02-18 12:43 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      13971
Logged by:          Alex Povolotsky
Email address:      tarkhil@over.ru
PostgreSQL version: 9.4.6
Operating system:   FreeBSD 10.2
Description:        

regardless of dynamic_shared_memory_type, postgres upon start still calls
shmget.

In FreeBSD's jail, with disabled sysvipc, it yields error in
src/backend/port/pg_shmem.c


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #13971: SysV shm is used regardless of config
  2016-02-18 12:43 BUG #13971: SysV shm is used regardless of config tarkhil@over.ru
@ 2016-02-18 17:17 ` Jeff Janes <jeff.janes@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Jeff Janes @ 2016-02-18 17:17 UTC (permalink / raw)
  To: tarkhil@over.ru; +Cc: pgsql-bugs

On Thu, Feb 18, 2016 at 4:43 AM,  <tarkhil@over.ru> wrote:
> The following bug has been logged on the website:
>
> Bug reference:      13971
> Logged by:          Alex Povolotsky
> Email address:      tarkhil@over.ru
> PostgreSQL version: 9.4.6
> Operating system:   FreeBSD 10.2
> Description:
>
> regardless of dynamic_shared_memory_type, postgres upon start still calls
> shmget.

That setting controls what kind of memory is used by custom dynamic
Background Worker Processes.  It is not the only shared memory used by
PostgreSQL--in fact most people don't use that kind at all because
most people don't use custom dynamic background worker processes.


> In FreeBSD's jail, with disabled sysvipc, it yields error in
> src/backend/port/pg_shmem.c

You can't do that.  sysvipc is not optional.

Cheers,

Jeff


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2016-02-18 17:17 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-02-18 12:43 BUG #13971: SysV shm is used regardless of config tarkhil@over.ru
2016-02-18 17:17 ` Jeff Janes <jeff.janes@gmail.com>

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