[Pdns-users] Possible memory leakage in webserver pdns-2.9.21.1

Dimitrij Hilt dimitrij.hilt at fhe3.com
Sat Nov 15 18:53:06 UTC 2008


Hi,

i discover that pdns process get 20 MB on virtual memory size on 64bit
Debian linux, after access to a webserver.

ns1:~# ps -o pid,pcpu,rss,vsize,cmd -u pdns
  PID %CPU   RSS    VSZ CMD
 7060  0.1 16576 4660552 /usr/sbin/pdns_server-instance --daemon
--guardian=yes
ns1:~# lynx -connect_timeout=10 -auth=root:pass --dump
"http://localhost:8081" > /dev/null
ns1:~# ps -o pid,pcpu,rss,vsize,cmd -u pdns
  PID %CPU   RSS    VSZ CMD
 7060  0.1 16596 4676944 /usr/sbin/pdns_server-instance --daemon
--guardian=yes
ns1:~# lynx -connect_timeout=10 -auth=root:pass --dump
"http://localhost:8081" > /dev/null
ns1:~# ps -o pid,pcpu,rss,vsize,cmd -u pdns
  PID %CPU   RSS    VSZ CMD
 7060  0.1 16616 4693336 /usr/sbin/pdns_server-instance --daemon
--guardian=yes
ns1:~#

ns1:~# echo 4676944-4660552 | bc
16392
ns1:~# echo 4693336-4676944 | bc
16392
ns1:~#


On one server we got so 62 GB VSZ after a few days.

It is not a problem on a 'normal' server, but kill everytimes a vServer
with virtuozzo.

Regards,

Dimitrij


More information about the Pdns-users mailing list