ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Alex Moskalenko <mav@elserv.msk.su>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] OpenVZ CT, PostgreSQL и Shared memory
Date: Wed, 14 Aug 2013 21:12:26 +0400
Message-ID: <520BBA7A.1000001@elserv.msk.su> (raw)
In-Reply-To: <520BB905.7030605@gmail.com>

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



  reply	other threads:[~2013-08-14 17:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-14 16:41 Alex Moskalenko
2013-08-14 17:06 ` Viacheslav Dubrovskyi
2013-08-14 17:12   ` Alex Moskalenko [this message]
2013-08-14 17:28     ` Viacheslav Dubrovskyi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=520BBA7A.1000001@elserv.msk.su \
    --to=mav@elserv.msk.su \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git