* James Stanley <[email protected]>:
> On Sun, 1 Jan 2012 21:35:56 +0100
> Ralf Hildebrandt <[email protected]> wrote:
> 
> > I was wondering why htop itself would use 110M virt, but only 1948
> > res. Is that normal? I have 182 processes running.
> > 
> 
> I can't say whether or not it's normal or expected, but here it uses
> only 22M virt.
> 
> I don't think it's anything to worry about either way though.

I dug some further and found:

root@gilgamesch:~# ./smem.pl 9757

VMSIZE:     113052 kb
RSS:          1940 kb total
              1140 kb shared
               180 kb private clean
               620 kb private dirty
PRIVATE MAPPINGS
     vmsize   rss clean   rss dirty   file
     496 kb        0 kb      428 kb   [heap]
      24 kb        0 kb       24 kb
     136 kb        0 kb       24 kb   [stack]
      16 kb        0 kb       16 kb   /lib/x86_64-linux-gnu/libc-2.13.so
      16 kb        0 kb       16 kb   /lib/libtinfo.so.5.9
      16 kb        0 kb       16 kb
       8 kb        0 kb        8 kb   /usr/bin/htop
       8 kb        0 kb        8 kb
       8 kb        0 kb        8 kb   /lib/x86_64-linux-gnu/ld-2.13.so
       4 kb        0 kb        4 kb   /usr/bin/htop
       4 kb        0 kb        4 kb   /lib/x86_64-linux-gnu/libnss_files-2.13.so
       4 kb        0 kb        4 kb   /lib/x86_64-linux-gnu/libnss_files-2.13.so
       4 kb        0 kb        4 kb   /lib/x86_64-linux-gnu/libnss_nis-2.13.so
       4 kb        0 kb        4 kb   /lib/x86_64-linux-gnu/libnss_nis-2.13.so
       4 kb        0 kb        4 kb   /lib/x86_64-linux-gnu/libnsl-2.13.so
       4 kb        0 kb        4 kb   /lib/x86_64-linux-gnu/libnsl-2.13.so
       4 kb        0 kb        4 kb   
/lib/x86_64-linux-gnu/libnss_compat-2.13.so
       4 kb        0 kb        4 kb   
/lib/x86_64-linux-gnu/libnss_compat-2.13.so
       4 kb        0 kb        4 kb   /lib/x86_64-linux-gnu/libdl-2.13.so
       4 kb        0 kb        4 kb   /lib/x86_64-linux-gnu/libdl-2.13.so
       4 kb        0 kb        4 kb   /lib/x86_64-linux-gnu/libc-2.13.so
       4 kb        0 kb        4 kb   /lib/x86_64-linux-gnu/libm-2.13.so
       4 kb        0 kb        4 kb   /lib/x86_64-linux-gnu/libm-2.13.so
       4 kb        0 kb        4 kb   /lib/libtinfo.so.5.9
       4 kb        0 kb        4 kb   /lib/libncurses.so.5.9
       4 kb        0 kb        4 kb   /lib/libncurses.so.5.9
       4 kb        0 kb        4 kb   /lib/x86_64-linux-gnu/ld-2.13.so
     116 kb       96 kb        0 kb   /usr/bin/htop
     136 kb        8 kb        0 kb   /lib/libtinfo.so.5.9
     124 kb       76 kb        0 kb   /lib/libncurses.so.5.9

SHARED MAPPINGS
     vmsize   rss clean   rss dirty   file
    1620 kb      688 kb        0 kb   /lib/x86_64-linux-gnu/libc-2.13.so
     132 kb      116 kb        0 kb   /lib/x86_64-linux-gnu/ld-2.13.so
     136 kb      112 kb        0 kb   /lib/libtinfo.so.5.9
   90920 kb       44 kb        0 kb   /usr/lib/locale/locale-archive
     524 kb       36 kb        0 kb   /lib/x86_64-linux-gnu/libm-2.13.so
     124 kb       28 kb        0 kb   /lib/libncurses.so.5.9
      92 kb       24 kb        0 kb   /lib/x86_64-linux-gnu/libnsl-2.13.so
      32 kb       24 kb        0 kb   
/lib/x86_64-linux-gnu/libnss_compat-2.13.so
      40 kb       20 kb        0 kb   /lib/x86_64-linux-gnu/libnss_nis-2.13.so
      28 kb       20 kb        0 kb   
/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
      48 kb       16 kb        0 kb   /lib/x86_64-linux-gnu/libnss_files-2.13.so
       8 kb        8 kb        0 kb   /lib/x86_64-linux-gnu/libdl-2.13.so
       4 kb        4 kb        0 kb   [vdso]

So it seems that /usr/lib/locale/locale-archive is using the memory:
https://bugzilla.redhat.com/show_bug.cgi?id=156477

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  [email protected] | http://www.charite.de
            

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
htop-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/htop-general

Reply via email to