ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] openvz и java
Date: Wed, 2 Apr 2008 10:31:33 +0300
Message-ID: <20080402073133.GN13528@osdn.org.ua> (raw)
In-Reply-To: <20080402065806.GA2354@mw.office.seiros.ru>

On Wed, Apr 02, 2008 at 10:58:06AM +0400, Денис Смирнов wrote:
> >> Увы уже всё установил и настроил, теперь не плохо было бы знать
> >> какие "грабли" меня могут ждать впереди например с openvz :).
> MS> NFS, Java, cdrecord.  В остальном сходу не припомню.
> А что с Java?

Оно ж дурное, JVM памяти нааллокейтит, а потом использует одну
десятую.  Ты -Xmx 640 -- а пока два гига контейнеру не дашь,
не поднимется.

In practice, a lot of applications do not use the memory very
efficiently and, sometimes, allocated memory will never be used
later. For example, Apache Web server at start time it allocates
about 20--30%% more memory that it will ever use. Some
multi-threaded applications are especially bad at using their
memory, and their rate of allocated to used memory may happen
to be 1000%.

http://wiki.openvz.org/UBC_systemwide_configuration#Limiting_memory_allocations

Кажется, в man vzctl упоминалась ручка, которая регулирует "порог
придуривания" -- когда malloc-нуть дадут "до K" или "в N раз
больше, чем privvmpages", но вот использовать всё равно обрежут
оными.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


  reply	other threads:[~2008-04-02  7:31 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-21 19:47 [Sysadmins] RAID and fstab Vladimir Karpinsky
2008-03-21 20:05 ` Michael Shigorin
2008-03-21 20:27   ` Vladimir Karpinsky
2008-03-21 20:30     ` Michael Shigorin
2008-03-22 19:52       ` Vladimir Karpinsky
2008-03-23 14:10         ` Michael Shigorin
2008-03-23 17:16           ` Vladimir Karpinsky
2008-03-23 17:37           ` Vladimir Karpinsky
2008-03-23 19:08             ` Michael Shigorin
2008-03-21 20:50   ` Andrew Kornilov
2008-03-21 22:37     ` Michael Shigorin
2008-03-21 22:37     ` Anton Farygin
2008-03-24  7:13     ` Vyacheslav A. Brunev
2008-03-24  7:22       ` Vyacheslav A. Brunev
2008-03-24  7:26         ` Eugene Prokopiev
2008-03-24 22:25           ` Хихин Руслан
2008-03-25  5:30             ` Eugene Prokopiev
2008-03-27  5:46               ` Vyacheslav A. Brunev
2008-03-31 19:08                 ` Michael Shigorin
2008-04-01  5:15                   ` Vyacheslav A. Brunev
2008-04-01  5:33                     ` Eugene Prokopiev
2008-04-01 19:41                     ` Michael Shigorin
2008-04-02  6:58                       ` Денис Смирнов
2008-04-02  7:31                         ` Michael Shigorin [this message]
2008-04-02 13:20                           ` [Sysadmins] openvz и java Денис Смирнов
2008-04-02 13:26                             ` Michael Shigorin
2008-04-03  6:42                               ` Slava Dubrovskiy
2008-04-03  6:45                                 ` Michael Shigorin
2008-04-03  7:15                                   ` Slava Dubrovskiy
2008-04-06 11:16                                     ` Michael Shigorin
2008-03-31 19:06               ` [Sysadmins] RAID and fstab Michael Shigorin
2008-03-24  8:32         ` Vladimir Karpinsky

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=20080402073133.GN13528@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=shigorin@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