Hi
I am scratching my head wondering why my Samba has stopped closing connections when they are finished/closed on the client side. These samba processes seem to be consuming 100% CPU. lsof show that no file in the samba shares are open, in use. /var/log/message Apr 20 14:47:33 astro smbd[4364]: [2009/04/20 14:47:33, 0] smbd/nttrans.c:call_nt_transact_ioctl(2463) Apr 20 14:47:33 astro smbd[4364]: call_nt_transact_ioctl(0x9009c): Currently not implemented. Apr 20 14:57:44 astro smbd[4361]: nss_ldap: reconnected to LDAP server ldap://10.10.150.1 after 1 attempt Apr 20 15:10:17 astro smbd[4393]: [2009/04/20 15:10:17, 0] lib/util_sock.c:read_data(534) Apr 20 15:10:17 astro smbd[4393]: read_data: read failure for 4 bytes to client 10.10.150.221. Error = No route to host Apr 20 15:23:34 astro smbd[4361]: nss_ldap: reconnected to LDAP server ldap://10.10.150.1 after 1 attempt Apr 20 15:23:58 astro smbd[4364]: nss_ldap: reconnected to LDAP server ldap://10.10.150.1 after 1 attempt Apr 20 15:28:22 astro smbd[4357]: nss_ldap: reconnected to LDAP server ldap://10.10.150.1 after 1 attempt Apr 20 15:39:15 astro smbd[4539]: [2009/04/20 15:39:15, 0] lib/util_sock.c:read_data(534) Apr 20 15:39:15 astro smbd[4539]: read_data: read failure for 4 bytes to client 10.10.150.117. Error = Connection timed out Apr 20 15:55:00 astro smbd[4358]: nss_ldap: reconnected to LDAP server ldap://10.10.150.1 after 1 attempt Apr 20 16:02:51 astro smbd[4357]: nss_ldap: reconnected to LDAP server ldap://10.10.150.1 after 1 attempt Apr 20 16:24:45 astro smbd[4364]: nss_ldap: reconnected to LDAP server ldap://10.10.150.1 after 1 attempt Apr 20 16:25:40 astro smbd[4361]: nss_ldap: reconnected to LDAP server ldap://10.10.150.1 after 1 attempt Apr 20 16:30:11 astro smbd[4357]: nss_ldap: reconnected to LDAP server ldap://10.10.150.1 after 1 attempt Apr 20 16:47:53 astro smbd[4358]: nss_ldap: reconnected to LDAP server ldap://10.10.150.1 after 1 attempt Apr 20 17:15:43 astro smbd[4558]: [2009/04/20 17:15:43, 0] lib/util_sock.c:read_data(534) Apr 20 17:15:43 astro smbd[4558]: read_data: read failure for 4 bytes to client 10.10.150.117. Error = No route to host Apr 20 17:17:54 astro smbd[4556]: [2009/04/20 17:17:54, 0] lib/util_sock.c:read_data(534) Apr 20 17:17:54 astro smbd[4556]: read_data: read failure for 4 bytes to client 10.10.150.117. Error = No route to host O/S = Centos 5.2 Samba = samba-3.0.33-3.7.el5 Ldap = openldap-2.3.43-3.el5 Smb.conf [global] workgroup = BIG realm = BIG.LOCAL server string = Samba Server security = ADS password server = it.bigr.local use kerberos keytab = yes log file = /var/log/samba/%m.log max log size = 50 smb ports = 139 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = /etc/printcap preferred master = No dns proxy = No cups options = raw admin users = Administrator inherit permissions = Yes add machine script = /usr/sbin/useradd -d /dev/null -g samba-clients -s /bin/false -M %u [database] comment = database path = /database read only = No force user = Administrator force group = biggroup create mask = 0770 directory mask = 0770 [linuxdata] comment = linuxdata path = /linuxdata read only = No force user = Administrator force group = biggroup create mask = 0770 directory mask = 0770 /etc/ldap.conf host 10.10.10.1 base dc=big,dc=local uri ldap://it.big.local/ binddn cn=ldapbinder,cn=Users,dc=big,dc=local bindpw password scope sub ssl no nss_base_passwd dc=big,dc=local nss_base_shadow dc= big,dc=local nss_base_group dc= big,dc=local nss_map_objectclass posixAccount user nss_map_objectclass shadowAccount user nss_map_objectclass posixGroup group nss_map_attribute uid sAMAccountName nss_map_attribute uidNumber msSFU30UidNumber nss_map_attribute gidNumber msSFU30GidNumber nss_map_attribute loginShell msSFU30LoginShell nss_map_attribute gecos name nss_map_attribute userPassword msSFU30Password nss_map_attribute homeDirectory msSFU30HomeDirectory nss_map_attribute uniqueMember msSFU30PosixMember nss_map_attribute cn cn nss_reconnect_tries 2 TOP Cpu(s): 99.9%us, 0.1%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 3916620k total, 3625000k used, 291620k free, 29936k buffers Swap: 4194296k total, 172k used, 4194124k free, 3240604k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 4345 root 25 0 150m 3376 1820 R 50 0.1 215:14.48 smbd 4528 root 25 0 150m 3644 2048 R 50 0.1 191:09.17 smbd 4531 root 25 0 150m 3680 2236 R 50 0.1 199:27.87 smbd 4535 root 25 0 150m 3652 2056 R 50 0.1 192:43.74 smbd 4550 root 25 0 150m 3680 2236 R 50 0.1 192:55.93 smbd 4554 root 25 0 150m 3680 2236 R 50 0.1 194:07.02 smbd 4543 root 25 0 150m 3688 2244 R 34 0.1 189:16.96 smbd 4527 root 25 0 150m 3680 2236 R 33 0.1 212:02.97 smbd 4534 root 25 0 150m 3680 2236 R 33 0.1 202:57.34 smbd 3662 root 18 0 10180 644 552 S 0 0.0 0:08.22 hald-addon-stor 5343 root 16 0 24212 2128 1448 S 0 0.1 0:03.44 top 1 root 15 0 10316 680 568 S 0 0.0 0:01.56 init Thanks Aaron -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
