[Samba] Samba memory usage - how big is it?

FC Mario Patty fcmario76 at gmail.com
Thu Nov 13 10:27:55 GMT 2008


Hi, I have run valgrind and get the result. Please see attachment. Thank
you.

Regards,
-------------- next part --------------
[root at tamin7 src]# valgrind --tool=memcheck  --trace-children=yes /etc/init.d/smb start
==10131== Memcheck, a memory error detector for x86-linux.
==10131== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward et al.
==10131== Using valgrind-2.2.0, a program supervision framework for x86-linux                                                 .
==10131== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et al.
==10131== For more details, rerun with: -v
==10131==
==10135== Memcheck, a memory error detector for x86-linux.
==10135== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward et al.
==10135== Using valgrind-2.2.0, a program supervision framework for x86-linux                                                 .
==10135== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et al.
==10135== For more details, rerun with: -v
==10135==
==10135==
==10135== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 12 from 1)
==10135== malloc/free: in use at exit: 0 bytes in 0 blocks.
==10135== malloc/free: 0 allocs, 0 frees, 0 bytes allocated.
==10135== For a detailed leak analysis,  rerun with: --leak-check=yes
==10135== For counts of detected errors, rerun with: -v
==10133==
==10133== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 14 from 1)
==10133== malloc/free: in use at exit: 27167 bytes in 558 blocks.
==10133== malloc/free: 1033 allocs, 475 frees, 40803 bytes allocated.
==10133== For a detailed leak analysis,  rerun with: --leak-check=yes
==10133== For counts of detected errors, rerun with: -v
==10144== Memcheck, a memory error detector for x86-linux.
==10144== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward et al.
==10144== Using valgrind-2.2.0, a program supervision framework for x86-linux                                                 .
==10144== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et al.
==10142== Memcheck, a memory error detector for x86-linux.
==10142== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward et al.
==10142== Using valgrind-2.2.0, a program supervision framework for x86-linux                                                 .
==10142== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et al.
==10146== Memcheck, a memory error detector for x86-linux.
==10146== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward et al.
==10146== Using valgrind-2.2.0, a program supervision framework for x86-linux                                                 .
==10146== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et al.
==10142== For more details, rerun with: -v
==10142==
==10144== For more details, rerun with: -v
==10144==
==10146== For more details, rerun with: -v
==10146==
==10142==
==10142== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 12 from 1)
==10142== malloc/free: in use at exit: 18722 bytes in 129 blocks.
==10142== malloc/free: 236 allocs, 107 frees, 23833 bytes allocated.
==10142== For a detailed leak analysis,  rerun with: --leak-check=yes
==10142== For counts of detected errors, rerun with: -v
==10146==
==10146== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 14 from 1)
==10146== malloc/free: in use at exit: 4943 bytes in 65 blocks.
==10146== malloc/free: 124 allocs, 59 frees, 12827 bytes allocated.
==10146== For a detailed leak analysis,  rerun with: --leak-check=yes
==10146== For counts of detected errors, rerun with: -v
==10144==
==10144== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 13 from 1)
==10144== malloc/free: in use at exit: 45431 bytes in 90 blocks.
==10144== malloc/free: 597 allocs, 507 frees, 64643 bytes allocated.
==10144== For a detailed leak analysis,  rerun with: --leak-check=yes
==10144== For counts of detected errors, rerun with: -v
==10138==
==10138== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 14 from 1)
==10138== malloc/free: in use at exit: 54769 bytes in 4196 blocks.
==10138== malloc/free: 10117 allocs, 5921 frees, 194535 bytes allocated.
==10138== For a detailed leak analysis,  rerun with: --leak-check=yes
==10138== For counts of detected errors, rerun with: -v
Starting SMB services: ==10152== Memcheck, a memory error detector for x86-li                                                 nux.
==10152== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward et al.
==10152== Using valgrind-2.2.0, a program supervision framework for x86-linux                                                 .
==10152== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et al.
==10152== For more details, rerun with: -v
==10152==
==10152==
==10152== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 12 from 1)
==10152== malloc/free: in use at exit: 18228 bytes in 244 blocks.
==10152== malloc/free: 699 allocs, 455 frees, 257694 bytes allocated.
==10152== For a detailed leak analysis,  rerun with: --leak-check=yes
==10152== For counts of detected errors, rerun with: -v
==10160== Memcheck, a memory error detector for x86-linux.
==10160== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward et al.
==10160== Using valgrind-2.2.0, a program supervision framework for x86-linux.
==10160== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et al.
==10160== For more details, rerun with: -v
==10160==
==10160==
==10160== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 12 from 1)
==10160== malloc/free: in use at exit: 8468 bytes in 204 blocks.
==10160== malloc/free: 321 allocs, 117 frees, 31122 bytes allocated.
==10160== For a detailed leak analysis,  rerun with: --leak-check=yes
==10160== For counts of detected errors, rerun with: -v
                                                           [  OK  ]
Starting NMB services: ==10165== Memcheck, a memory error detector for x86-linux.
==10165== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward et al.
==10165== Using valgrind-2.2.0, a program supervision framework for x86-linux.
==10165== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et al.
==10165== For more details, rerun with: -v
==10165==
==10165==
==10165== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 12 from 1)
==10165== malloc/free: in use at exit: 18228 bytes in 244 blocks.
==10165== malloc/free: 573 allocs, 329 frees, 181628 bytes allocated.
==10165== For a detailed leak analysis,  rerun with: --leak-check=yes
==10165== For counts of detected errors, rerun with: -v
==10173== Memcheck, a memory error detector for x86-linux.
==10173== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward et al.
==10173== Using valgrind-2.2.0, a program supervision framework for x86-linux.
==10173== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et al.
==10173== For more details, rerun with: -v
==10173==
==10173==
==10173== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 12 from 1)
==10173== malloc/free: in use at exit: 8468 bytes in 204 blocks.
==10173== malloc/free: 321 allocs, 117 frees, 31122 bytes allocated.
==10173== For a detailed leak analysis,  rerun with: --leak-check=yes
==10173== For counts of detected errors, rerun with: -v
                                                           [  OK  ]
==10176== Memcheck, a memory error detector for x86-linux.
==10176== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward et al.
==10176== Using valgrind-2.2.0, a program supervision framework for x86-linux.
==10176== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et al.
==10176== For more details, rerun with: -v
==10176==
==10176==
==10176== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 12 from 1)
==10176== malloc/free: in use at exit: 0 bytes in 0 blocks.
==10176== malloc/free: 30 allocs, 30 frees, 1985 bytes allocated.
==10176== For a detailed leak analysis,  rerun with: --leak-check=yes
==10176== For counts of detected errors, rerun with: -v
==10131==
==10131== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 14 from 1)
==10131== malloc/free: in use at exit: 64108 bytes in 4840 blocks.
==10131== malloc/free: 16676 allocs, 11836 frees, 304322 bytes allocated.
==10131== For a detailed leak analysis,  rerun with: --leak-check=yes
==10131== For counts of detected errors, rerun with: -v


More information about the samba mailing list