public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Philippe Elie <phil.el@wanadoo.fr>
To: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: kmem_cache_destroy: Can't free all objects (2.6)
Date: Thu, 14 Aug 2003 16:06:39 +0000	[thread overview]
Message-ID: <3F3BB38F.6060506@wanadoo.fr> (raw)
In-Reply-To: Pine.LNX.4.33.0308141215430.7602-100000@blackhole.kfki.hu

Jozsef Kadlecsik wrote:
> Hello,
> 
> I'm working on performance testing netfilter ip_conntrack.  The tested
> machine is a dual Xeon PC with Serverworks chipset and e1000 cards.
> 
> "Calibrating" without ip_conntrack loaded in went fine. However as
> the ip_conntrack module was removed after a test, sometimes I got the
> message:
> 
> slab error in kmem_cache_destroy(): cache `ip_conntrack': Can't free all
> objects
> Call Trace:
>  [<c0136fe9>] kmem_cache_destroy+0xd8/0x116
>  [<f889f3ba>] ip_conntrack_cleanup+0x43/0x6c [ip_conntrack]
>  [<f889d61a>] init_or_cleanup+0x131/0x190 [ip_conntrack]
>  [<f889fc13>] fini+0xf/0x19 [ip_conntrack]
>  [<c012dd76>] sys_delete_module+0x13c/0x169
>  [<c01402ab>] sys_munmap+0x45/0x66
>  [<c0108f9b>] syscall_call+0x7/0xb
> 
> I cannot reliably reproduce the error. Sometimes it comes at the
> first test run, sometimes at say the 20th, but I have never been able to
> run all the planned 150 tests.
> 
> This happens both with 2.5.74 and 2.6.0-test1.

I fixed a bug with exactly this symptom, all object freed but
the cache was retaining some object internally. I look 2.6.0-test1
and the fix is in, apologies if you already did it correctly
but can you double check the bug is really in 2.6.0-test1.

> Slab cache ip_conntrack: 2052678 allocs vs 2052678 frees


> slab error in kmem_cache_destroy(): cache `ip_conntrack': Can't free all objects

regards,
Philippe Elie



  reply	other threads:[~2003-08-14 14:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-14 10:32 kmem_cache_destroy: Can't free all objects (2.6) Jozsef Kadlecsik
2003-08-14 16:06 ` Philippe Elie [this message]
2003-08-14 19:33   ` Jozsef Kadlecsik
2003-08-15 14:05     ` Philippe Elie
2003-08-15 12:32       ` Jozsef Kadlecsik
2003-08-16 14:20         ` Jozsef Kadlecsik

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=3F3BB38F.6060506@wanadoo.fr \
    --to=phil.el@wanadoo.fr \
    --cc=kadlec@blackhole.kfki.hu \
    --cc=linux-kernel@vger.kernel.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox