Hi all

I have a samba pdc with ldap backend (Samba 3.0.21c with openldap 2.3.19).
We have Another Linux System as Domain Member Server which we use as
file server (samba 3.0.21c) .
The Operating System is Redhat Enterprise Linux 4 with kernel 2.6.9-5 smp
kernel.
The Hardware Architecture of our file server is
Inter Xseries 226, 32-bit ,
3.GHz Processor
1Gb RAM
72-GB Scsi Hard-disk

We have
1) Too many smbd process getting created ie up to 160 process.
2) when ever a user access the file server, a process gets created by useri=
d
, but when the user closes and logs off, the process
doesn't get killed
after keeping dead time =3D 15 in smb.conf of file server.
3) If after reboot , the file server works fine for some time at first, the
process gets created and killed properly as the day progresses
and as the number of processes gets increased , it tends to slowdown, and
user even after exiting from the computer , ther process
created by userid doesn't gets killed.
4) some times, if it gets killed, very rarely then the memory is not
released ( ie eventhough there are less process , but memory occupied is
1Gb,. we donot have any other services on our file server except samba).

Is ther any problem with my configuration ? Please Help me out


The following is smb.conf file
################################################## #########################=
#######

[global]
unix charset =3D LOCALE
workgroup =3D msdpl.com
netbios name =3D prjsrv01
server string =3D Project Server 1
printcap name =3D /etc/printcap
load printers =3D yes
cups options =3D raw
log level =3D 2
log file =3D /usr/local/samba3c3/var/%U.%m.log
syslog =3D 0
max log size =3D 1000
smb ports =3D 139
security =3D domain
socket options =3D TCP_NODELAY SO_RCVBUF=3D8192 SO_SNDBUF=3D8192
deadtime =3D 15
kernel oplocks =3D No
name resolve order =3D wins bcasts hosts
wins server =3D 192.168.129.20
dns proxy =3D no
ldap server =3D 192.168.129.20
ldap suffix =3D dc=3Dmsdpl,dc=3Dcom
ldap machine suffix =3D ou=3DComputers
ldap user suffix =3D ou=3DPeople
ldap group suffix =3D ou=3DGroups
ldap idmap suffix =3D ou=3DIdmap
ldap admin dn =3D cn=3Dmanager,dc=3Dmsdpl,dc=3Dcom
idmap backend =3D ldap:ldap://192.168.129.20
idmap uid =3D 10000-20000
idmap gid =3D 10000-20000
ldap ssl =3D no
ldap timeout =3D 50
acl check permissions =3D True
template shell =3D /bin/false
winbind use default domain =3D Yes
inherit permissions =3D yes
inherit acls =3D yes
nt acl support =3D yes
hide dot files =3D yes
#######################################Share
Definations####################################### #
[homes]
comment =3D Home Directories
valid users =3D %S
browseable =3D no
writable =3D yes
veto files =3D
/.bash_history/.bash_logout/.bash_profile/.bashrc/.canna/.emacs/.gtkrc/.kde=
/.vimin
fo/.xemacs/.zshrc/
hide dot files =3D yes
[printers]
comment =3D All Printers
path =3D /var/spool/samba
browseable =3D no
guest ok =3D no
writable =3D no
printable =3D yes
[projects]
comment =3D All Projects
path =3D /projects
browseable =3D no
guest ok =3D no
writeable =3D yes
printable =3D no
veto files =3D /lost+found/.Trash-root/*.sh/*.scr/.recycle/
create mode =3D 2700
force create mode =3D 0700
force directory mode =3D 0700
inherit permissions =3D yes
inherit acls =3D yes
vfs objects =3D recycle


[datalib]
comment =3D DataLib
path =3D /datalib
browseable =3D no

writeable =3D yes
vfs objects =3D recycle
veto files =3D lost+found
inherit permissions =3D yes
inherit acls =3D yes
veto files =3D /lost+found/.Trash-root/*.sh/*.scr/.recycle/
################################################## #########################=
#######

The follwing is the backtrace of the process at runleve 10
################################################## #########################=
##########

(gdb) attach 23544
Attaching to process 23544
Reading symbols from /usr/local/samba3c2/sbin/smbd...done.
Using host libthread_db library "/lib/tls/libthread_db.so.1".
Loaded symbols for /usr/local/samba3c2/sbin/smbd
Reading symbols from /usr/lib/libldap-2.2.so.7...done.
Loaded symbols for /usr/lib/libldap-2.2.so.7
Reading symbols from /usr/lib/liblber-2.2.so.7...done.
Loaded symbols for /usr/lib/liblber-2.2.so.7
Reading symbols from /usr/lib/libgssapi_krb5.so.2...done.
Loaded symbols for /usr/lib/libgssapi_krb5.so.2
Reading symbols from /usr/lib/libkrb5.so.3...done.
Loaded symbols for /usr/lib/libkrb5.so.3
Reading symbols from /usr/lib/libk5crypto.so.3...done.
Loaded symbols for /usr/lib/libk5crypto.so.3
Reading symbols from /lib/libcom_err.so.2...done.
Loaded symbols for /lib/libcom_err.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /usr/lib/libcups.so.2...done.
Loaded symbols for /usr/lib/libcups.so.2
Reading symbols from /lib/libssl.so.4...done.
Loaded symbols for /lib/libssl.so.4
Reading symbols from /lib/libcrypto.so.4...done.
Loaded symbols for /lib/libcrypto.so.4
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libpam.so.0...done.
Loaded symbols for /lib/libpam.so.0
Reading symbols from /lib/libattr.so.1...done.
Loaded symbols for /lib/libattr.so.1
Reading symbols from /lib/libacl.so.1...done.
Loaded symbols for /lib/libacl.so.1
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/tls/librt.so.1...done.
Loaded symbols for /lib/tls/librt.so.1
Reading symbols from /usr/lib/libpopt.so.0...done.
Loaded symbols for /usr/lib/libpopt.so.0
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /usr/lib/libsasl2.so.2...done.
Loaded symbols for /usr/lib/libsasl2.so.2
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/tls/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread -1208101184 (LWP 23544)]
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /usr/lib/gconv/UTF-16.so...done.
Loaded symbols for /usr/lib/gconv/UTF-16.so
Reading symbols from /usr/lib/gconv/IBM850.so...done.
Loaded symbols for /usr/lib/gconv/IBM850.so
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_ldap.so.2...done.
Loaded symbols for /lib/libnss_ldap.so.2
Reading symbols from /usr/local/samba3c2/lib/vfs/recycle.so...done.
Loaded symbols for /usr/local/samba3c2/lib/vfs/recycle.so
0x00cb97a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) bt
#0 0x00cb97a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x00529d30 in __nanosleep_nocancel () from /lib/tls/libc.so.6
#2 0x00a7bbe7 in yield_cpu () at tdb/spinlock.c:265
#3 0x00a7bdca in __write_lock (rwlock=3D0xb7cfdfb0) at tdb/spinlock.c:338
#4 0x00a7bf35 in tdb_spinlock (tdb=3D0x9779a38, list=3D979, rw_type=3D1) at
tdb/spinlock.c:388
#5 0x00a77918 in tdb_lock (tdb=3D0x9779a38, list=3D979, ltype=3D1) at
tdb/tdb.c:302
#6 0x00a7b72b in tdb_chainlock (tdb=3D0x9779a38, key=3D{dptr =3D 0xba3600 "=
1\b",
dsize =3D 16})
at tdb/tdb.c:2030
#7 0x00a0507b in get_share_mode_lock (mem_ctx=3D0x0, dev=3D2097, ino=3D8356=
202,
servicepath=3D0x0,
fname=3D0x0) at locking/locking.c:619
#8 0x00a05334 in get_delete_on_close_flag (dev=3D2097, inode=3D8356202,
fname=3D0xbfe1cd50 "STEPMOT/cd_down_load/memorey") at locking/locking.c:665
#9 0x008d4fc6 in call_trans2qfilepathinfo (conn=3D0x9783c80, inbuf=3D0xb7d6=
6008
"",
outbuf=3D0xb7d45008 "", length=3D138, bufsize=3D131072, tran_call=3D5,
pparams=3D0xbfe1d258,
total_params=3D66, ppdata=3D0xbfe1d254, total_data=3D0, max_data_bytes=3D40=
) at
smbd/trans2.c:2890
#10 0x008dcd67 in reply_trans2 (conn=3D0x9783c80, inbuf=3D0xb7d66008 "",
outbuf=3D0xb7d45008 "",
length=3D138, bufsize=3D131072) at smbd/trans2.c:5030
#11 0x008fcc2a in switch_message (type=3D50, inbuf=3D0xb7d66008 "",
outbuf=3D0xb7d45008 "", size=3D138,
################################################## #########################=
##########

Regards
Niranjan
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba