Gradual increase in memory usage

Бен Томпсон b.thompson at latera.ru
Wed Jan 15 11:29:47 CET 2014


Hello everyone

I have an instance of FreeRADIUS which is gradually consuming memory. The
version is as follows:

radiusd: FreeRADIUS Version 2.2.4 (git #b15a660), for host
x86_64-unknown-linux-gnu, built on Dec 27 2013 at 12:46:27

I ran it in valgrind but I am not sure how to interprete the output:

==00:00:00:55.539 15239== 4 bytes in 1 blocks are definitely lost in loss
record 1 of 547
==00:00:00:55.539 15239==    at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==00:00:00:55.540 15239==    by 0x422CB8: rad_malloc (util.c:347)
==00:00:00:55.540 15239==    by 0x746050C: ???
==00:00:00:55.540 15239==    by 0x41A832: find_module_instance
(modules.c:620)
==00:00:00:55.540 15239==    by 0x41C6B2: do_compile_modsingle
(modcall.c:1963)
==00:00:00:55.540 15239==    by 0x41C298: do_compile_modgroup
(modcall.c:2184)
==00:00:00:55.540 15239==    by 0x41AB1C: T.125 (modules.c:785)
==00:00:00:55.540 15239==    by 0x41AEE9: load_component_section
(modules.c:887)
==00:00:00:55.540 15239==    by 0x41B1DB: load_byserver (modules.c:1109)
==00:00:00:55.540 15239==    by 0x41B6F4: virtual_servers_load
(modules.c:1244)
==00:00:00:55.540 15239==    by 0x41B93F: setup_modules (modules.c:1568)
==00:00:00:55.540 15239==    by 0x419405: read_mainconfig (mainconfig.c:973)
==00:00:00:55.540 15239==
==00:00:00:55.541 15239== 32 bytes in 1 blocks are definitely lost in loss
record 426 of 547
==00:00:00:55.541 15239==    at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==00:00:00:55.541 15239==    by 0x422CB8: rad_malloc (util.c:347)
==00:00:00:55.541 15239==    by 0x746049C: ???
==00:00:00:55.541 15239==    by 0x41A832: find_module_instance
(modules.c:620)
==00:00:00:55.541 15239==    by 0x41C6B2: do_compile_modsingle
(modcall.c:1963)
==00:00:00:55.541 15239==    by 0x41C298: do_compile_modgroup
(modcall.c:2184)
==00:00:00:55.541 15239==    by 0x41AB1C: T.125 (modules.c:785)
==00:00:00:55.541 15239==    by 0x41AEE9: load_component_section
(modules.c:887)
==00:00:00:55.541 15239==    by 0x41B1DB: load_byserver (modules.c:1109)
==00:00:00:55.541 15239==    by 0x41B6F4: virtual_servers_load
(modules.c:1244)
==00:00:00:55.541 15239==    by 0x41B93F: setup_modules (modules.c:1568)
==00:00:00:55.541 15239==    by 0x419405: read_mainconfig (mainconfig.c:973)
==00:00:00:55.541 15239==
==00:00:00:55.541 15239== 128 bytes in 1 blocks are definitely lost in loss
record 454 of 547
==00:00:00:55.541 15239==    at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==00:00:00:55.541 15239==    by 0x76F6C45: Perl_safesysmalloc (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x76FB783: Perl_my_cxt_init (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x77988CE: boot_DynaLoader (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x770E704: Perl_pp_entersub (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x770CC45: Perl_runops_standard (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x76B0D0E: Perl_call_sv (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x76B124C: Perl_call_list (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x769D348: ??? (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x76AAE91: Perl_newATTRSUB (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x76A9E12: Perl_utilize (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x76D8D85: Perl_yyparse (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==
==00:00:00:55.541 15239== 144 bytes in 18 blocks are definitely lost in
loss record 458 of 547
==00:00:00:55.541 15239==    at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==00:00:00:55.541 15239==    by 0x76F6C45: Perl_safesysmalloc (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x76F6D06: Perl_savepvn (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x771857C: Perl_rvpv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x7717627: Perl_sv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x77179F3: Perl_sv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x77179F3: Perl_sv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x7717E00: Perl_sv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x7718A30: Perl_gp_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x7717F89: Perl_sv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x7709E79: Perl_he_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x7709E3A: Perl_he_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==
==00:00:00:55.541 15239== 144 bytes in 18 blocks are definitely lost in
loss record 459 of 547
==00:00:00:55.541 15239==    at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==00:00:00:55.541 15239==    by 0x76F6C45: Perl_safesysmalloc (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x76F6D06: Perl_savepvn (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x771857C: Perl_rvpv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x7717627: Perl_sv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x76DC3F9: Perl_re_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x77187F6: Perl_mg_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x7717C72: Perl_sv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x771852F: Perl_rvpv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x77176C9: Perl_sv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x7718960: Perl_gp_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x7717F89: Perl_sv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==
==00:00:00:55.541 15239== 184 (136 direct, 48 indirect) bytes in 1 blocks
are definitely lost in loss record 469 of 547
==00:00:00:55.541 15239==    at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==00:00:00:55.541 15239==    by 0x422CB8: rad_malloc (util.c:347)
==00:00:00:55.541 15239==    by 0x410F71: listen_alloc (listen.c:1735)
==00:00:00:55.541 15239==    by 0x415A8B: proxy_new_listener (listen.c:1838)
==00:00:00:55.541 15239==    by 0x42C988: home_server_create_callback
(realms.c:2256)
==00:00:00:55.541 15239==    by 0x4E3C3D1: WalkNodeInOrder (rbtree.c:551)
==00:00:00:55.541 15239==    by 0x42C952: home_server_create_listeners
(realms.c:2282)
==00:00:00:55.541 15239==    by 0x415FEB: listen_init (listen.c:2323)
==00:00:00:55.541 15239==    by 0x428C81: radius_event_init (event.c:3701)
==00:00:00:55.541 15239==    by 0x41E941: main (radiusd.c:346)
==00:00:00:55.541 15239==
==00:00:00:55.541 15239== 384 bytes in 3 blocks are definitely lost in loss
record 486 of 547
==00:00:00:55.541 15239==    at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==00:00:00:55.541 15239==    by 0x76F6C45: Perl_safesysmalloc (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x77287C2: perl_clone (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x745E959: ???
==00:00:00:55.541 15239==    by 0x745EF78: ???
==00:00:00:55.541 15239==    by 0x41D9B5: modcall_recurse (modcall.c:305)
==00:00:00:55.541 15239==    by 0x41D499: modcall_child (modcall.c:423)
==00:00:00:55.541 15239==    by 0x41D65F: modcall_recurse (modcall.c:628)
==00:00:00:55.541 15239==    by 0x41E36B: modcall (modcall.c:877)
==00:00:00:55.541 15239==    by 0x41A342: indexed_modcall (modules.c:750)
==00:00:00:55.541 15239==    by 0x409927: rad_authenticate (auth.c:580)
==00:00:00:55.541 15239==    by 0x42B27D: radius_handle_request
(event.c:3838)
==00:00:00:55.541 15239==
==00:00:00:55.541 15239== 528 bytes in 2 blocks are possibly lost in loss
record 497 of 547
==00:00:00:55.541 15239==    at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==00:00:00:55.541 15239==    by 0x76F6C45: Perl_safesysmalloc (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x76F6D06: Perl_savepvn (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x771857C: Perl_rvpv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x7717627: Perl_sv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x76DC3A5: Perl_re_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x7727047: perl_clone (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x745E959: ???
==00:00:00:55.541 15239==    by 0x745EF78: ???
==00:00:00:55.541 15239==    by 0x41D9B5: modcall_recurse (modcall.c:305)
==00:00:00:55.541 15239==    by 0x41D499: modcall_child (modcall.c:423)
==00:00:00:55.541 15239==    by 0x41D65F: modcall_recurse (modcall.c:628)
==00:00:00:55.541 15239==
==00:00:00:55.541 15239== 1,056 bytes in 4 blocks are possibly lost in loss
record 520 of 547
==00:00:00:55.541 15239==    at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==00:00:00:55.541 15239==    by 0x76F6C45: Perl_safesysmalloc (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x76F6D06: Perl_savepvn (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x771857C: Perl_rvpv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x7717627: Perl_sv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x76DC3F9: Perl_re_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x7727047: perl_clone (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x745E959: ???
==00:00:00:55.541 15239==    by 0x745EF78: ???
==00:00:00:55.541 15239==    by 0x41D9B5: modcall_recurse (modcall.c:305)
==00:00:00:55.541 15239==    by 0x41D499: modcall_child (modcall.c:423)
==00:00:00:55.541 15239==    by 0x41D65F: modcall_recurse (modcall.c:628)
==00:00:00:55.541 15239==
==00:00:00:55.541 15239== 1,440 bytes in 180 blocks are definitely lost in
loss record 524 of 547
==00:00:00:55.541 15239==    at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==00:00:00:55.541 15239==    by 0x76F6C45: Perl_safesysmalloc (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x76F6D06: Perl_savepvn (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x771857C: Perl_rvpv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x7717627: Perl_sv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x77179F3: Perl_sv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x77179F3: Perl_sv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x7717E00: Perl_sv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x7718A30: Perl_gp_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x7717F89: Perl_sv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x7709E79: Perl_he_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==    by 0x7717AE3: Perl_sv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.541 15239==
==00:00:00:55.541 15239== 1,764 (656 direct, 1,108 indirect) bytes in 2
blocks are definitely lost in loss record 528 of 547
==00:00:00:55.541 15239==    at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==00:00:00:55.541 15239==    by 0x422CB8: rad_malloc (util.c:347)
==00:00:00:55.541 15239==    by 0x422CEA: request_alloc (util.c:377)
==00:00:00:55.541 15239==    by 0x42BD76: received_request (event.c:2980)
==00:00:00:55.541 15239==    by 0x417394: auth_socket_recv (listen.c:859)
==00:00:00:55.542 15239==    by 0x42C8AD: event_socket_handler
(event.c:3483)
==00:00:00:55.542 15239==    by 0x4E4293A: fr_event_loop (event.c:415)
==00:00:00:55.542 15239==    by 0x41EA09: main (radiusd.c:422)
==00:00:00:55.542 15239==
==00:00:00:55.542 15239== 1,920 bytes in 15 blocks are definitely lost in
loss record 529 of 547
==00:00:00:55.542 15239==    at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==00:00:00:55.542 15239==    by 0x76F6C45: Perl_safesysmalloc (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x77287C2: perl_clone (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x745E959: ???
==00:00:00:55.542 15239==    by 0x745EF78: ???
==00:00:00:55.542 15239==    by 0x41D9B5: modcall_recurse (modcall.c:305)
==00:00:00:55.542 15239==    by 0x41D499: modcall_child (modcall.c:423)
==00:00:00:55.542 15239==    by 0x41D65F: modcall_recurse (modcall.c:628)
==00:00:00:55.542 15239==    by 0x41E36B: modcall (modcall.c:877)
==00:00:00:55.542 15239==    by 0x41A342: indexed_modcall (modules.c:750)
==00:00:00:55.542 15239==    by 0x4091D7: rad_accounting (acct.c:94)
==00:00:00:55.542 15239==    by 0x42B27D: radius_handle_request
(event.c:3838)
==00:00:00:55.542 15239==
==00:00:00:55.542 15239== 1,998 bytes in 54 blocks are definitely lost in
loss record 530 of 547
==00:00:00:55.542 15239==    at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==00:00:00:55.542 15239==    by 0x76F6C45: Perl_safesysmalloc (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x76F6D79: Perl_savepv (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x76B872C: Perl_gv_init (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x76B9543: Perl_gv_fetchpvn_flags (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x76D5F10: Perl_yylex (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x76D6DC5: Perl_yyparse (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x77417D9: ??? (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x7743284: Perl_pp_require (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x770CC45: Perl_runops_standard (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x76B0D0E: Perl_call_sv (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x745F240: ???
==00:00:00:55.542 15239==
==00:00:00:55.542 15239== 4,752 bytes in 18 blocks are definitely lost in
loss record 538 of 547
==00:00:00:55.542 15239==    at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==00:00:00:55.542 15239==    by 0x76F6C45: Perl_safesysmalloc (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x76F6D06: Perl_savepvn (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x771857C: Perl_rvpv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x7717627: Perl_sv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x76DC3CF: Perl_re_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x7727047: perl_clone (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x745E959: ???
==00:00:00:55.542 15239==    by 0x745EF78: ???
==00:00:00:55.542 15239==    by 0x41D9B5: modcall_recurse (modcall.c:305)
==00:00:00:55.542 15239==    by 0x41D499: modcall_child (modcall.c:423)
==00:00:00:55.542 15239==    by 0x41D65F: modcall_recurse (modcall.c:628)
==00:00:00:55.542 15239==
==00:00:00:55.542 15239== 6,402 (2,296 direct, 4,106 indirect) bytes in 7
blocks are definitely lost in loss record 540 of 547
==00:00:00:55.542 15239==    at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==00:00:00:55.542 15239==    by 0x422CB8: rad_malloc (util.c:347)
==00:00:00:55.542 15239==    by 0x422CEA: request_alloc (util.c:377)
==00:00:00:55.542 15239==    by 0x42BD76: received_request (event.c:2980)
==00:00:00:55.542 15239==    by 0x416F91: acct_socket_recv (listen.c:947)
==00:00:00:55.542 15239==    by 0x42C8AD: event_socket_handler
(event.c:3483)
==00:00:00:55.542 15239==    by 0x4E4293A: fr_event_loop (event.c:415)
==00:00:00:55.542 15239==    by 0x41EA09: main (radiusd.c:422)
==00:00:00:55.542 15239==
==00:00:00:55.542 15239== 15,360 bytes in 15 blocks are definitely lost in
loss record 543 of 547
==00:00:00:55.542 15239==    at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==00:00:00:55.542 15239==    by 0x4E34B69: fr_strerror_printf (log.c:93)
==00:00:00:55.542 15239==    by 0x4E3ABF2: rad_verify (radius.c:2185)
==00:00:00:55.542 15239==    by 0x414896: client_socket_decode
(listen.c:1336)
==00:00:00:55.542 15239==    by 0x426EA3: request_pre_handler (event.c:1859)
==00:00:00:55.542 15239==    by 0x42B23A: radius_handle_request
(event.c:3831)
==00:00:00:55.542 15239==    by 0x4221AB: request_handler_thread
(threads.c:556)
==00:00:00:55.542 15239==    by 0x5A7F8C9: start_thread
(pthread_create.c:300)
==00:00:00:55.542 15239==
==00:00:00:55.542 15239== 51,084 bytes in 1,548 blocks are definitely lost
in loss record 544 of 547
==00:00:00:55.542 15239==    at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==00:00:00:55.542 15239==    by 0x76F6C45: Perl_safesysmalloc (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x76F6D79: Perl_savepv (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x76B872C: Perl_gv_init (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x76B9543: Perl_gv_fetchpvn_flags (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x76BAA87: Perl_gv_fetchsv (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x7716349: Perl_pp_sassign (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x770CC45: Perl_runops_standard (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x76B0D0E: Perl_call_sv (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x76B124C: Perl_call_list (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x769D348: ??? (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x76AAE91: Perl_newATTRSUB (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==
==00:00:00:55.542 15239== 131,904 bytes in 180 blocks are definitely lost
in loss record 545 of 547
==00:00:00:55.542 15239==    at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==00:00:00:55.542 15239==    by 0x76F6C45: Perl_safesysmalloc (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x76F6D06: Perl_savepvn (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x771857C: Perl_rvpv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x7717627: Perl_sv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x77179F3: Perl_sv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x77179F3: Perl_sv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x7717E00: Perl_sv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x7718A30: Perl_gp_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x7717F89: Perl_sv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x77179F3: Perl_sv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x77179F3: Perl_sv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==
==00:00:00:55.542 15239== 146,544 bytes in 2,246 blocks are definitely lost
in loss record 546 of 547
==00:00:00:55.542 15239==    at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==00:00:00:55.542 15239==    by 0x76F6C45: Perl_safesysmalloc (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x76F6D06: Perl_savepvn (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x771857C: Perl_rvpv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x7717627: Perl_sv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x76DC3F9: Perl_re_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x7727047: perl_clone (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x745E959: ???
==00:00:00:55.542 15239==    by 0x745EF78: ???
==00:00:00:55.542 15239==    by 0x41D9B5: modcall_recurse (modcall.c:305)
==00:00:00:55.542 15239==    by 0x41D499: modcall_child (modcall.c:423)
==00:00:00:55.542 15239==    by 0x41D65F: modcall_recurse (modcall.c:628)
==00:00:00:55.542 15239==
==00:00:00:55.542 15239== 277,664 bytes in 3,218 blocks are definitely lost
in loss record 547 of 547
==00:00:00:55.542 15239==    at 0x4C244E8: malloc (vg_replace_malloc.c:236)
==00:00:00:55.542 15239==    by 0x76F6C45: Perl_safesysmalloc (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x76F6D06: Perl_savepvn (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x771857C: Perl_rvpv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x7717627: Perl_sv_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x76DC3A5: Perl_re_dup (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x7727047: perl_clone (in
/usr/lib/libperl.so.5.10.1)
==00:00:00:55.542 15239==    by 0x745E959: ???
==00:00:00:55.542 15239==    by 0x745EF78: ???
==00:00:00:55.542 15239==    by 0x41D9B5: modcall_recurse (modcall.c:305)
==00:00:00:55.542 15239==    by 0x41D499: modcall_child (modcall.c:423)
==00:00:00:55.542 15239==    by 0x41D65F: modcall_recurse (modcall.c:628)
==00:00:00:55.542 15239==
==00:00:00:55.542 15239== LEAK SUMMARY:
==00:00:00:55.542 15239==    definitely lost: 636,590 bytes in 7,526 blocks
==00:00:00:55.542 15239==    indirectly lost: 5,262 bytes in 35 blocks
==00:00:00:55.542 15239==      possibly lost: 1,584 bytes in 6 blocks
==00:00:00:55.542 15239==    still reachable: 85,822 bytes in 2,529 blocks
==00:00:00:55.542 15239==         suppressed: 0 bytes in 0 blocks
==00:00:00:55.542 15239== Reachable blocks (those to which a pointer was
found) are not shown.
==00:00:00:55.542 15239== To see them, rerun with: --leak-check=full
--show-reachable=yes
==00:00:00:55.542 15239==
==00:00:00:55.542 15239== For counts of detected and suppressed errors,
rerun with: -v
==00:00:00:55.542 15239== Use --track-origins=yes to see where
uninitialised values come from
==00:00:00:55.542 15239== ERROR SUMMARY: 804 errors from 25 contexts
(suppressed: 4 from 4)

I would be grateful if anyone could take a quick glance at this output and
let me know if it shows anything untoward.

Ben Thompson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140115/caba671d/attachment-0001.html>


More information about the Freeradius-Users mailing list