mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* dentry leak in 2.5.x
@ 2003-04-13 22:29 wli
  2003-04-14  8:25 ` William Lee Irwin III
  0 siblings, 1 reply; 2+ messages in thread
From: wli @ 2003-04-13 22:29 UTC (permalink / raw)
  To: linux-kernel

Seen on 2.5.65-mm3, updatedb got dentry + inode caches eating 740/768MB:

$ head /proc/sys/fs/*state
==> /proc/sys/fs/dentry-state <==
1192481 1194571 45      0       0       0
==> /proc/sys/fs/inode-state <==
1182447 49053   0       0       0       0       0

Then, after listening to it swap for a while (the screen stopped
unblanking) I saw the state of affairs unchanged by swapoff -a:

$ head /proc/sys/fs/*state
==> /proc/sys/fs/dentry-state <==
1192501 1194592 45      0       0       0
==> /proc/sys/fs/inode-state <==
1182451 49053   0       0       0       0       0

Followed by blind reboot via sysrq, nothing visible on VGA or remotely.
I suspect a leak (or something). nr_unused is greater than nr_dentry.
UP 600MHz K7 768MB RAM, Adaptec 39160, tulip + eepro, reiserfs, preempt.


-- wli

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: dentry leak in 2.5.x
  2003-04-13 22:29 dentry leak in 2.5.x wli
@ 2003-04-14  8:25 ` William Lee Irwin III
  0 siblings, 0 replies; 2+ messages in thread
From: William Lee Irwin III @ 2003-04-14  8:25 UTC (permalink / raw)
  To: linux-kernel

On Sun, Apr 13, 2003 at 03:29:08PM -0700, wli@holomorphy.com wrote:
> Seen on 2.5.65-mm3, updatedb got dentry + inode caches eating 740/768MB:

Looks like an oops may have caused it:

  printing eip:
 c0159cf7
 Oops: 0000 [#1]
 CPU:    0
 EIP:    0060:[iput+39/112]    Not tainted VLI
 EFLAGS: 00010202
 EIP is at iput+0x27/0x70
 eax: 00000004   ebx: d2effb74   ecx: d2effb84   edx: d2effb84
 esi: d2effb74   edi: dc809380   ebp: 0000005d   esp: efd37e80
 ds: 007b   es: 007b   ss: 0068
 Process kswapd0 (pid: 8, threadinfo=efd36000 task=efd4b900)
 Stack: efd36000 c01575ed d2effb74 00000080 000000c5 efd36000 00000000 c0157a05 
        00000080 c0133c9c 00000080 000000d0 000002a2 c0485b54 ffffff5a 00000006 
        0458db60 00000000 c0486218 000273d8 effeebc0 c0134c6f 000002a2 000000d0 
 Call Trace:
  [prune_dcache+301/416] prune_dcache+0x12d/0x1a0
  [shrink_dcache_memory+21/64] shrink_dcache_memory+0x15/0x40
  [shrink_slab+252/352] shrink_slab+0xfc/0x160
  [balance_pgdat+207/320] balance_pgdat+0xcf/0x140
  [kswapd+235/240] kswapd+0xeb/0xf0
  [kswapd+0/240] kswapd+0x0/0xf0
  [autoremove_wake_function+0/64] autoremove_wake_function+0x0/0x40
  [autoremove_wake_function+0/64] autoremove_wake_function+0x0/0x40
  [kernel_thread_helper+5/24] kernel_thread_helper+0x5/0x18
 
 Code: 04 c3 89 f6 53 8b 5c 24 08 85 db 74 60 8b 83 88 00 00 00 8b 40 24 83 bb 3
0 01 00 00 20 75 08 0f 0b 16 04 ed a4 3e c0 85 c0 74 0d <8b> 40 14 85 c0 74 06 5
3 ff d0 83 c4 04 68 0c 6f 48 c0 8d 43 1c


-- wli

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-14  8:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-13 22:29 dentry leak in 2.5.x wli
2003-04-14  8:25 ` William Lee Irwin III

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®