lkml.org 
[lkml]   [1999]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [showstopper] Memory leak in 2.2.1
    On Thu, Feb 04, 1999 at 04:35:57PM +0000, Stephen C. Tweedie wrote:
    [snip]
    > Not reproducible here, so could you possibly get me a bit of info which
    > might help? In particular, a sample of "vmstat 1" output while this is
    > happening would help, as would a
    >
    > ps -lax
    > cat /proc/meminfo
    > cat /proc/sys/fs/inode-state
    >

    A friend of mine has the same problem, the machine is slowly filling
    up all available memory, rendering it to the point of useless. :(
    He runs X and an automated backup system, so a lot of inode/fs
    access is in done each day.

    Below are some datapoints:

    # uptime
    7:21pm up 4 days, 18:57, 2 users, load average: 1.07, 1.06, 1.09


    #ps axl
    FLAGS UID PID PPID PRI NI SIZE RSS WCHAN STA TTY TIME COMMAND
    100 0 1 0 0 0 780 72 end S ? 0:03 init
    40 0 2 1 0 0 0 0 end SW ? 0:11 (kflushd)
    840 0 3 1 0 0 0 0 end SW ? 0:47 (kswapd)
    140 1 485 1 0 0 760 0 end SW ? 0:00 (portmap)
    140 0 487 1 0 0 856 36 end S S0 0:00 -dip (193
    140 0 505 1 0 0 1164 0 end SW ? 0:01 (sshd)
    40 0 516 1 0 0 792 0 end SW ? 0:00 (apcupsd)
    140 0 527 1 0 0 804 112 end S ? 2:00 syslogd -
    140 0 536 1 0 0 1036 0 end SW ? 0:00 (klogd)
    140 0 547 1 0 0 1004 128 end S ? 0:05 rwhod
    40 2 558 1 0 0 780 0 end SW ? 0:00 (atd)
    40 0 569 1 0 0 792 116 end S ? 0:03 crond
    140 0 588 1 0 0 788 72 end S ? 0:00 inetd
    40 0 599 1 0 0 1196 444 end S ? 0:17 named
    140 0 610 1 0 0 824 0 end SW ? 0:00 (lpd)
    140 0 616 1 0 0 2616 76 end S ? 0:00 /afs1/htt
    140 0 625 1 0 0 2436 96 end S ? 0:00 /afs1/htt
    140 0 645 1 0 0 1108 204 end S ? 0:01 -Waiting
    40 9 682 1 0 0 2904 2084 end S ? 10:00 /usr/lib/
    40 9 693 1 0 0 4424 308 end S ? 0:21 /usr/sbin
    40 9 695 1 0 0 1148 0 end SW ? 0:00 (rc.news)
    100 0 701 1 0 0 1148 0 end SW ? 0:00 (safe_mys
    140 0 711 1 0 0 744 0 end SW ? 0:05 (gpm)
    140 0 773 1 0 0 1480 0 end SW ? 0:00 (smbd)
    140 0 782 1 0 0 1328 344 end S ? 0:08 nmbd -D
    100 0 792 1 0 0 6168 0 end SW ? 0:00 (dtlogin)
    0 401 812 1 20 19 636 104 R N ? 6564:25 ./rc5des
    100 0 815 1 0 0 728 0 end SW 1 0:00 (mingetty
    100 0 816 1 0 0 1480 0 end SW 2 0:00 (login)
    100 0 817 1 0 0 728 0 end SW 3 0:00 (mingetty
    100 0 818 1 0 0 728 0 end SW 4 0:00 (mingetty
    100 0 819 1 0 0 728 0 end SW 5 0:00 (mingetty
    100 0 820 1 0 0 728 0 end SW 6 0:00 (mingetty
    100 0 821 1 0 0 728 0 end SW 7 0:00 (mingetty
    100 0 822 1 0 0 728 0 end SW 8 0:00 (mingetty
    100 0 823 1 0 0 728 0 end SW 9 0:00 (mingetty
    100 0 824 1 0 0 728 0 end SW 10 0:00 (mingetty
    100 0 825 1 0 0 728 0 end SW 11 0:00 (mingetty
    0 0 826 1 0 0 728 0 end SW ? 0:00 (cat)
    100 0 827 1 0 0 832 0 end SW ? 0:00 (mgetty)
    100 0 828 1 0 0 816 0 end SW ? 0:00 (vboxgett
    100 0 829 1 0 0 816 0 end SW ? 0:00 (vboxgett
    140 0 832 1 0 0 720 24 end S ? 0:16 update (b
    40 401 888 1 0 0 4152 0 end SW ? 0:04 (ttsessio
    0 401 14069 1 0 0 2828 20 end S ? 0:00 /usr/dt/b
    0 0 890 588 0 0 3928 0 end SW ? 0:00 (rpc.ttdb
    140 1000 623 616 0 0 2552 40 end S ? 0:00 /afs1/htt
    140 1000 9761 616 0 0 2664 8 end S ? 0:00 (httpd)
    140 1000 26015 616 0 0 2664 8 end S ? 0:00 (httpd)
    0 1000 658 623 0 0 23264 1600 end S ? 6:28 /afs1/pro
    0 0 628 625 0 0 1040 0 end SW ? 0:00 (gcache)
    140 1000 629 625 0 0 2436 0 end SW ? 0:00 (httpsd)
    0 9 917 695 0 0 1196 0 end SW ? 2:30 (innwatch
    100 0 723 701 0 0 5016 24 end S ? 0:00 (mysqld)
    40 0 750 723 0 0 5016 24 end S ? 0:00 (mysqld)
    40 0 751 750 0 0 5016 24 end S ? 0:00 (mysqld)
    140 0 18300 773 0 0 1820 204 end S ? 0:02 smbd -D
    140 0 24276 773 0 0 1840 204 end S ? 0:07 smbd -D
    100 0 835 792 0 0 12096 1012 end S ? 13:23 /usr/bin/
    40 0 840 792 0 0 6412 0 end SW ? 0:00 (dtlogin)
    0 0 17288 816 5 0 1216 548 end S 2 0:00 -bash
    100 401 856 840 0 0 936 0 end SW ? 0:00 (Xsession
    0 401 885 856 0 0 1144 0 end SW ? 0:00 (bash)
    0 401 889 885 0 0 7084 0 end SW ? 0:00 (dtsessio
    40 401 891 889 0 0 1092 64 end S ? 0:03 /usr/bin/
    0 401 899 889 0 0 9348 268 end S ? 0:53 dtwm
    0 401 900 889 0 0 9232 0 end SW ? 0:01 (dtfile)
    0 9 17528 917 0 0 716 0 end SW ? 0:00 (sleep)
    0 0 14070 14069 0 0 2548 348 end S ? 0:06 xterm -ls
    100 401 14071 14070 0 0 1204 0 end SW p2 0:00 (bash)
    0 401 14082 14071 5 0 1152 280 end S p2 0:02 sh ./getp
    40 401 17570 14082 8 0 1148 380 end S p2 0:00 sh ./getp
    0 0 17569 17288 11 0 980 520 R 2 0:00 ps -lax
    0 401 17571 17570 8 0 740 320 end D p2 0:00 date +%m%


    # cat /proc/meminfo
    total: used: free: shared: buffers: cached:
    Mem: 64786432 63131648 1654784 5656576 1372160 7950336
    Swap: 90472448 25145344 65327104
    MemTotal: 63268 kB
    MemFree: 1616 kB
    MemShared: 5524 kB
    Buffers: 1340 kB
    Cached: 7764 kB
    SwapTotal: 88352 kB
    SwapFree: 63796 kB


    # cat /proc/slabinfo
    slabinfo - version: 1.0
    kmem_cache 28 42
    tcp_tw_bucket 0 0
    tcp_bind_bucket 41 127
    tcp_open_request 0 0
    skbuff_head_cache 0 25
    sock 126 145
    dquot 0 0
    filp 1115 1134
    signal_queue 0 0
    buffer_head 1360 2646
    mm_struct 69 93
    vm_area_struct 1369 1827
    dentry_cache 534 1736
    files_cache 68 98
    uid_cache 5 127
    size-131072 0 0
    size-65536 1 1
    size-32768 0 0
    size-16384 1 1
    size-8192 0 0
    size-4096 83 84
    size-2048 142 152
    size-1024 17 24
    size-512 48 56
    size-256 19 28
    size-128 430 500
    size-64 122 168
    size-32 405 756
    slab_cache 92 126


    # cat /proc/sys/inode-state
    152474 64 1 0 0 0 0

    Met vriendelijke groet,
    Pauline Middelink
    --
    PGP Key fingerprint = DE 6B D0 D9 19 AD A7 A0 58 A3 06 9D B6 34 39 E2
    For more details look at my website http://www.polyware.nl/~middelin

    -
    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:50    [W:0.036 / U:90.948 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site