[Samba] Samba memory usage - how big is it?
FC Mario Patty
fcmario76 at gmail.com
Thu Nov 13 09:19:40 GMT 2008
Hi, thank you for the reply. I have set my server to run into 'init 3',
trying to decrease any resources as low as possible so (server stop to
response again - had to restart it) so I cannot go to system monitor again.
But I have captured the result of smbcontrol command. (see attachment).
Thanx again.
PS. To keep my server alive I have to restart samba each 3-8 minute. :|
Regards,
-------------- next part --------------
[root at tamin7 src]# smbcontrol 8843 pool-usage
full talloc report on 'null_context' (total 9711 bytes in 159 blocks)
msg_pool_usage contains 527 bytes in 3 blocks (ref 0)
char contains 512 bytes in 1 blocks (ref 0)
.name contains 15 bytes in 1 blocks (ref 0)
NT_USER_TOKEN contains 636 bytes in 2 blocks (ref 0)
auth/auth_util.c:2176 contains 612 bytes in 1 blocks (ref 0)
struct messaging_context contains 28 bytes in 2 blocks (ref 0)
struct messaging_callback contains 20 bytes in 1 blocks (ref 0)
reference to: struct passwd
connection_struct contains 3748 bytes in 10 blocks (ref 0)
struct notify_context contains 82 bytes in 4 blocks (ref 0)
struct sys_notify_context contains 12 bytes in 1 blocks (ref 0)
struct tdb_wrap contains 42 bytes in 2 blocks (ref 0)
/var/lib/samba/notify.tdb contains 26 bytes in 1 blocks (ref 0)
vfs_handle_struct contains 784 bytes in 1 blocks (ref 0)
vfs_handle_struct contains 784 bytes in 1 blocks (ref 0)
struct share_params contains 4 bytes in 1 blocks (ref 0)
connection_struct contains 2076 bytes in 1 blocks (ref 0)
.name contains 18 bytes in 1 blocks (ref 0)
NT_USER_TOKEN contains 636 bytes in 2 blocks (ref 0)
auth/auth_util.c:2176 contains 612 bytes in 1 blocks (ref 0)
auth_serversupplied_info contains 1112 bytes in 8 blocks (ref 0)
gid_t contains 16 bytes in 1 blocks (ref 0)
NT_USER_TOKEN contains 636 bytes in 2 blocks (ref 0)
DOM_SID contains 612 bytes in 1 blocks (ref 0)
lib/data_blob.c:73 contains 16 bytes in 1 blocks (ref 0)
lib/data_blob.c:73 contains 16 bytes in 1 blocks (ref 0)
DOM_SID contains 340 bytes in 1 blocks (ref 0)
martin.soe contains 12 bytes in 1 blocks (ref 0)
struct samu contains 506 bytes in 20 blocks (ref 0)
lib/data_blob.c:73 contains 16 bytes in 1 blocks (ref 0)
lib/data_blob.c:73 contains 16 bytes in 1 blocks (ref 0)
contains 1 bytes in 1 blocks (ref 0)
contains 1 bytes in 1 blocks (ref 0)
martin.soe contains 12 bytes in 1 blocks (ref 0)
\\tamin7\martin.soe\profile contains 29 bytes in 1 blocks (ref 0)
\\tamin7\martin.soe\profile contains 29 bytes in 1 blocks (ref 0)
logon.exe contains 10 bytes in 1 blocks (ref 0)
H: contains 3 bytes in 1 blocks (ref 0)
\\tamin7\martin.soe contains 21 bytes in 1 blocks (ref 0)
\\tamin7\martin.soe contains 21 bytes in 1 blocks (ref 0)
martin.soe contains 12 bytes in 1 blocks (ref 0)
martin.soe contains 12 bytes in 1 blocks (ref 0)
tamin7 contains 7 bytes in 1 blocks (ref 0)
martin.soe contains 12 bytes in 1 blocks (ref 0)
uint32 contains 8 bytes in 1 blocks (ref 0)
struct bitmap contains 8 bytes in 1 blocks (ref 0)
uint32 contains 8 bytes in 1 blocks (ref 0)
struct bitmap contains 8 bytes in 1 blocks (ref 0)
struct samu contains 588 bytes in 21 blocks (ref 0)
reference to: struct passwd
DOM_SID contains 68 bytes in 1 blocks (ref 0)
LDAPMessage * contains 4 bytes in 1 blocks (ref 0)
lib/data_blob.c:73 contains 16 bytes in 1 blocks (ref 0)
lib/data_blob.c:73 contains 16 bytes in 1 blocks (ref 0)
martin.soe contains 12 bytes in 1 blocks (ref 0)
\\tamin7\martin.soe\profile contains 29 bytes in 1 blocks (ref 0)
\\tamin7\martin.soe\profile contains 29 bytes in 1 blocks (ref 0)
logon.exe contains 10 bytes in 1 blocks (ref 0)
\\tamin7\martin.soe contains 21 bytes in 1 blocks (ref 0)
\\tamin7\martin.soe contains 21 bytes in 1 blocks (ref 0)
H: contains 3 bytes in 1 blocks (ref 0)
martin.soe contains 12 bytes in 1 blocks (ref 0)
martin.soe contains 12 bytes in 1 blocks (ref 0)
tamin7 contains 7 bytes in 1 blocks (ref 0)
uint32 contains 8 bytes in 1 blocks (ref 0)
struct bitmap contains 8 bytes in 1 blocks (ref 0)
uint32 contains 8 bytes in 1 blocks (ref 0)
struct bitmap contains 8 bytes in 1 blocks (ref 0)
martin.soe contains 12 bytes in 1 blocks (ref 0)
struct event_context contains 8 bytes in 1 blocks (ref 0)
auth_serversupplied_info contains 519 bytes in 6 blocks (ref 0)
gid_t contains 4 bytes in 1 blocks (ref 0)
NT_USER_TOKEN contains 364 bytes in 2 blocks (ref 0)
DOM_SID contains 340 bytes in 1 blocks (ref 0)
DOM_SID contains 68 bytes in 1 blocks (ref 0)
nobody contains 7 bytes in 1 blocks (ref 0)
struct passwd * contains 161 bytes in 13 blocks (ref 0)
struct passwd contains 85 bytes in 6 blocks (ref 2)
/nonexistent contains 13 bytes in 1 blocks (ref 0)
/home/martin.soe contains 18 bytes in 1 blocks (ref 0)
martin.soe contains 12 bytes in 1 blocks (ref 0)
x contains 2 bytes in 1 blocks (ref 0)
martin.soe contains 12 bytes in 1 blocks (ref 0)
struct passwd contains 60 bytes in 6 blocks (ref 0)
/sbin/nologin contains 14 bytes in 1 blocks (ref 0)
/ contains 2 bytes in 1 blocks (ref 0)
Nobody contains 7 bytes in 1 blocks (ref 0)
x contains 2 bytes in 1 blocks (ref 0)
nobody contains 7 bytes in 1 blocks (ref 0)
struct samu contains 385 bytes in 14 blocks (ref 0)
struct passwd contains 60 bytes in 6 blocks (ref 0)
/sbin/nologin contains 14 bytes in 1 blocks (ref 0)
/ contains 2 bytes in 1 blocks (ref 0)
Nobody contains 7 bytes in 1 blocks (ref 0)
x contains 2 bytes in 1 blocks (ref 0)
nobody contains 7 bytes in 1 blocks (ref 0)
tamin7 contains 7 bytes in 1 blocks (ref 0)
Nobody contains 7 bytes in 1 blocks (ref 0)
uint32 contains 8 bytes in 1 blocks (ref 0)
struct bitmap contains 8 bytes in 1 blocks (ref 0)
uint32 contains 8 bytes in 1 blocks (ref 0)
struct bitmap contains 8 bytes in 1 blocks (ref 0)
nobody contains 7 bytes in 1 blocks (ref 0)
struct service_control_op contains 77 bytes in 5 blocks (ref 0)
WINS contains 5 bytes in 1 blocks (ref 0)
RemoteRegistry contains 15 bytes in 1 blocks (ref 0)
NETLOGON contains 9 bytes in 1 blocks (ref 0)
Spooler contains 8 bytes in 1 blocks (ref 0)
NT_USER_TOKEN contains 364 bytes in 2 blocks (ref 0)
DOM_SID contains 340 bytes in 1 blocks (ref 0)
SORTED_TREE contains 527 bytes in 44 blocks (ref 0)
TREE_NODE contains 519 bytes in 43 blocks (ref 0)
TREE_NODE * contains 4 bytes in 1 blocks (ref 0)
TREE_NODE contains 495 bytes in 41 blocks (ref 0)
TREE_NODE contains 230 bytes in 19 blocks (ref 0)
TREE_NODE * contains 4 bytes in 1 blocks (ref 0)
TREE_NODE contains 197 bytes in 16 blocks (ref 0)
TREE_NODE * contains 4 bytes in 1 blocks (ref 0)
TREE_NODE contains 163 bytes in 13 blocks (ref 0)
TREE_NODE * contains 4 bytes in 1 blocks (ref 0)
TREE_NODE contains 128 bytes in 10 blocks (ref 0)
TREE_NODE contains 26 bytes in 2 blocks (ref 0)
Ports contains 6 bytes in 1 blocks (ref 0)
TREE_NODE * contains 8 bytes in 1 blocks (ref 0)
TREE_NODE contains 59 bytes in 5 blocks (ref 0)
TREE_NODE * contains 4 bytes in 1 blocks (ref 0)
TREE_NODE contains 29 bytes in 2 blocks (ref 0)
Printers contains 9 bytes in 1 blocks (ref 0)
Print contains 6 bytes in 1 blocks (ref 0)
CurrentVersion contains 15 bytes in 1 blocks (ref 0)
Windows NT contains 11 bytes in 1 blocks (ref 0)
Microsoft contains 10 bytes in 1 blocks (ref 0)
SOFTWARE contains 9 bytes in 1 blocks (ref 0)
TREE_NODE * contains 8 bytes in 1 blocks (ref 0)
TREE_NODE contains 232 bytes in 19 blocks (ref 0)
TREE_NODE * contains 4 bytes in 1 blocks (ref 0)
TREE_NODE contains 201 bytes in 16 blocks (ref 0)
TREE_NODE contains 97 bytes in 8 blocks (ref 0)
TREE_NODE * contains 4 bytes in 1 blocks (ref 0)
TREE_NODE contains 64 bytes in 5 blocks (ref 0)
TREE_NODE * contains 4 bytes in 1 blocks (ref 0)
TREE_NODE contains 27 bytes in 2 blocks (ref 0)
Shares contains 7 bytes in 1 blocks (ref 0)
LanmanServer contains 13 bytes in 1 blocks (ref 0)
Services contains 9 bytes in 1 blocks (ref 0)
TREE_NODE * contains 8 bytes in 1 blocks (ref 0)
TREE_NODE contains 58 bytes in 5 blocks (ref 0)
TREE_NODE * contains 4 bytes in 1 blocks (ref 0)
TREE_NODE contains 26 bytes in 2 blocks (ref 0)
Print contains 6 bytes in 1 blocks (ref 0)
Control contains 8 bytes in 1 blocks (ref 0)
CurrentControlSet contains 18 bytes in 1 blocks (ref 0)
SYSTEM contains 7 bytes in 1 blocks (ref 0)
HKLM contains 5 bytes in 1 blocks (ref 0)
struct pdb_methods contains 389 bytes in 5 blocks (ref 0)
tamin7 contains 7 bytes in 1 blocks (ref 0)
ldap://10.10.0.10 contains 18 bytes in 1 blocks (ref 0)
struct smbldap_state contains 52 bytes in 1 blocks (ref 0)
struct ldapsam_privates contains 104 bytes in 1 blocks (ref 0)
More information about the samba
mailing list