ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] проблемы с памятью?
Date: Sat, 18 Apr 2009 15:48:30 +0400
Message-ID: <20090418114829.GA8745@atlas.home> (raw)
In-Reply-To: <49DF4A8F.2090004@avangard.dn.ua>

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

On Fri, Apr 10, 2009 at 04:33:03PM +0300, Roman Lesnichenko wrote:
> С непонятной периодичностью возникают проблемы с шлюзом в результате 
> которых не работает езернет в локалку. Причем наружу работает.
> Кто что может подсказать?
> memtest ошибок не выдает.
> 
> Apr 10 04:55:56 avangate kernel: ksoftirqd/0: page allocation failure. order:0, mode:0x20

Это типичная проблема в случае, если машина загружена главным образом
маршрутизацией - ядро не успевает освободить достаточно памяти для
использования обработчиками прерываний.  Нужно увеличить значение
/proc/sys/vm/min_free_kbytes (подбирается в зависимости от нагрузки,
можно поднять до 16384, или даже больше, если сеть гигабитная).

> Apr 10 04:55:56 avangate kernel: Pid: 4, comm: ksoftirqd/0 Not tainted 2.6.25-std-srv-alt8.M41.4 #1
> Apr 10 04:55:56 avangate kernel:  [<c0272e85>] __alloc_pages+0x335/0x380
> Apr 10 04:55:56 avangate kernel:  [<c0291e0f>] cache_alloc_refill+0x31f/0x570
> Apr 10 04:55:56 avangate kernel:  [<c0291ac0>] kmem_cache_alloc+0x80/0xb0
> Apr 10 04:55:56 avangate kernel:  [<f8b41c42>] nf_conntrack_alloc+0x42/0x170 [nf_conntrack]
> Apr 10 04:55:56 avangate kernel:  [<f8b427c3>] nf_conntrack_in+0x363/0x4e0 [nf_conntrack]
> Apr 10 04:55:56 avangate kernel:  [<c03d4709>] nf_hook_slow+0x59/0xe0
> Apr 10 04:55:56 avangate kernel:  [<f8ae9250>] ipv4_conntrack_in+0x0/0x10 [nf_conntrack_ipv4]
> Apr 10 04:55:56 avangate kernel:  [<c03d4647>] nf_iterate+0x57/0x80
> Apr 10 04:55:56 avangate kernel:  [<c03da340>] ip_rcv_finish+0x0/0x360
> Apr 10 04:55:56 avangate kernel:  [<c03d4709>] nf_hook_slow+0x59/0xe0
> Apr 10 04:55:56 avangate kernel:  [<c03da340>] ip_rcv_finish+0x0/0x360
> Apr 10 04:55:56 avangate kernel:  [<c03dab88>] ip_rcv+0x208/0x290
> Apr 10 04:55:56 avangate kernel:  [<c03da340>] ip_rcv_finish+0x0/0x360
> Apr 10 04:55:56 avangate kernel:  [<c03da980>] ip_rcv+0x0/0x290
> Apr 10 04:55:56 avangate kernel:  [<c03b8e35>] netif_receive_skb+0x405/0x4d0
> Apr 10 04:55:56 avangate kernel:  [<c02295fa>] check_preempt_wakeup+0xba/0xc0
> Apr 10 04:55:56 avangate kernel:  [<c03bb7f5>] process_backlog+0x75/0xe0
> Apr 10 04:55:56 avangate kernel:  [<c03bb4ad>] net_rx_action+0xfd/0x1b0
> Apr 10 04:55:56 avangate kernel:  [<c0231722>] __do_softirq+0x82/0x110
> Apr 10 04:55:56 avangate kernel:  [<c0231805>] do_softirq+0x55/0x60
> Apr 10 04:55:56 avangate kernel:  [<c0207a2a>] do_IRQ+0x4a/0xa0
> Apr 10 04:55:56 avangate kernel:  [<c0205e13>] common_interrupt+0x23/0x30
> Apr 10 04:55:56 avangate kernel:  [<c0227826>] finish_task_switch+0x26/0xb0
> Apr 10 04:55:56 avangate kernel:  [<c0433c4b>] schedule+0x35b/0x7d0
> Apr 10 04:55:56 avangate kernel:  [<c0231722>] __do_softirq+0x82/0x110
> Apr 10 04:55:56 avangate kernel:  [<c02318c0>] ksoftirqd+0x0/0xd0
> Apr 10 04:55:56 avangate kernel:  [<c023195a>] ksoftirqd+0x9a/0xd0
> Apr 10 04:55:56 avangate kernel:  [<c023f7c2>] kthread+0x42/0x70
> Apr 10 04:55:56 avangate kernel:  [<c023f780>] kthread+0x0/0x70
> Apr 10 04:55:56 avangate kernel:  [<c02060b7>] kernel_thread_helper+0x7/0x10
> Apr 10 04:55:56 avangate kernel:  =======================

Ещё на всякий случай посмотрите значения
/proc/sys/net/netfilter/nf_conntrack_count и
/proc/sys/net/netfilter/nf_conntrack_max (если его поднимали).

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

  parent reply	other threads:[~2009-04-18 11:48 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-10 13:33 Roman Lesnichenko
2009-04-16 21:10 ` Michael Shigorin
2009-04-16 22:40   ` Roman Lesnichenko
2009-04-17  5:47     ` Michael Shigorin
2009-04-17  6:15       ` Roman Lesnichenko
2009-04-17 16:11     ` Alexander Yereschenko
2009-04-17 18:54       ` Aleksander Gorohovski
2009-04-17 19:52         ` Alexander Yereschenko
2009-04-18  0:34           ` Alexey Borovskoy
2009-04-18  8:12           ` Yuri Bushmelev
2009-04-18  9:23             ` Alexander Yereschenko
2009-04-18 11:48 ` Sergey Vlasov [this message]
2009-04-21 14:00   ` Roman Lesnichenko
2009-04-24  9:29 ` Anton Gorlov

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=20090418114829.GA8745@atlas.home \
    --to=vsu@altlinux.ru \
    --cc=community@lists.altlinux.org \
    /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