lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120926060312.GC16575@schottelius.org>
Date:	Wed, 26 Sep 2012 08:03:12 +0200
From:	Nico Schottelius <nico-kernel20120920@...ottelius.org>
To:	Dave Kleikamp <dave.kleikamp@...cle.com>
Cc:	David Rientjes <rientjes@...gle.com>,
	Nico Schottelius <nico-kernel20120920@...ottelius.org>,
	Arend van Spriel <arend@...adcom.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"linux-wireless@...r.kernel.org" <linux-wireless@...r.kernel.org>,
	Dave Kleikamp <shaggy@...nel.org>,
	jfs-discussion@...ts.sourceforge.net
Subject: Re: Out of memory on 3.5 kernels

Good morning,

Dave Kleikamp [Tue, Sep 25, 2012 at 10:07:14AM -0500]:
> >>  Active / Total Objects (% used)    : 1165130 / 1198087 (97.2%)
> >>  Active / Total Slabs (% used)      : 81027 / 81027 (100.0%)
> >>  Active / Total Caches (% used)     : 69 / 101 (68.3%)
> >>  Active / Total Size (% used)       : 1237249.81K / 1246521.94K (99.3%)
> >>  Minimum / Average / Maximum Object : 0.01K / 1.04K / 15.23K
> >>
> >>   OBJS ACTIVE  USE OBJ SIZE  SLABS OBJ/SLAB CACHE SIZE NAME                   
> >> 993607 993607 100%    1.21K  75358       26   2411456K jfs_ip
> > 
> > Well that doesn't look good.  100% of the inode cache for jfs are being 
> > used which either means
> > 
> >  - there's a memory leak, or
> 
> maybe a missing iput() somewhere?
> 
> Nico, does unmounting the usb drive after killing the backup clean up
> the jfs inode cache?

Iirc, it does not. I'll check this evening, because doing the backup
currently forces me to reboot my productive system.

> >  - there's some sort of throttling issue in jfs.
> > 
> > And those objects are consuming ~2.3GB of slab on your 4GB machine and 
> > seems to only have occurred between v3.4.2 to v3.5.3.
> 
> Almost nothing in jfs has changed between these releases. Only this:
> 
> vfs: Rename end_writeback() to clear_inode()

The other obscurity is that the root filesystem is also jfs - it's not
only the usb disk.

Cheers,

Nico

-- 
PGP key: 7ED9 F7D3 6B10 81D7 0EC5  5C09 D7DC C8E4 3187 7DF0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