Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WUdd8-0006yZ-Pp for pgsql-general@arkaria.postgresql.org; Mon, 31 Mar 2014 14:56:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WUdd8-0006w4-5k for pgsql-general@arkaria.postgresql.org; Mon, 31 Mar 2014 14:56:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WUdd6-0006vo-Qo; Mon, 31 Mar 2014 14:56:05 +0000 Received: from new2-smtp.messagingengine.com ([66.111.4.224]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WUdd3-000281-Dx; Mon, 31 Mar 2014 14:56:04 +0000 Received: from compute6.internal (compute6.nyi.mail.srv.osa [10.202.2.46]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 16B4BCA2; Mon, 31 Mar 2014 10:55:59 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Mon, 31 Mar 2014 10:55:59 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h= message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; s=mesmtp; bh=SYWTLOBQAUMyhML4kM5KvAT7vHc=; b=a3oDC1U4M/Gl+OIbKKziWduBGd9Q jAsb0Fm5gM/6VdlD58uVbQP8D01nL6ErYGggoOnPgO2i9dWBea2TYFkF9MjfVrMH BX21UL9FJEUzJdVNtFmbCnjOrryJeJjL7kq6nfURLUzQMmYAiu/yqZBYZ+DicFXd fkpv1+JIKTymiOQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=SYWTLOBQAUMyhML4kM5KvA T7vHc=; b=BMQJWp3fSpsXEZKXQBd3K5OMl72mi/tO2Axf2fdVcEkteKhSbUCpyq ttxd14HTuZOIo4ZTDLgzoYZ1jmKZtcOXalpNHkG7wUDoKwcoULEyGQ8TmXswWsv/ gdioC4sw39OiFNk3OxC7lgRAaXxK66p7ajYd42TsbCqLa9a1hwbLE= X-Sasl-enc: Vpmm2K5J0ijIPo3haj8uENEmjQhSJc24MralfCLNiCcg 1396277758 Received: from panda.site (unknown [97.113.11.16]) by mail.messagingengine.com (Postfix) with ESMTPA id 21D916800BC; Mon, 31 Mar 2014 10:55:58 -0400 (EDT) Message-ID: <533981FD.10906@aklaver.com> Date: Mon, 31 Mar 2014 07:55:57 -0700 From: Adrian Klaver User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Willy-Bas Loos CC: lst_hoe02@kwsoft.de, pgsql-admin , "pgsql-general@postgresql.org" Subject: Re: [ADMIN]openvz and shared memory trouble References: <53357E83.2040101@aklaver.com> <53370026.2040509@aklaver.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org On 03/31/2014 04:12 AM, Willy-Bas Loos wrote: > > On Sat, Mar 29, 2014 at 6:17 PM, Adrian Klaver > > wrote: > > And it makes me wonder what else may be issues that arise from that. But > especially, what i can do about it. Had to go through it a couple of times, and look up the acronyms, but the thread below seems to deal with the whole shared memory allocation and setting process in openvz quite well: http://forum.openvz.org/index.php?t=msg&goto=12061&&srch=postgresql+shared#msg_12061 In particular, where UBC is User Beancounters and the sysctls is the one in the container.: "UBC shmpages parameter controls all the shared memory which possible to allocate either via IPC or shmem (e.g. tmpfs). sysctls above are only for IPC SYSv5 shared memory." combine that with, where VE is Vitual Environment(container): "check the same in VE please. AFAICS, by default kernel sets: #define SHMMAX 0x2000000 which is 32Mb. So you have to increase it in VE /etc/sysctl.conf file or in /proc. " and there may be a path to a solution. > > Cheers, > > WBL > > -- > "Quality comes from focus and clarity of purpose" -- Mark Shuttleworth -- Adrian Klaver adrian.klaver@aklaver.com -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general