Package: procps
Version: 1:3.2.8-10
Severity: important
Hi,
I today noticed that in top, that top eats RAM (rss),
and it incresses. About +8kB per refresh.
It started from about 1MB, and after few minutes
I got 13MB, and it was still climbing.
valgrind also warns me that there are some still reachable
memory.
==12449==
==12449== HEAP SUMMARY:
==12449== in use at exit: 2,138,733 bytes in 49,688 blocks
==12449== total heap usage: 216,526 allocs, 166,838 frees, 290,240,055 bytes
allocated
==12449==
==12449== LEAK SUMMARY:
==12449== definitely lost: 1,849,536 bytes in 48,825 blocks
==12449== indirectly lost: 240 bytes in 20 blocks
==12449== possibly lost: 8,868 bytes in 142 blocks
==12449== still reachable: 280,089 bytes in 701 blocks
==12449== suppressed: 0 bytes in 0 blocks
==12449== Rerun with --leak-check=full to see details of leaked memory
==12449==
==12449== For counts of detected and suppressed errors, rerun with: -v
==12449== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 25 from 8)
It is probably releaed to my top configuration,
so I present here a .toprc.
# cat ./.toprc
RCfile for "top with windows" # shameless braggin'
Id:a, Mode_altscr=0, Mode_irixps=1, Delay_time=1.000, Curwin=0
Def fieldscur=AEHIoQTWKNmbcdFGjprsUvLXYZ
winflags=130456, sortindx=13, maxtasks=0
summclr=2, msgsclr=2, headclr=6, taskclr=2
Job fieldscur=ABcefgjlrstuvyzMKNHIWOPQDX
winflags=64825, sortindx=0, maxtasks=0
summclr=6, msgsclr=6, headclr=7, taskclr=6
Mem fieldscur=ANOPQRSTUVbcdefgjlmyzWHIKX
winflags=64825, sortindx=13, maxtasks=0
summclr=5, msgsclr=5, headclr=4, taskclr=5
Usr fieldscur=ABDECGfhijlopqrstuvyzMKNWX
winflags=64825, sortindx=4, maxtasks=0
summclr=3, msgsclr=3, headclr=2, taskclr=3
#
On the other hand on other account where I have different .toprc,
I also have some warnings from valgrind, but memory
usage do not grow, and LEAK SuMMARY is essentially
the same regardless how long I run top
(constant overhead, nothing harmless, as there is no need
to deallocate things if we are exiting anyway).
Regards,
Witek
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.39-rc7-thinkpad-t43-00897-ga2b9c1f-dirty (SMP w/1 CPU core;
PREEMPT)
Locale: LANG=pl_PL.utf8, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8) (ignored: LC_ALL
set to pl_PL.utf8)
Shell: /bin/sh linked to /bin/dash
Versions of packages procps depends on:
ii initscripts 2.88dsf-13.6 scripts for initializing and shutt
ii libc6 2.13-4 Embedded GNU C Library: Shared lib
ii libncurses5 5.9-1 shared libraries for terminal hand
ii libncursesw5 5.9-1 shared libraries for terminal hand
ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip
Versions of packages procps recommends:
ii psmisc 22.13-1 utilities that use the proc file s
procps suggests no packages.
-- Configuration Files:
/etc/sysctl.conf changed [not included]
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]