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=-1.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Virus-Scanned: amavisd-new at elserv.ru Message-ID: <520BBA7A.1000001@elserv.msk.su> Date: Wed, 14 Aug 2013 21:12:26 +0400 From: Alex Moskalenko User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130610 Thunderbird/17.0.6 MIME-Version: 1.0 To: sysadmins@lists.altlinux.org References: <520BB348.2000902@elserv.msk.su> <520BB905.7030605@gmail.com> In-Reply-To: <520BB905.7030605@gmail.com> 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:12:34 -0000 Archived-At: List-Archive: 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Гб. Параметры памяти контейнера: [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, Alex Moskalenko