The OpenNET Project / Index page

[ новости /+++ | форум | wiki | теги | ]

форумы  помощь  поиск  регистрация  майллист  ВХОД  слежка  RSS
"kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0..."
Вариант для распечатки Архивированная нить - только для чтения! 
Пред. тема | След. тема 
Форумы OpenNET: Виртуальная конференция (Public)
Изначальное сообщение [Проследить за развитием треда]

"kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0..."
Сообщение от EDSKA emailИскать по авторуВ закладки(ok) on 06-Мрт-05, 13:59  (MSK)
Проблема такая:

Есть Сервер Linux Debian 3.0 2.4.29 kernel

Месяц назад в kernel.log начали лезт такие ошибки:

Mar  6 12:04:17 gabija kernel: __alloc_pages: 0-order ation failed (gfp=0x20/0)
Mar  6 12:04:17 gabija kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Mar  6 12:04:17 gabija last message repeated 2 times
Mar  6 12:04:17 gabija kernel: __alloc_pages: 0-order allocation fation failed (gfp=0x20/0)
Mar  6 12:04:17 gabija kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Mar  6 12:04:37 gabija last message repeated 4 times
Mar  6 12:04:38 gabija kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)tion failed (gfp=0x20/0)
Mar  6 12:04:38 gabija kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Mar  6 12:04:38 gabija last message repeated 286 times

Думал дело в железе, заменил весь Сервак !!!!
Прогнав перед заменой Memtest86+ пару дней 0 ощибок !!!!
Но ничего не помогло.

Думал мало памятн но ее 512 МБ !!!!
Нехватка памяти исклиучена.
Mem:    516672K total,   512260K used,     4412K free,   139756K buffers
Swap:   248968K total,        0K used,   248968K free,   127300K cached

До етого стоял 2.4.25 uptime 215 days. !!!!
Толко поставил 2.4.28 и покатило kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Сменил на 2.4.29 - не помогло
Сменил сервак - не помогло

Как найти причину ?

  Рекомендовать в FAQ | Cообщить модератору | Наверх

 Оглавление

Индекс форумов | Темы | Пред. тема | След. тема
Сообщения по теме

1. "kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0..."
Сообщение от unk Искать по авторуВ закладки(ok) on 06-Мрт-05, 14:26  (MSK)
>Как найти причину ?
Для начала echo "1" > /proc/sys/vm/vm_gfp_debug
  Рекомендовать в FAQ | Cообщить модератору | Наверх

2. "kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0..."
Сообщение от EDSKA emailИскать по авторуВ закладки(ok) on 06-Мрт-05, 18:53  (MSK)
>>Как найти причину ?
>Для начала echo "1" > /proc/sys/vm/vm_gfp_debug

Сделал
Вот што получил:

