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 userid , but when the user closes and logs off, the process doesn't get killed after keeping dead time = 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 = LOCALE workgroup = msdpl.com netbios name = prjsrv01 server string = Project Server 1 printcap name = /etc/printcap load printers = yes cups options = raw log level = 2 log file = /usr/local/samba3c3/var/%U.%m.log syslog = 0 max log size = 1000 smb ports = 139 security = domain socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 deadtime = 15 kernel oplocks = No name resolve order = wins bcasts hosts wins server = 192.168.129.20 dns proxy = no ldap server = 192.168.129.20 ldap suffix = dc=msdpl,dc=com ldap machine suffix = ou=Computers ldap user suffix = ou=People ldap group suffix = ou=Groups ldap idmap suffix = ou=Idmap ldap admin dn = cn=manager,dc=msdpl,dc=com idmap backend = ldap:ldap://192.168.129.20 idmap uid = 10000-20000 idmap gid = 10000-20000 ldap ssl = no ldap timeout = 50 acl check permissions = True template shell = /bin/false winbind use default domain = Yes inherit permissions = yes inherit acls = yes nt acl support = yes hide dot files = yes #######################################Share Definations######################################## [homes] comment = Home Directories valid users = %S browseable = no writable = yes veto files /.bash_history/.bash_logout/.bash_profile/.bashrc/.canna/.emacs/.gtkrc/.kde/.vimin fo/.xemacs/.zshrc/ hide dot files = yes [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = no writable = no printable = yes [projects] comment = All Projects path = /projects browseable = no guest ok = no writeable = yes printable = no veto files = /lost+found/.Trash-root/*.sh/*.scr/.recycle/ create mode = 2700 force create mode = 0700 force directory mode = 0700 inherit permissions = yes inherit acls = yes vfs objects = recycle [datalib] comment = DataLib path = /datalib browseable = no writeable = yes vfs objects = recycle veto files = lost+found inherit permissions = yes inherit acls = yes veto files = /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=0xb7cfdfb0) at tdb/spinlock.c:338 #4 0x00a7bf35 in tdb_spinlock (tdb=0x9779a38, list=979, rw_type=1) at tdb/spinlock.c:388 #5 0x00a77918 in tdb_lock (tdb=0x9779a38, list=979, ltype=1) at tdb/tdb.c:302 #6 0x00a7b72b in tdb_chainlock (tdb=0x9779a38, key={dptr = 0xba3600 "1\b", dsize = 16}) at tdb/tdb.c:2030 #7 0x00a0507b in get_share_mode_lock (mem_ctx=0x0, dev=2097, ino=8356202, servicepath=0x0, fname=0x0) at locking/locking.c:619 #8 0x00a05334 in get_delete_on_close_flag (dev=2097, inode=8356202, fname=0xbfe1cd50 "STEPMOT/cd_down_load/memorey") at locking/locking.c:665 #9 0x008d4fc6 in call_trans2qfilepathinfo (conn=0x9783c80, inbuf=0xb7d66008 "", outbuf=0xb7d45008 "", length=138, bufsize=131072, tran_call=5, pparams=0xbfe1d258, total_params=66, ppdata=0xbfe1d254, total_data=0, max_data_bytes=40) at smbd/trans2.c:2890 #10 0x008dcd67 in reply_trans2 (conn=0x9783c80, inbuf=0xb7d66008 "", outbuf=0xb7d45008 "", length=138, bufsize=131072) at smbd/trans2.c:5030 #11 0x008fcc2a in switch_message (type=50, inbuf=0xb7d66008 "", outbuf=0xb7d45008 "", size=138, ##################################################################################### Regards Niranjan