[Novalug] Do I have a memory leak??

Beartooth beartooth@Beartooth.Info
Sat Sep 27 12:53:43 EDT 2008


On Fri, 26 Sep 2008, Tux Subscriber Dave Aronson wrote:

> Beartooth <beartooth@beartooth.info> wrote: Top or ps or any 
> number of other "show me what's running" commands should tell 
> you what percent of your memory is being gobbled up by each 
> process.  I don't recall the exact magical incantation is for 
> ps (man is your best friend -- does that mean you're a dog?), 
> but "top" clearly labels one column "%MEM" or something like 
> that.

 	top last night, followed iirc by M, got this :

=====		=====		=====		=====
top - 16:25:29 up 6 days,  2:02,  3 users,  load average: 0.62, 
0.32, 0.20
Tasks: 145 total,   2 running, 143 sleeping,   0 stopped,   0 
zombie
Cpu(s):  9.3%us,  2.0%sy,  0.0%ni, 88.7%id,  0.0%wa,  0.0%hi, 
0.0%si,  0.0%st
Mem:   2042488k total,   969580k used,  1072908k free,    93040k 
buffers
Swap:  2031608k total,   710936k used,  1320672k free,   281832k 
cached

   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+ 
COMMAND
21988 btth      20   0  916m 399m  21m R  5.3 20.0   8:51.74 
firefox
  3100 btth      20   0  112m  26m  13m S  0.0  1.3   0:42.05 
nautilus
  2584 root      20   0 93412  25m 5912 S  3.0  1.3   1145:02 Xorg
  3143 btth      20   0 49268  11m 1664 S  0.0  0.6   0:59.06 
gvfsd-trash
  3102 btth      20   0 72540 8964 4036 S  0.0  0.4   1:04.14 
gnome-panel
20092 btth      20   0  215m 8664 2620 S  0.0  0.4   0:32.35 
galeon
  3278 btth      20   0 60464 8168 5676 S  0.0  0.4   0:40.97 
trashapplet
16351 btth      20   0  211m 6680 2904 S  0.0  0.3   1:19.74 
epiphany
  3108 btth      20   0 68948 6644 4292 S  2.3  0.3   0:11.76 
gnome-terminal
  3157 btth      20   0 57200 6608 4076 S  0.0  0.3   0:32.15 
wnck-applet
  3195 btth      20   0 37952 5692 4052 S  0.0  0.3   0:22.66 
clock-applet
  3098 btth      20   0 25372 5324 4116 S  0.0  0.3   0:17.76 
metacity
  3198 btth      20   0 96560 5148 2676 S  0.0  0.3   0:12.74 
python
 	=====		=====		=====		=====

 	The same thing this morning gets this :

=====		=====		=====		=====
[btth@hbsk ~]$ top

top - 12:34:14 up 6 days, 22:11,  4 users,  load average: 0.10, 
0.14, 0.10
Tasks: 149 total,   3 running, 146 sleeping,   0 stopped,   0 
zombie
Cpu(s):  8.6%us,  1.7%sy,  0.0%ni, 89.7%id,  0.0%wa,  0.0%hi, 
0.0%si,  0.0%st
Mem:   2042488k total,  1500536k used,   541952k free,   191276k 
buffers
Swap:  2031608k total,   710420k used,  1321188k free,   539980k 
cached

   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+ 
COMMAND
21988 btth      20   0  938m 430m  21m S  5.6 21.6  74:27.54 
firefox
28222 btth      20   0  387m  92m  16m S  0.7  4.6   0:29.12 
opera
  2584 root      20   0 95928  29m 7172 S  4.3  1.5   1295:28 Xorg
  3100 btth      20   0  112m  26m  13m S  0.0  1.3   0:43.83 
nautilus
28722 btth      39  19 71020  17m 9004 R  1.0  0.9   0:02.92 
operapluginwrap
  3143 btth      20   0 49268  11m 1664 S  0.0  0.6   0:59.06 
gvfsd-trash
  3102 btth      20   0 72540 9568 4316 S  0.0  0.5   1:09.69 
gnome-panel
20092 btth      20   0  215m 8988 2620 S  0.0  0.4   0:36.71 
galeon
  3108 btth      20   0 69276 8980 5788 R  0.3  0.4   0:25.94 
gnome-terminal
  3278 btth      20   0 60464 8168 5676 S  0.0  0.4   0:40.98 
trashapplet
  3157 btth      20   0 57524 7688 4632 S  0.0  0.4   0:33.99 
wnck-applet
  3164 btth      20   0 30972 7480 4608 S  0.7  0.4  41:36.60 
multiload-apple
16351 btth      20   0  211m 7160 2908 S  0.0  0.4   1:26.17 
epiphany
  3125 btth      20   0 40744 5948 4212 S  0.0  0.3   0:02.47 
gpk-update-icon
  3195 btth      20   0 37952 5700 4056 S  0.0  0.3   0:25.59 
clock-applet
  3098 btth      20   0 25372 5384 4156 S  0.0  0.3   0:20.55 
metacity
  3198 btth      20   0 96560 5300 2772 S  0.0  0.3   0:14.07 
python
  3101 btth      20   0 20232 4184 3132 S  0.0  0.2   0:49.22 
gnome-screensav
  3281 btth      20   0 28392 3756 3052 S  0.0  0.2   0:00.30 
notification-ar
  1914 root      RT   0  3388 3388 2692 S  0.0  0.2   0:07.00 
multipathd
[btth@hbsk ~]$
 	=====		=====		=====		=====

 	I see firefox, opera, xorg, nautilus, and gvfsd-trash at 
or near the top consistently. (I've been having similar problems 
with firefox in especial, and am in process of uninstalling 
extensions hand over fist; but this machine is one on which I've 
alrady pruned it with machetes in both hands.)

 	I tried once to google out something comprehensible about 
gvfsd, but found only enough to conclude it might cause even more 
trouble to get rid of it that it causes by being there.

 	The others make, I suppose, some sort of sense. I have 
two dozen tabs and three dozen on firefox open, plus only two on 
galeon and one on epiphany (both of which usuall have triple to 
quintuple that) -- and Pan isn't even runninng ....


-- 
Beartooth of Bear's End, Squirreler, Historian of Tongues
What do they know of country, who only country know?



More information about the Novalug mailing list