From: Viacheslav Dubrovskyi <dubrsl@gmail.com> To: sysadmins@lists.altlinux.org Subject: Re: [Sysadmins] OpenVZ CT, PostgreSQL и Shared memory Date: Wed, 14 Aug 2013 20:28:17 +0300 Message-ID: <520BBE31.2080108@gmail.com> (raw) In-Reply-To: <520BBA7A.1000001@elserv.msk.su> 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
prev parent reply other threads:[~2013-08-14 17:28 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 2013-08-14 17:28 ` Viacheslav Dubrovskyi [this message]
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=520BBE31.2080108@gmail.com \ --to=dubrsl@gmail.com \ --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