Mailinglist Archive: opensuse-bugs (4847 mails)

< Previous Next >
[Bug 655221] New: ext4_alloc_context consumes all memory (is it leaking?)
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 22 Nov 2010 10:18:59 +0000
  • Message-id: <bug-655221-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>

https://bugzilla.novell.com/show_bug.cgi?id=655221

https://bugzilla.novell.com/show_bug.cgi?id=655221#c0


Summary: ext4_alloc_context consumes all memory (is it
leaking?)
Classification: openSUSE
Product: openSUSE 11.3
Version: Final
Platform: x86-64
OS/Version: openSUSE 11.3
Status: NEW
Severity: Major
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: bartoschek@xxxxxxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---
Blocker: ---


User-Agent: Mozilla/5.0 (compatible; Konqueror/4.4; Linux) KHTML/4.4.4
(like Gecko) SUSE

On a machine I have several jobs running that are CPU-bound. The total virtual
memory of the processes is smaller than the machine memory. However the system
is permanently paging and the processes only get 1-2% cpu usage.

/proc/meminfo tells us:

MemTotal: 198493288 kB
MemFree: 853372 kB
Buffers: 824 kB
Cached: 26108 kB
SwapCached: 6369336 kB
Active: 37073576 kB
Inactive: 1104932 kB
Active(anon): 37059712 kB
Inactive(anon): 1090980 kB
Active(file): 13864 kB
Inactive(file): 13952 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 209713148 kB
SwapFree: 149362056 kB
Dirty: 16 kB
Writeback: 0 kB
AnonPages: 37642012 kB
Mapped: 13312 kB
Shmem: 0 kB
Slab: 158765316 kB
SReclaimable: 158732380 kB
SUnreclaim: 32936 kB
KernelStack: 2968 kB
PageTables: 202500 kB
NFS_Unstable: 4 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 308959792 kB
Committed_AS: 64376360 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 736572 kB
VmallocChunk: 34358994676 kB

We see that over 150 GiB are allocated for Slab and not given to the processes.
Here is the output of slabtop:

Active / Total Objects (% used) : 364597 / 1070670469 (0.0%)
Active / Total Slabs (% used) : 52397 / 39688960 (0.1%)
Active / Total Caches (% used) : 107 / 193 (55.4%)
Active / Total Size (% used) : 159579.25K / 150697605.41K (0.1%)
Minimum / Average / Maximum Object : 0.02K / 0.14K / 4096.00K

OBJS ACTIVE USE OBJ SIZE SLABS OBJ/SLAB CACHE SIZE NAME
1070187012 0 0% 0.14K 39636556 27 158546224K ext4_alloc_context

We see that ext4_alloc_context uses a tremendous amount of memory without
giving it to the processes.

The machine uses ext4 only for the local base installation. All used data comes
via NFS. I do not see why ext4 should use so much memory.


In addition to the slow progress of our jobs the system is very sluggish.

Reproducible: Didn't try

Steps to Reproduce:
The problem is currently occuring and I am not sure whether it will diretly
occur again. We installed 11.3 on the machine 10 days ago and it ran fine till
now.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >