Memory leak?

Damian Lubosch dl at xiqit.de
Sun Sep 5 02:38:30 PDT 2010


Hello!

I just checked the memory status of my new Dragonfly-based server.

the top command prints out:
load averages:  0.00,  0.00,  0.00;               up 19+12:15:40                                                                          09:29:28
38 processes: 38 running
95653tates:  0.0% user,  0.0% nice,  0.0% system,  0.8% interrupt, 99.2% idle
Memory: 6598M Active, 3152M Inact, 1628M Wired, 186M Cache, 399M Buf, 283M Free
Swap: 8192M Total, 26M Used, 38M Free

  PID USERNAME PRI NICE  SIZE    RES STATE  C   TIME   CTIME   CPU COMMAND
  712 root     152   0    12M  1168K select 3   0:08    0:09  0.00% sendmail
66697 root     152   0    19M  3396K kqread 2   0:04    1:12  0.00% master
78150 root     152   0  9000K  1212K select 2   0:02    0:02  0.00% screen-4.0.3
  907 root     152   0    11M   844K select 3   0:01    6:11  0.00% sshd
  731 root     152   0  6148K   572K nanslp 0   0:01   19:25  0.00% cron
97411 mysql    153   0    55M    13M select 1   0:00    0:00  0.00% mysqld
66700 postfix  152   0    19M  3400K kqread 0   0:00    0:00  0.00% qmgr
  716 smmsp    153   0    11M   844K pause  0   0:00    0:00  0.00% sendmail
16675 root     152   0  4256K    20K ttyin  1   0:00    1:30  0.00% csh
95651 root     152   0    96M  7420K select 1   0:00    0:00  0.00% httpd
 3943 root     152   0  4320K    20K ttyin  1   0:00    3:35  0.00% csh
89890 root     152   0    12M  3616K select 0   0:00    0:00  0.00% sshd
81713 root     152   0  4308K    20K ttyin  2   0:00    0:00  0.00% csh
  228 _dhcp    152   0  2284K   348K poll   2   0:00    0:00  0.00% dhclient
  844 root     153   0    18M   396K wait   3   0:00    0:00  0.00% login
78151 root     152   0  3860K    20K ttyin  2   0:00   67:27  0.00% csh
95603 root     153   0  4260K  2036K pause  2   0:00    0:00  0.00% csh
95653 root     152   0  9220K  2176K CPU3   3   0:00    0:00  0.00% top
89844 postfix  152   0    19M  4416K kqread 1   0:00    0:00  0.00% proxymap
97354 root     213   0  2752K   332K wait   1   0:00    0:00  0.00% sh
  214 root     153   0  2076K   352K poll   3   0:00    0:00  0.00% dhclient
89891 damian   152   0  4116K  1608K pause  2   0:00    0:04  0.00% tcsh
  817 root     165   0  4108K   352K ttyin  3   0:00    0:00  0.00% getty
95657 www      171   0    99M  4340K pipexx 1   0:00    0:00  0.00% httpd
95658 www      173   0    99M  4356K pipexx 3   0:00    0:00  0.00% httpd
  816 root     162   0  4108K   352K ttyin  0   0:00    0:00  0.00% getty
  109 root     187   0   360K    20K pause  1   0:00    0:00  0.00% adjkerntz
95656 www      168   0    99M  4344K piperd 0   0:00    0:00  0.00% httpd
  818 root     167   0  4108K   352K ttyin  2   0:00    0:00  0.00% getty
  815 root     160   0  4108K   352K ttyin  1   0:00    0:00  0.00% getty


The machine has been idle for most of the time since the last reboot. How can I check which applications consumes >6GB of memory? Can I check somehow the consumption of the kernel / its drivers? Sascha Wildner and I patched the kernel to support the newest twe driver from FreeBSD.

uname -a
DragonFly pick 2.6-RELEASE DragonFly v2.6.3-RELEASE #8: Mon Aug  2 23:52:40 CEST 2010     damian at pick:/usr/obj/usr/src/sys/X86_64_GENERIC  x86_64


Thanks,
Damian







More information about the Kernel mailing list