[Samba] smbd process grows to 25Mb resident size
Duncan Brannen
dbb at st-andrews.ac.uk
Mon May 22 12:08:24 GMT 2006
Hi,
I've 4 Samba servers running 3.0.21c in solaris 10 zones. One PDC,
3 BDCs.
The machines are identically installed and the samba binaries and
associated libraries
are copied between the machines so are also identical.
On my PDC which seems to be accepting almost all of the clients, my smbd
processes
are 33M with 25M resident. This seems to be used by dev:32,0 ino301938
,see pmap
below, which is a similar size on most smbd processes. I can see some
where it's 8k.
Any idea what might be causing this and is it possible to cap it at
all? Is it normal and
nothing to be concerned about?
It seems to be related to how busy the server is as my BDCs, which only
seem to pick
up between 10 and 60 clients at any one time have footprints of around 8
to 10 MB.
The PDC has over 300 clients at any one time. It's not causing any
major problems
but the PDC will eventually run out of RAM as we add clients unless I
can somehow
slow it down from being first to respond to domain logon requests.
(Is that possible and is having the PDC as the wins server what causes
that? They all have
very similar ping times from a given client and are spread across our
network as the clients
are.)
Thanks,
Duncan
> 26029: /usr/local/samba/sbin/smbd -D
> 00010000 2832K r-x-- /usr/local/samba/sbin/smbd
> 002E2000 48K rwx-- /usr/local/samba/sbin/smbd
> 002EE000 1320K rwx-- [ heap ]
> FD080000 1224K rw-s- dev:32,0 ino:301936
> FD200000 1736K rw-s- dev:32,0 ino:301937
> FD400000 20288K rw-s- dev:32,0 ino:301938
> FE900000 168K rw-s- dev:32,0 ino:301940
> FE930000 24K r-x-- /lib/nss_nis.so.1
> FE946000 8K rwx-- /lib/nss_nis.so.1
> FE950000 8K rw-s- dev:32,0 ino:301950
> FE960000 8K rw-s- dev:32,0 ino:301949
> FE970000 8K rw-s- dev:32,0 ino:301945
> FE980000 8K rw-s- dev:32,0 ino:301948
> FE990000 8K rw-s- dev:32,0 ino:301942
> FE9A0000 8K rw-s- dev:32,0 ino:301941
> FE9D0000 8K rw-s- dev:32,0 ino:301939
> FE9E0000 8K rwxs- [ anon ]
> FE9F0000 8K r-x-- /lib/libdoor.so.1
> FEA02000 8K rwx-- /lib/libdoor.so.1
> FEA10000 8K r-x-- /usr/local/lib/libcom_err.so.1.1.1
> FEA20000 8K rwx-- /usr/local/lib/libcom_err.so.1.1.1
> FEA30000 72K r-x-- /usr/local/lib/libroken.so.16.1.0
> FEA50000 8K rwx-- /usr/local/lib/libroken.so.16.1.0
> FEA60000 256K r-x-- /usr/local/lib/libncurses.so.5.4
> FEAAE000 48K rwx-- /usr/local/lib/libncurses.so.5.4
> FEAC0000 160K r-x-- /usr/local/lib/libasn1.so.6.1.0
> FEAF6000 8K rwx-- /usr/local/lib/libasn1.so.6.1.0
> FEB00000 264K r-x-- /usr/local/lib/libkrb5.so.17.4.0
> FEB50000 24K rwx-- /usr/local/lib/libkrb5.so.17.4.0
> FEB60000 80K r-x-- /usr/local/lib/libgssapi.so.4.0.0
> FEB82000 16K rwx-- /usr/local/lib/libgssapi.so.4.0.0
> FEB90000 80K r-x-- /lib/nss_ldap.so.1
> FEBB2000 16K rwx-- /lib/nss_ldap.so.1
> FEBB6000 40K rwx-- /lib/nss_ldap.so.1
> FEBD0000 24K r-x-- /lib/nss_files.so.1
> FEBE6000 8K rwx-- /lib/nss_files.so.1
> FEBF0000 8K rw-s- dev:32,0 ino:301751
> FEC00000 64K rwx-- [ anon ]
> FEC20000 8K rw-s- dev:32,0 ino:199483
> FEC30000 64K r--s- dev:32,0 ino:199406
> FEC50000 8K rwx-- [ anon ]
> FEC60000 8K r-x-- /usr/lib/iconv/CP850%UTF-16LE.so
> FEC70000 8K rwx-- /usr/lib/iconv/CP850%UTF-16LE.so
> FEC80000 8K r-x-- /usr/lib/iconv/8859-15%UTF-16LE.so
> FEC90000 8K rwx-- /usr/lib/iconv/8859-15%UTF-16LE.so
> FECA0000 8K r-x-- /usr/lib/iconv/UTF-16LE%CP850.so
> FECB0000 8K rwx-- /usr/lib/iconv/UTF-16LE%CP850.so
> FECC0000 8K r-x-- /usr/lib/iconv/UTF-16LE%8859-15.so
> FECD0000 8K rwx-- /usr/lib/iconv/UTF-16LE%8859-15.so
> FECE0000 16K r-x--
> /usr/lib/locale/en_GB.ISO8859-15/en_GB.ISO8859-15.so.3
> FECF2000 16K rwx--
> /usr/lib/locale/en_GB.ISO8859-15/en_GB.ISO8859-15.so.3
> FED00000 8K rwx-- [ anon ]
> FED20000 128K r--s- dev:32,0 ino:199403
> FED50000 128K r--s- dev:32,0 ino:199404
> FED80000 1432K r-x-- /usr/local/ssl/lib/libcrypto.so.0.9.8
> FEEF4000 88K rwx-- /usr/local/ssl/lib/libcrypto.so.0.9.8
> FEF0A000 8K rwx-- /usr/local/ssl/lib/libcrypto.so.0.9.8
> FEF20000 8K r-x-- /platform/sun4u-us3/lib/libc_psr.so.1
> FEF30000 24K rwx-- [ anon ]
> FEF40000 8K rwx-- [ anon ]
> FEF50000 16K r-x-- /lib/libcmd.so.1
> FEF64000 8K rwx-- /lib/libcmd.so.1
> FEF70000 264K r-x-- /usr/local/ssl/lib/libssl.so.0.9.8
> FEFC0000 24K rwx-- /usr/local/ssl/lib/libssl.so.0.9.8
> FEFD0000 88K r-x-- /usr/local/lib/libsasl2.so.2.0.21
> FEFF4000 8K rwx-- /usr/local/lib/libsasl2.so.2.0.21
> FF000000 848K r-x-- /lib/libc.so.1
> FF0E4000 32K rwx-- /lib/libc.so.1
> FF0EC000 8K rwx-- /lib/libc.so.1
> FF100000 32K r-x-- /usr/local/lib/libgcc_s.so.1
> FF116000 16K rwx-- /usr/local/lib/libgcc_s.so.1
> FF120000 8K rwx-- [ anon ]
> FF130000 24K r-x-- /lib/libgen.so.1
> FF146000 8K rwx-- /lib/libgen.so.1
> FF150000 48K r-x-- /lib/libsocket.so.1
> FF16C000 8K rwx-- /lib/libsocket.so.1
> FF180000 584K r-x-- /lib/libnsl.so.1
> FF222000 40K rwx-- /lib/libnsl.so.1
> FF22C000 24K rwx-- /lib/libnsl.so.1
> FF240000 32K r-x-- /usr/lib/libpopt.so.0.0.0
> FF256000 8K rwx-- /usr/lib/libpopt.so.0.0.0
> FF260000 240K r-x-- /lib/libresolv.so.2
> FF2AC000 16K rwx-- /lib/libresolv.so.2
> FF2C0000 8K r-x-- /lib/libsendfile.so.1
> FF2D2000 8K rwx-- /lib/libsendfile.so.1
> FF2E0000 8K r-x-- /lib/libsec.so.1
> FF2F2000 8K rwx-- /lib/libsec.so.1
> FF300000 8K rwx-- [ anon ]
> FF310000 24K r-x-- /lib/libpam.so.1
> FF326000 8K rwx-- /lib/libpam.so.1
> FF330000 40K r-x-- /usr/local/lib/liblber-2.3.so.0.2.8
> FF348000 16K rwx-- /usr/local/lib/liblber-2.3.so.0.2.8
> FF350000 208K r-x-- /usr/local/lib/libldap-2.3.so.0.2.8
> FF392000 24K rwx-- /usr/local/lib/libldap-2.3.so.0.2.8
> FF3A0000 8K r-x-- /lib/libdl.so.1
> FF3B0000 176K r-x-- /lib/ld.so.1
> FF3EC000 8K rwx-- /lib/ld.so.1
> FF3EE000 8K rwx-- /lib/ld.so.1
> FF3F8000 16K r-x-- /lib/libthread.so.1
> FFBF6000 40K rwx-- [ stack ]
> total 33928K
More information about the samba
mailing list