ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: community@lists.altlinux.org
Subject: [Comm] Re: Что то с паматью моей стало 8)
Date: Thu, 8 Dec 2005 08:50:37 +0200
Message-ID: <20051208065037.GM32150@osdn.org.ua> (raw)
In-Reply-To: <20051207145303.GB10461@ricom.ru>

[-- Attachment #1: Type: text/plain, Size: 1514 bytes --]

On Wed, Dec 07, 2005 at 05:53:03PM +0300, Alexey Morsov wrote:
> > "Простаивающая память -- выкинутые деньги" (c)
> > Это нормально, обычно излишек идёт сразу под дисковый кэш и
> > высвобождается по мере надобности.
> По логике да. Но вот у на с на www сервере наблюдаем странную
> вещь.  Система постепенно насасывает память под кеш но отдавать
> ее не очень торопиться, из-за чего mysql-ю становится дурно и
> он перегружается (точнее падает а его Mysql_safe поднимает его
> обратно).

Ээээ... а ядро часом не 2.6?  Если так и всунуто без надобности 
-- есть мнение, что лучше 2.4.  Если "не лучше" -- читайте 
Documentation/vm.txt или где там рассказано, что крутить.

У меня таких проблем попросту не возникало там, где они могли
быть заметны; на ноуте подкручивал (/etc/sysctl.conf):

vm.mapped = 10
vm.swappiness = 40

> Типа вот так
> 	   total       used       free     shared    buffers     cached
> Mem:       1031008    1013440      17568        0	60952     856436
> -/+ buffers/cache:      96052     934956
> Swap:      2104472          0    2104472
> Т.е. сейчас еще более менее.

Сейчас в полном ажуре, поскольку своп не используется вообще.
А дурно mysql может становиться от того, что ему не объяснено 
(см. my-large.cnf в документации и потом пш. my.cnf), сколько
брать-то можно.  Ну или угораздило кого-то limits.conf на него 
нарисовать, но что-то не верится.

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

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-12-08  6:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-07  5:26 [Comm] " Туркин Михаил Александрович
2005-12-07 14:10 ` [Comm] " Michael Shigorin
2005-12-07 14:53   ` Alexey Morsov
2005-12-08  6:50     ` Michael Shigorin [this message]
2005-12-08  7:55       ` Alexey Morsov
2005-12-08  8:57         ` Michael Shigorin
2005-12-07 17:13 ` [Comm] Что то с паматью моей стало 8) [JT] Владимир Гусев

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=20051208065037.GM32150@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=community@lists.altlinux.org \
    --cc=shigorin@gmail.com \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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