ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Andrey Brindeew <abr@altlinux.ru>
To: community@altlinux.ru
Subject: [Comm] Проблемы с производительностью
Date: Wed, 8 Dec 2004 10:41:40 +0300
Message-ID: <20041208074140.GA5984@abr.pp.ru> (raw)

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

Hi!

На сервере давно наблюдаются проблемы с производительностью:
временами резко подскакивает количество заблокированных
процессов. В чем дело, понять пока не могу. :-(
Характер запущенных процессов: большое количество акселераторов
(Apache + mod_accel)

Дистрибутив: ALM2.2, ядро 2.4.25-std-smp-alt5 из Сизифа.
Вот отрывки вывода команды vmstat 1:

 0  0  0  66476 277072 367724 898036    0    0     0     0 1150   986  7  8 85
 0  0  0  66476 277024 367728 898072    0    0     0     0 1058   922  2  2 96
 0  0  0  66476 276584 367740 898436    0    0     0     0 1498  1312  0  2 97
 0 17  2  66476 277008 367756 897940    0    0     0  5424 2876  1545  5  4 91
 2  0  1  66476 277792 367760 897112    0    0     0   792 2145  1286  2  3 95
 0  0  0  66476 278916 367768 895900    0    0     0     0 1333  1281  7  8 86
 0  0  0  66476 280196 367768 894600    0    0     0     0 1098   966  1  2 97

 0  0  1  66400 173080 376540 953112    0    0     0  2432 1722  1780  1  2 97
 0  0  0  66400 172272 376556 953376    0    0    20  1112 2098  1393  1  1 98
 0  0  0  66400 172544 376560 953596    0    0     0     0 1229  1237  8  7 85
 1  0  0  66400 172340 376564 953552    0    0     0     0 1381  1237  1  2 97
 0  0  0  66400 172268 376576 953836    0    0     0     0 1462  1353  1  2 97
 0 22  1  66400 172104 376588 954128    0    0     4  2244 2250  1578 10  7 83
 0  0  0  66400 171800 376600 954388    0    0     8  1076 1802  1520  1  1 97
 1  0  0  66400 171800 376600 954384    0    0     0     0 1518  1303  2  1 97
 0  1  1  66400 171620 376600 954520    0    0     0  2528 1968  1556  8  8 84
 0  0  0  66400 171276 376604 954664    0    0     4   176 1664  1522  1  2 97
 1  0  0  66400 171292 376604 954848    0    0     0  1204 1763  1144  5  3 92
 0  0  0  66400 170640 376620 955328    0    0     0     0 1609  1442  5  5 91

Обратите внимание на то, что в той же строке, где указывается
большое число заблокированных процессов (17 и 22) наличествует
значительное число операций записи на диск (5424 и 2244
соответственно).

Вопрос: как с этим бороться?

P.S. # cat /proc/sys/vm/bdflush
30      500     0       0       500     3000    60      20      0

Посоветуйте - какие настройки стоит изменить?
Файловая система ext3.

-- 
WBR, Andrey Brindeew.
"No one person can understand Perl culture completely"
(C) Larry Wall.

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

             reply	other threads:[~2004-12-08  7:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-08  7:41 Andrey Brindeew [this message]
2004-12-08  8:43 ` [Comm] " Michael Shigorin
2004-12-08 12:31   ` Andrey Brindeew
2004-12-08 15:23     ` Michael Shigorin
2004-12-08 16:29       ` Andrey Brindeew
2004-12-08 17:04         ` 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=20041208074140.GA5984@abr.pp.ru \
    --to=abr@altlinux.ru \
    --cc=community@altlinux.ru \
    /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