Mar  6 17:41:02 gabija kernel: 000020 dffea9f0 00000020 00000001 00000001
Mar  6 17:41:02 gabija kernel:        c0235a3c c0235bf4 00000000 00000020 00000000 c0129316 00000040 c012976a
Mar  6 17:41:02 gabija kernel:        c012722a dffea9f8 dffea9f0 00000246 00000020 00000003 c0127421 dffea9f0
Mar  6 17:41:02 gabija kernel: Call Trace:    [__alloc_pages+629/640] [_alloc_pages+22/32] [__get_free_pages+10/64] [kmem_cache_grow+154/464] [kmem_cache_alloc+193/224]
Mar  6 17:41:02 gabija kernel:   [<e0afd49d>] [<e0afd85c>] [<e0b00a80>] [ip_rcv_finish+0/480] [<e0b00a80>] [do_page_fault+864/1240]
Mar  6 17:41:02 gabija kernel:   [nf_iterate+48/128] [ip_rcv_finish+0/480] [ip_rcv_finish+0/480] [nf_hook_slow+174/320] [ip_rcv_finish+0/480] [<e0b00340>]
Mar  6 17:41:02 gabija kernel:   [ip_rcv+886/944] [ip_rcv_finish+0/480] [call_do_IRQ+5/13] [netif_receive_skb+267/320] [e100:ethtool_ioctl+9721/18056] [<e0b5f803>]
Mar  6 17:41:02 gabija kernel:   [timer_bh+588/880] [net_rx_action+112/272] [do_softirq+90/176] [do_IRQ+157/176] [call_do_IRQ+5/13]
Mar  6 17:41:02 gabija kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Mar  6 17:41:02 gabija kernel: c62b7d78 c0129755 00000020 00000020 dffea9f0 00000020 00000001 00000001
Mar  6 17:41:02 gabija kernel:        c0235a3c c0235bf4 00000000 00000020 00000000 c0129316 00000000 c012976a
Mar  6 17:41:02 gabija kernel:        c012722a dffea9f8 dffea9f0 00000246 00000020 00000003 c0127421 dffea9f0
Mar  6 17:41:03 gabija kernel: Call Trace:    [__alloc_pages+629/640] [_alloc_pages+22/32] [__get_free_pages+10/64] [kmem_cache_grow+154/464] [kmem_cache_alloc+193/224]
Mar  6 17:41:03 gabija kernel:   [<e0afd49d>] [<e0b0f3b6>] [<e0afd85c>] [<e0b00a80>] [ip_rcv_finish+0/480] [<e0b00a80>]
Mar  6 17:41:03 gabija kernel:   [sys_sigsuspend+85/144] [nf_iterate+48/128] [ip_rcv_finish+0/480] [ip_rcv_finish+0/480] [nf_hook_slow+174/320] [ip_rcv_finish+0/480]
Mar  6 17:41:03 gabija kernel:   [<e0b00340>] [ip_rcv+886/944] [ip_rcv_finish+0/480] [call_do_IRQ+5/13] [netif_receive_skb+267/320] [e100:ethtool_ioctl+9721/18056]
Mar  6 17:41:03 gabija kernel:   [<e0b5f803>] [timer_bh+588/880] [net_rx_action+112/272] [do_softirq+90/176] [do_IRQ+157/176] [call_do_IRQ+5/13]
Mar  6 17:41:03 gabija kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Mar  6 17:41:03 gabija kernel: c62b7d78 c0129755 00000020 00000020 dffea9f0 00000020 00000001 00000001
Mar  6 17:41:03 gabija kernel:        c0235a3c c0235bf4 00000000 00000020 00000000 c0129316 00000040 c012976a
Mar  6 17:41:03 gabija kernel:        c012722a dffea9f8 dffea9f0 00000246 00000020 00000003 c0127421 dffea9f0
Mar  6 17:41:03 gabija kernel: Call Trace:    [__alloc_pages+629/640] [_alloc_pages+22/32] [__get_free_pages+10/64] [kmem_cache_grow+154/464] [kmem_cache_alloc+193/224]
Mar  6 17:41:03 gabija kernel:   [<e0afd49d>] [<e0afd85c>] [<e0b00a80>] [ip_rcv_finish+0/480] [<e0b00a80>] [do_simd_coprocessor_error+57/128]
Mar  6 17:41:03 gabija kernel:   [nf_iterate+48/128] [ip_rcv_finish+0/480] [ip_rcv_finish+0/480] [nf_hook_slow+174/320] [ip_rcv_finish+0/480] [<e0b00340>]
Mar  6 17:41:03 gabija kernel:   [ip_rcv+886/944] [ip_rcv_finish+0/480] [call_do_IRQ+5/13] [netif_receive_skb+267/320] [e100:ethtool_ioctl+9721/18056] [<e0b5f803>]
Mar  6 17:41:03 gabija kernel:   [timer_bh+588/880] [net_rx_action+112/272] [do_softirq+90/176] [do_IRQ+157/176] [call_do_IRQ+5/13]

