Skip site navigation (1) Skip section navigation (2)

about shared_buffer and kernel.shmmax

From: wangqi <wangqi(at)edgesoft(dot)cn>
To: pgsql-admin(at)postgresql(dot)org
Subject: about shared_buffer and kernel.shmmax
Date: 2012-06-21 03:38:31
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
Hi everybody,
shared_buffer maximum limit is ?
I set shared_buffer more than 250G, I got error at startup pg.

This error usually means that PostgreSQL's request for a shared memory
segment exceeded your kernel's SHMMAX parameter. You can either reduce
the request size or reconfigure the kernel with larger SHMMAX. To reduce
the request size (currently 439371702272 bytes), reduce PostgreSQL's
shared_buffers parameter (currently 52428800) and/or its max_connections
parameter (currently 104).

but now
kernel.shmmax = 966367641600
kernel.shmall = 235929600

Yours sincerely,
Qi Wang
                         Edgesoft (China) Co.,Ltd
                         F26th Block B,Zhongli Building,
                         No.32 Huoju Road,
                         Hi-Tech Zone,Dalian,China


pgsql-admin by date

Next:From: Craig RingerDate: 2012-06-21 04:34:04
Subject: Re: about shared_buffer and kernel.shmmax
Previous:From: Robert HaasDate: 2012-06-20 18:18:39
Subject: Re: [ADMIN] pg_basebackup blocking all queries with horrible performance

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group