From: Maks Re <admaks@gmail.com>
To: <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] ovz контейнер & LAMP
Date: Fri, 7 Aug 2009 19:23:40 +0400
Message-ID: <20090807192340.6897dfe9@lynx> (raw)
Привет..
есть необходимость развернуть для друпала платформу ( apache2, mysqld,
php5 etc)
особенности - памяти в контейнере всего 256, и лимиты соответственно.
вопрос - что посоветуете, как побороться, что настроить-урезать-заточить, чтобы все
влезло в существующие лимиты и хватало при нагрузке..
я запустил apache2 + php5 + mysql мне стали ругаться что памяти
кончилось, форки не могу быть запущены и пр...
зы: все это крутиться у провайдера ( это к тому что текущие лимиты
оплачены)
текущие лимиты
# cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
1117: kmemsize 1995825 8345058 12582912 14680064 0
lockedpages 0 8 64 64 0
privvmpages 6122 73640 65536 72090 669
shmpages 640 18609 32768 32768 0
dummy 0 0 0 0 0
numproc 18 73 200 200 0
physpages 3819 22563 0 2147483647 0
vmguarpages 0 0 65536 2147483647 0
oomguarpages 3827 22564 65536 2147483647 0
numtcpsock 7 22 250 250 0
numflock 1 9 200 220 0
numpty 2 19 32 32 0
numsiginfo 0 15 512 512 0
tcpsndbuf 73788 758004 4194304 5242880 0
tcprcvbuf 114688 1307668 4194304 5242880 0
othersockbuf 64844 452540 4194304 5242880 0
dgramrcvbuf 0 8380 4194304 5242880 0
numothersock 36 151 250 250 0
dcachesize 0 0 1310720 1441792 0
numfile 491 1741 3300 3300 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 14 14 64 64 0
next reply other threads:[~2009-08-07 15:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-07 15:23 Maks Re [this message]
2009-08-07 15:43 ` Michael Shigorin
2009-08-07 15:51 ` Maks Re
2009-08-07 16:46 ` Michael Shigorin
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=20090807192340.6897dfe9@lynx \
--to=admaks@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