Mar  6 17:41:03 gabija kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Mar  6 17:41:03 gabija kernel: c62b7d78 c0129755 00000020 00000020 dffea9f0 00000020 00000001 00000001
Mar  6 17:41:03 gabija kernel:        c0235a3c c0235bf4 00000000 00000020 00000000 c0129316 00000000 c012976a
Mar  6 17:41:03 gabija kernel:        c012722a dffea9f8 dffea9f0 00000246 00000020 00000003 c0127421 dffea9f0
Mar  6 17:41:03 gabija kernel: Call Trace:    [__alloc_pages+629/640] [_alloc_pages+22/32] [__get_free_pages+10/64] [kmem_cache_grow+154/464] [kmem_cache_alloc+193/224]
Mar  6 17:41:03 gabija kernel:   [<e0afd49d>] [<e0b0f15e>] [<e0afd85c>] [<e0b00a80>] [ip_rcv_finish+0/480] [<e0b00a80>]
Mar  6 17:41:03 gabija kernel:   [bios32_service+24/128] [nf_iterate+48/128] [ip_rcv_finish+0/480] [ip_rcv_finish+0/480] [nf_hook_slow+174/320] [ip_rcv_finish+0/480]
Mar  6 17:41:03 gabija kernel:   [<e0b00340>] [ip_rcv+886/944] [ip_rcv_finish+0/480] [call_do_IRQ+5/13] [netif_receive_skb+267/320] [e100:ethtool_ioctl+9721/18056]
Mar  6 17:41:03 gabija kernel:   [<e0b5f803>] [timer_bh+588/880] [net_rx_action+112/272] [do_softirq+90/176] [do_IRQ+157/176] [call_do_IRQ+5/13]
Mar  6 17:41:03 gabija kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Mar  6 17:41:03 gabija kernel: c62b7d78 c0129755 00000020 00000020 dffea9f0 00000020 00000001 00000001
Mar  6 17:41:03 gabija kernel:        c0235a3c c0235bf4 00000000 00000020 00000000 c0129316 00000040 c012976a
Mar  6 17:41:04 gabija kernel:        c012722a dffea9f8 dffea9f0 00000246 00000020 00000003 c0127421 dffea9f0
Mar  6 17:41:08 gabija kernel: Call Trace:    [__alloc_pages+629/640] [_alloc_pages+22/32] [__get_free_pages+10/64] [kmem_cache_grow+154/464] [kmem_cache_alloc+193/224]
Mar  6 17:41:13 gabija kernel:   [<e0afd49d>] [<e0afd85c>] [<e0b00a80>] [ip_rcv_finish+0/480] [<e0b00a80>] [pirq_amd756_set+6/80]
Mar  6 17:41:13 gabija kernel:   [nf_iterate+48/128] [ip_rcv_finish+0/480] [ip_rcv_finish+0/480] [nf_hook_slow+174/320] [ip_rcv_finish+0/480] [<e0b00340>]
Mar  6 17:41:13 gabija kernel:   [ip_rcv+886/944] [ip_rcv_finish+0/480] [call_do_IRQ+5/13] [netif_receive_skb+267/320] [e100:ethtool_ioctl+9721/18056] [<e0b5f803>]
Mar  6 17:41:13 gabija kernel:   [timer_bh+588/880] [net_rx_action+112/272] [do_softirq+90/176] [do_IRQ+157/176] [call_do_IRQ+5/13]
Mar  6 17:41:13 gabija kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Mar  6 17:41:13 gabija kernel: c62b7d78 c0129755 00000020 00000020 dffea9f0 00000020 00000001 00000001
Mar  6 17:41:13 gabija kernel:        c0235a3c c0235bf4 00000000 00000020 00000000 c0129316 00000000 c012976a
Mar  6 17:41:13 gabija kernel:        c012722a dffea9f8 dffea9f0 00000246 00000020 00000003 c0127421 dffea9f0
Mar  6 17:41:13 gabija kernel: Call Trace:    [__alloc_pages+629/640] [_alloc_pages+22/32] [__get_free_pages+10/64] [kmem_cache_grow+154/464] [kmem_cache_alloc+193/224]
Mar  6 17:41:15 gabija kernel:   [<e0afd49d>] [<e0afd85c>] [<e0b00a80>] [ip_rcv_finish+0/480] [<e0b00a80>] [nf_iterate+48/128]
Mar  6 17:41:22 gabija kernel:   [ip_rcv_finish+0/480] [ip_rcv_finish+0/480] [nf_hook_slow+174/320] [ip_rcv_finish+0/480] [<e0b00340>] [ip_rcv+886/944]
Mar  6 17:41:22 gabija kernel:   [ip_rcv_finish+0/480] [call_do_IRQ+5/13] [netif_receive_skb+267/320] [e100:ethtool_ioctl+9721/18056] [<e0b5f803>] [timer_bh+588/880]
Mar  6 17:41:22 gabija kernel:   [net_rx_action+112/272] [<c0[ip_rcv_finish+0/480]
Mar  6 17:41:22 gabija kernel:   [nf_hook_slow+231/320] [ip_rcv+886/944] [ip_rcv_finish+0/480] [netif_receive_skb+267/320] [e100:ethtool_ioctl+9721/18056] [net_rx_action+112/272]
Mar  6 17:41:22 gabija kernel:   [do_softirq+90/176] [do_IRQ+157/176] [call_do_IRQ+5/13] [kupdate_one_transaction+439/512] [reiserfs_journal_kupdate+107/208] [flush_old_commits+301/320]
Mar  6 17:41:22 gabija kernel:   [reiserfs_write_super+21/32] [sync_supers+225/320] [sync_old_buffers+14/96] [kupdate+293/352] [ret_from_fork+6/32] [kupdate+0/352]
Mar  6 17:41:22 gabija kernel:   [arch_kernel_thread+40/64]

  Рекомендовать в FAQ | Cообщить модератору | Наверх

3. "kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0..."
Сообщение от unk Искать по авторуВ закладки(ok) on 06-Мрт-05, 19:39  (MSK)
Мне кажется, что проблема тут:

>Mar  6 17:41:02 gabija kernel:   [ip_rcv+886/944] [ip_rcv_finish+0/480] [call_do_IRQ+5/13] [netif_receive_skb+267/320] [e100:ethtool_ioctl+9721/18056] [<e0b5f803>]

Похоже карточка/драйвер глючит на большом числе маленьких пакетов.
Могу и ошибаться.

  Рекомендовать в FAQ | Cообщить модератору | Наверх

4. "kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0..."
Сообщение от EDSKA emailИскать по авторуВ закладки(ok) on 06-Мрт-05, 19:54  (MSK)
>Мне кажется, что проблема тут:
>
>>Mar  6 17:41:02 gabija kernel:   [ip_rcv+886/944] [ip_rcv_finish+0/480] [call_do_IRQ+5/13] [netif_receive_skb+267/320] [e100:ethtool_ioctl+9721/18056] [<e0b5f803>]
>
>Похоже карточка/драйвер глючит на большом числе маленьких пакетов.
>Могу и ошибаться.

Карточки 4-шт Intel 100+ PRO na i82559
Сеичас стоит e100.o + NAPI (брал с www.intel.com)

eth0 получает ~ 1000-3000 pps

На 2.4.28 стоял eero100.o и было так:

Feb 27 18:41:31 gabija kernel:   [do_IRQ+106/168] [call_do_IRQ+5/13] [pci_conf2_read_config_byte+64/72] [printk+240/276] [<d8bd6ed9>] [show_trace+203/240]
Feb 27 18:41:31 gabija kernel:   [<d8bd6ed9>] [show_stack+113/120] [dump_stack+7/12] [__alloc_pages+639/652] [_alloc_pages+22/24] [__get_free_pages+10/60]
Feb 27 18:41:31 gabija kernel:   [kmem_cache_grow+154/464] [kmem_cache_alloc+193/212] [alloc_skb+173/380] [<d8bd6ed9>] [<d8bd6850>] [eepro100:__insmod_eepro100_S.text_L11504+6537/11584]
Feb 27 18:41:31 gabija kernel:   [handle_IRQ_event+47/88] [do_IRQ+106/168] [call_do_IRQ+5/13] [<d8bbf5c0>] [<d8bbf82c>] [<d8bbfb1c>]
Feb 27 18:41:31 gabija kernel:   [<d8bbfe35>] [<d8bc0770>] [<d8bc0e3a>] [qdisc_restart+19/208] [dev_queue_xmit+245/556] [ip_finish_output2+153/220]
Feb 27 18:41:31 gabija kernel:   [ip_finish_output2+0/220] [nf_hook_slow+238/324] [ip_forward_finish+0/84] [ip_finish_output+262/272] [ip_finish_output2+0/220] [ip_forward_finish+0/84]
Feb 27 18:41:31 gabija kernel:   [ip_forward_finish+78/84] [nf_hook_slow+238/324] [ip_forward+409/492] [ip_forward_finish+0/84] [ip_rcv_finish+432/484] [ip_rcv_finish+0/484]
Feb 27 18:41:31 gabija kernel:   [nf_hook_slow+238/324] [ip_rcv+886/944] [ip_rcv_finish+0/484] [netif_receive_skb+257/300] [process_backlog+105/268] [net_rx_action+112/276]
Feb 27 18:41:31 gabija kernel:   [do_softirq+90/164] [do_IRQ+150/168] [call_do_IRQ+5/13] [sys_truncate+24/384] [schedule+487/760] [reschedule+5/16]
Feb 27 18:41:31 gabija kernel: eth0: can't fill rx buffer (force 1)!
Feb 27 18:41:31 gabija kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Feb 27 18:41:31 gabija kernel: c143b998 c015bb07 00000020 00000020 c142f440 00000020 00000001 00000001
Feb 27 18:41:31 gabija kernel:        c027239c c0272554 00000000 00000020 c0270d80 c015b6c6 00000040 c015bb1e
Feb 27 18:41:31 gabija kernel:        c015971a c142f448 c142f440 00000246 00000020 00000003 c0159911 c142f440
Feb 27 18:41:31 gabija kernel: Call Trace:    [__alloc_pages+639/652] [_alloc_pages+22/24] [__get_free_pages+10/60] [<c015 [eepro100:__insmod_eepro100_S.text_L11504+6836/11584] [eepro100:__insmod_eepro100_S.text_L11504+7307/11584] [eepro100:__insmod_eepro100_S.text_L11504+6507/11584] [handle_IRQ_event+47/88] [do_IRQ+106/168]
Feb 27 18:41:31 gabija kernel:   [call_do_IRQ+5/13] [do_syslog+292/724] [kmsg_read+17/24] [sys_read+150/240] [system_call+51/64]
Feb 27 18:41:31 gabija kernel: eth2: can't fill rx buffer (force 0)!
Feb 27 18:41:31 gabija kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)
Feb 27 18:41:31 gabija kernel: d72efd50 c015bb07 00000020 00000020 c142f440 00000020 00000001 00000001
Feb 27 18:41:31 gabija kernel:        c027239c c0272554 00000000 00000020 00000000 c015b6c6 00000040 c015bb1e
Feb 27 18:41:31 gabija kernel:        c015971a c142f448 c142f440 00000246 00000020 00000003 c0159911 c142f440
Feb 27 18:41:31 gabija kernel: Call Trace:    [__alloc_pages+639/652] [_alloc_pages+22/24] [__get_free_pages+10/60] [kmem_cache_grow+154/464] [kmem_cache_alloc+193/212]
Feb 27 18:41:31 gabija kernel:   [alloc_skb+173/380] [sock_wmalloc+38/80] [tcp_make_synack+32/1092] [tcp_v4_send_synack+57/188] [tcp_synack_timer+221/392] [tcp_keepalive_timer+41/572]
Feb 27 18:41:31 gabija kernel:   [tcp_keepalive_timer+0/572] [timer_bh+588/872] [eepro100:__insmod_eepro100_S.text_L11504+6553/11584] [bh_action+26/64] [tasklet_hi_action+74/112] [do_softirq+90/164]
Feb 27 18:41:31 gabija kernel:   [do_IRQ+150/168] [call_do_IRQ+5/13] [do_syslog+292/724] [kmsg_read+17/24] [sys_read+150/240] [system_call+51/64]
Feb 27 18:41:31 gabija kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0)

  Рекомендовать в FAQ | Cообщить модератору | Наверх

5. "kernel: __alloc_pages: 0-order allocation failed (gfp=0x20/0..."
Сообщение от unk Искать по авторуВ закладки(ok) on 06-Мрт-05, 20:04  (MSK)
>>Похоже карточка/драйвер глючит на большом числе маленьких пакетов.
>>Могу и ошибаться.
>Карточки 4-шт Intel 100+ PRO na i82559
Это подкрепляет мою увереность:
Если не ошибаюсь у линуксячей vm 0-order это маленькие кусочки памяти <256 байт.
Что делать - не знаю.
Попробуйте поиграть параметрами драйвера (размер/количество пакетов)...

PS: Если проблема была моей, то поставил бы фрю.

  Рекомендовать в FAQ | Cообщить модератору | Наверх


Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Пожалуйста, прежде чем написать сообщение, ознакомьтесь с данными рекомендациями.




Спонсоры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2022 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру