From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.2.5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=jjmbUggtZKx/XtGgJAfURnONJV6mDPpcHrixz95+50Q=; b=LjbFvd2zNcr0SihnS877aswvUcMq6nnm2kSbk3TP99zsuqSYqU1q5dMm3P8fbOcIV8 170e3b65fwWRO3+Alvtge07gg9nb8Ieh2vCgPn36gDX7ixhC49fVLwrKp877nKGNAnBU 9nkTAI7FqBv6aMQxAsNaRw1liGQ5Jywp7pp5a0vJgBPt9r3+eg/aKF+nVTzVC/AoDZoE Mw2q7Q+zgcmlX5UTKe3+yFf/2VePEn5bXwU4xw7R9RFDpAkSuDoVa/VMTTBBf9CkP4BR C5iPuKk6fP7Y2rvfatpiQjAqnX/3HeuH+03KZqtNdKY/OvP067uzzGOv0T71ErKfVuxG Napw== X-Received: by 10.152.37.41 with SMTP id v9mr9575466laj.9.1376501300154; Wed, 14 Aug 2013 10:28:20 -0700 (PDT) Message-ID: <520BBE31.2080108@gmail.com> Date: Wed, 14 Aug 2013 20:28:17 +0300 From: Viacheslav Dubrovskyi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130630 Thunderbird/17.0.7 MIME-Version: 1.0 To: sysadmins@lists.altlinux.org References: <520BB348.2000902@elserv.msk.su> <520BB905.7030605@gmail.com> <520BBA7A.1000001@elserv.msk.su> In-Reply-To: <520BBA7A.1000001@elserv.msk.su> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Sysadmins] =?koi8-r?b?T3BlblZaIENULCBQb3N0Z3JlU1FMIMkgU2hhcmVk?= =?koi8-r?b?IG1lbW9yeQ==?= X-BeenThere: sysadmins@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux sysadmins' discussion List-Id: ALT Linux sysadmins' discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 17:28:27 -0000 Archived-At: List-Archive: 14.08.2013 20:12, Alex Moskalenko wrote: > 14.08.2013 21:06, Viacheslav Dubrovskyi пишет: >> 14.08.2013 19:41, Alex Moskalenko wrote: >>> Здравствуйте! >>> >>> Поделитесь пожалуйста опытом работы с PostgreSQL в контейнере OpenVZ. >> http://openvz.org/Postgresql_and_shared_memory читали? >> > Да. С лимитами проблем нет, превышений лимитов тоже нет. > > shared_buffers установлено в 1Гб. А /sbin/sysctl kernel.shmmax на хардноде? > > Параметры памяти контейнера: > [root@ct /]# free > total used free shared buffers cached > Mem: 2097152 599936 1497216 0 0 41620 > -/+ buffers/cache: 558316 1538836 > Swap: 1048576 11824 1036752 > [root@ct /]# ipcs -ml > > ------ Shared Memory Limits -------- > max number of segments = 4096 > max seg size (kbytes) = 4043536 > max total shared memory (kbytes) = 8087072 > min seg size (bytes) = 1 > > -- WBR, Viacheslav Dubrovskyi