From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <41E55370.6010802@kp.ru> Date: Wed, 12 Jan 2005 19:42:24 +0300 From: Ilia Menchikh User-Agent: Mozilla Thunderbird 1.0 (X11/20041221) X-Accept-Language: en-us, en MIME-Version: 1.0 To: sisyphus@altlinux.ru Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at kp.ru Subject: [sisyphus] kernel 2.6 & memory leak X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jan 2005 16:42:26 -0000 Archived-At: List-Archive: Доброе время суток. Сори что сюда, хотя речь об Мастере 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) 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 SwapTotal: 401584 kB Кто-нибудь может подтвердить? Как лечить? -- Regards, Ilia