ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Настройка производительности сервера: скачет loadavg
@ 2004-09-02  7:33 Andrey Brindeew
  2004-09-03  6:16 ` serge
  0 siblings, 1 reply; 5+ messages in thread
From: Andrey Brindeew @ 2004-09-02  7:33 UTC (permalink / raw)
  To: community

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

Hi!

В моменты больших нагрузок на сервере наблюдается следующая
картина (приводится фрагмент вывода команды vmstat 1):

 6  0  1 174076  55536 127292 414028   24    0    72  3136 2941  1949 80 20  0
 5  0  0 174076  55256 127320 414280   64    0   112  1632 2841  2159 85 14  0
 8  0  1 174076  54824 127364 414676   32    0    48   616 2895  3157 75 25  0
 5 29  2 174076  54988 127376 414752    0    0    48  1960 2737  2044 80 19  1
 5  0  0 174076  53356 127432 415180   96    0   132  1620 2982  2449 81 19  0
 8  0  0 174072  51224 127472 415720   52    0    96     0 3078  2860 72 28  0
 5  0  0 174072  53172 127492 416036    0    0    24  2416 2802  2925 77 22  0

Видно, что иногда резко взлетает количество заблокированных
процессов, при этом сервер как бы останавливается на пару-тройку
секунд (не отвечает на TCP-соединения), что довольно неприятно.

29 - это только пример, я видел цифры, которые доходили до 75-100
заблокированных процессов в секунду.

Вопрос: чем отмониторить источник проблем на машине?
Немного о конфигурации: Dual Xeon 2.40GHz, 2G RAM, Software-RAID1
на контроллере SCSI Adaptec U320.

Машина работает в основном как обратный прокси для MS IIS и как
рассылающий SMTP-сервер (задания на рассылку выплёскиваются
пачками). Общее количество процессов httpd на машине - около
1500, в моменты значительных нагрузок - до 5000.

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

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-09-03 11:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-02  7:33 [Comm] Настройка производительности сервера: скачет loadavg Andrey Brindeew
2004-09-03  6:16 ` serge
2004-09-03  7:09   ` [Comm] " Michael Shigorin
2004-09-03  8:03     ` serge
2004-09-03 11:49       ` [Comm] [JT] " Michael Shigorin

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