Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1186606 > unrolled thread

nf_conntrack: falling back to vmalloc.

Started byToralf Förster <toralf.foerster@gmx.de>
First post2015-07-17 11:10 +0200
Last post2015-07-17 16:40 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  nf_conntrack: falling back to vmalloc. Toralf Förster <toralf.foerster@gmx.de> - 2015-07-17 11:10 +0200
    Re: nf_conntrack: falling back to vmalloc. Florian Westphal <fw@strlen.de> - 2015-07-17 12:20 +0200
      Re: nf_conntrack: falling back to vmalloc. Toralf Förster <toralf.foerster@gmx.de> - 2015-07-17 16:40 +0200

#1186606 — nf_conntrack: falling back to vmalloc.

FromToralf Förster <toralf.foerster@gmx.de>
Date2015-07-17 11:10 +0200
Subjectnf_conntrack: falling back to vmalloc.
Message-ID<pN9Oy-X0-15@gated-at.bofh.it>
I do run a server with a 64 bit hardened Gentoo Linux (kernel currently 4.0.8).
Around 12th of July it started to spew those messages into kern.log :

/var/log/kern.log:Jul 12 15:26:07 tor-relay kernel: [538360.650490] nf_conntrack: falling back to vmalloc.
/var/log/kern.log:Jul 12 15:26:07 tor-relay kernel: [538360.650615] nf_conntrack: falling back to vmalloc.
/var/log/kern.log:Jul 12 15:26:08 tor-relay kernel: [538361.673649] nf_conntrack: falling back to vmalloc.
/var/log/kern.log:Jul 12 15:26:08 tor-relay kernel: [538361.673786] nf_conntrack: falling back to vmalloc.

I read https://bugzilla.openvz.org/show_bug.cgi?id=3092 but a reboot did not help.
I got 1-2 thousends of those lines per day.

Any hints ?

-- 
Toralf, pgp key: 872AE508 0076E94E
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1186670

FromFlorian Westphal <fw@strlen.de>
Date2015-07-17 12:20 +0200
Message-ID<pNaUh-2ta-3@gated-at.bofh.it>
In reply to#1186606
Toralf Förster <toralf.foerster@gmx.de> wrote:
> I do run a server with a 64 bit hardened Gentoo Linux (kernel currently 4.0.8).
> Around 12th of July it started to spew those messages into kern.log :
> 
> /var/log/kern.log:Jul 12 15:26:07 tor-relay kernel: [538360.650490] nf_conntrack: falling back to vmalloc.
> /var/log/kern.log:Jul 12 15:26:07 tor-relay kernel: [538360.650615] nf_conntrack: falling back to vmalloc.
> /var/log/kern.log:Jul 12 15:26:08 tor-relay kernel: [538361.673649] nf_conntrack: falling back to vmalloc.
> /var/log/kern.log:Jul 12 15:26:08 tor-relay kernel: [538361.673786] nf_conntrack: falling back to vmalloc.
> 
> I read https://bugzilla.openvz.org/show_bug.cgi?id=3092 but a reboot did not help.
> I got 1-2 thousends of those lines per day.

Most likely result of 88eab472ec21f01d3e36ff ("netfilter: conntrack:
adjust nf_conntrack_buckets default value".

Do you run containers?

This message can only be printed when a new network namespace is created
(or something is rmmod/modprobing nf_conntrack module all the time).

I wonder if this is caused by some program creating netns for
sandboxing?

Pablo, Patrick -- any idea on how to stop conntrack from becoming active
in a newly created netns automatically without breaking anything?

With upcoming per netns hooks, we might be able to delay registering
conntrack, defrag etc.  until after a -m conntrack rule has been added.
Dou you think that could work?

For nft we could create an expression to configure conntrack explicitly
(inverse NOTRACK).

[ obviously we can also add that for xtables but that would break
  setups if we suddently move to "you must ask for conntrack via
  ruleset" model. ]
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1186875

FromToralf Förster <toralf.foerster@gmx.de>
Date2015-07-17 16:40 +0200
Message-ID<pNeXV-8dA-23@gated-at.bofh.it>
In reply to#1186670
On 07/17/2015 12:10 PM, Florian Westphal wrote:
> Do you run containers?

No, I just run 4 Gentoo chroot images in parallel - but I do that since autumn last year.

Unfortunately I cannot see any correlation to an os/sw upgrade or a config change which could cause these messages nowadays to be appear.
Therefore I do wonder if some network related "traffic" causes this, b/c that box acts as a Tor exit relay too.


-- 
Toralf, pgp key: 872AE508 0076E94E
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web