ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Ilia Menchikh <iluxa@kp.ru>
To: sisyphus@altlinux.ru
Subject: [sisyphus] kernel 2.6 & memory leak
Date: Wed, 12 Jan 2005 19:42:24 +0300
Message-ID: <41E55370.6010802@kp.ru> (raw)

Доброе время суток.

Сори что сюда, хотя речь об Мастере 2.4.

Обнаружилось сразу 2 проблемы:
 
1. Утечка памяти в md5sum
2. Зависание по этой причине ядра 2.6

coreutils-5.2.1-alt5
kernel-image-std26-up-2.6.8-alt9

последние сообщения ядра перед умиранием:

Jan 12 19:00:36 localhost kernel: DMA free:44kB min:16kB low:32kB 
high:48kB active:0kB inactive:4kB present:16384kB
Jan 12 19:00:36 localhost kernel: protections[]: 8 476 540
Jan 12 19:00:36 localhost kernel: Normal free:1864kB min:936kB 
low:1872kB high:2808kB active:116kB inactive:0kB present:901120kB
Jan 12 19:00:36 localhost kernel: protections[]: 0 468 532
Jan 12 19:00:36 localhost kernel: HighMem free:616kB min:128kB low:256kB 
high:384kB active:18068kB inactive:108916kB present:131008kB
Jan 12 19:00:36 localhost kernel: protections[]: 0 0 64
Jan 12 19:00:36 localhost kernel: DMA: 1*4kB 1*8kB 0*16kB 1*32kB 0*64kB 
0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 44kB
Jan 12 19:00:36 localhost kernel: Normal: 0*4kB 1*8kB 0*16kB 0*32kB 
1*64kB 0*128kB 1*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 1864kB
Jan 12 19:00:36 localhost kernel: HighMem: 24*4kB 15*8kB 9*16kB 0*32kB 
0*64kB 0*128kB 1*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 616kB
Jan 12 19:00:36 localhost kernel: Swap cache: add 5, delete 5, find 0/0, 
race 0+0
Jan 12 19:00:36 localhost kernel: Out of Memory: Killed process 4393 
(libhttpd.ep).
Jan 12 19:00:36 localhost kernel: oom-killer: gfp_mask=0x4d0
Jan 12 19:00:36 localhost kernel: DMA per-cpu:
Jan 12 19:00:36 localhost kernel: cpu 0 hot: low 2, high 6, batch 1
Jan 12 19:00:36 localhost kernel: cpu 0 cold: low 0, high 2, batch 1
Jan 12 19:00:36 localhost kernel: Normal per-cpu:
Jan 12 19:00:36 localhost kernel: cpu 0 hot: low 32, high 96, batch 16
Jan 12 19:00:36 localhost kernel: cpu 0 cold: low 0, high 32, batch 16
Jan 12 19:00:36 localhost kernel: HighMem per-cpu:
Jan 12 19:00:36 localhost kernel: cpu 0 hot: low 14, high 42, batch 7
Jan 12 19:00:36 localhost kernel: cpu 0 cold: low 0, high 14, batch 7
Jan 12 19:00:36 localhost kernel:
Jan 12 19:00:36 localhost kernel: Free pages:        2608kB (700kB HighMem)

По free подобное происходит как только кончается оперативка и начинает 
использоватся своп.

Конфигурация машины:

 $ lspci
00:00.0 Host bridge: Intel Corp. 82865G/PE/P DRAM Controller/Host-Hub 
Interface (rev 02)
00:01.0 PCI bridge: Intel Corp. 82865G/PE/P PCI to AGP Controller (rev 02)
<skip>
01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 
440 AGP 8x] (rev c1)
02:02.0 PCI bridge: Intel Corp.: Unknown device 9620 (rev 01)
02:02.1 I2O: Intel Corp. Integrated RAID (rev 01)
02:03.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] 
(rev 78)

$ cat /proc/cpuinfo
model name      : Intel(R) Pentium(R) 4 CPU 3.00GHz

 $ cat /proc/meminfo
MemTotal:      1036324 kB
<skip>
SwapTotal:      401584 kB
<skip>

Кто-нибудь может подтвердить?
Как лечить?

-- 
Regards,
Ilia


                 reply	other threads:[~2005-01-12 16:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=41E55370.6010802@kp.ru \
    --to=iluxa@kp.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

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

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


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