lkml.org 
[lkml]   [1999]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectmemory leak in kernel NFS daemon w/ 2.2.10
Our file server started to get slow after a two weeks and we noticed that
all the memory is use and not by any programs.

Here is a report from top (sorted by memory usage)
All this machines does is run kernel nfsd.

Its a dual pentium ii 400mhz w/ ultra 2 scsi drives


9:18pm up 16 days, 2:32, 1 user, load average: 5.69, 4.99, 5.18
36 processes: 35 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: 0.0% user, 91.8% system, 0.0% nice, 8.1% idle
Mem: 257696K av, 254924K used, 2772K free, 800K shrd, 5240K buff
Swap: 72256K av, 2272K used, 69984K free 8160K cached

PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
26429 root 10 0 484 444 332 R 0 2.0 0.1 0:03 top
26392 root 0 0 292 164 104 S 0 0.1 0.0 0:00 sshd
291 root 0 0 224 156 132 S 0 0.3 0.0 1:36 syslogd
302 root 0 0 348 156 128 S 0 0.0 0.0 0:16 klogd
478 root 0 0 68 36 28 D 0 0.0 0.0 1:35 update
1 root 0 0 68 0 0 SW 0 0.0 0.0 0:06 init
2 root 0 0 0 0 0 SW 0 0.0 0.0 0:50 kflushd
3 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kpiod
4 root 0 0 0 0 0 SW 0 0.1 0.0 2:23 kswapd
239 bin 0 0 72 0 0 SW 0 0.0 0.0 0:00 portmap
264 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 rpciod
265 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 lockd
316 daemon 0 0 72 0 0 SW 0 0.0 0.0 0:00 atd
330 root 0 0 88 0 0 SW 0 0.0 0.0 0:02 crond
344 root 0 0 56 0 0 SW 0 0.0 0.0 0:00 inetd
361 root 0 0 76 0 0 SW 0 0.0 0.0 0:00
rpc.statd
372 root 0 0 64 0 0 SW 0 0.0 0.0 0:00
rpc.rquotad
383 root 0 0 172 0 0 SW 0 0.0 0.0 0:00
rpc.mountd
394 root 10 -1 0 0 0 DW< 0 12.0 0.0 437:29 nfsd
395 root 7 -1 0 0 0 DW< 0 11.0 0.0 433:30 nfsd
396 root 5 -1 0 0 0 DW< 0 10.2 0.0 433:16 nfsd
397 root 6 -1 0 0 0 DW< 0 11.9 0.0 433:40 nfsd
398 root 8 -1 0 0 0 DW< 0 10.9 0.0 433:08 nfsd
399 root 10 -1 0 0 0 DW< 0 13.2 0.0 433:31 nfsd
400 root 6 -1 0 0 0 DW< 0 9.9 0.0 434:43 nfsd
401 root 8 -1 0 0 0 DW< 0 10.2 0.0 433:15 nfsd
436 root 0 0 272 0 0 SW 0 0.0 0.0 0:09
sendmail
468 root 0 0 132 0 0 SW 0 0.0 0.0 0:11 sshd
471 root 0 0 60 0 0 SW 0 0.0 0.0 0:00
mingetty
472 root 0 0 60 0 0 SW 0 0.0 0.0 0:00
mingetty
473 root 0 0 60 0 0 SW 0 0.0 0.0 0:00
mingetty
474 root 0 0 60 0 0 SW 0 0.0 0.0 0:00
mingetty
475 root 0 0 60 0 0 SW 0 0.0 0.0 0:00
mingetty


This is after a machine reboot:

9:22pm up 3 min, 1 user, load average: 1.07, 0.72, 0.29
35 processes: 34 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: 0.1% user, 1.3% system, 0.0% nice, 98.4% idle
Mem: 257696K av, 62560K used, 195136K free, 9988K shrd, 13232K buff
Swap: 72256K av, 0K used, 72256K free 42052K cached




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [from the cache]
©2003-2011 Jasper Spaans