Hey! I Have a problem with samba as is noticed, in fact, i have two, and i will start in order. When accessing the shares on my samba server, it sometimes freezes, i have the lateste version, 3.6.1, mas since version 3.4 wish was the first i used, i've been running into this problems. When i try to browse the shares, many times, like 1 in 10, it freezes and sometimes, when saving files, it fails at the first command and only at the second command to save it does so. My other problem is with samba very low performance, i have 50 computers on the office, have 1000mbps connections, 3 1000mbps ports being used just for samba as a bond, and still the performance is very low, my server is a hp dl380 g6 with 24GB of memory, dual xeon at 2.4Ghz and 2 Sas controllers with 1024MB memory each, so i shouldn't be experiencing any delay. I'll Put a dump of both my smb.conf and smbd.log. Hope to get Some Help cause this is driving me crazy!!! *smb.conf* #Date: 2011/02/19 00:34:22 [global] security = user workgroup = NLAdomain netbios aliases = NLSRV server string = NLSRV name resolve order = wins host bcast socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=65536 SO_SNDBUF=65536 os level = 255 interfaces = bond0 lo preferred master = Yes domain master = Yes domain logons = Yes wins support = Yes admin users = vleal, joaoluis time server = yes logon script = netlogon.bat logon path = \\%L\profiles\%U.msprofile oplocks = yes level 2 oplocks = yes add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false '%u' add user script = /usr/sbin/useradd -s /bin/bash -m %u local master = Yes netbios name = NLSRV nt acl support = yes log file = /var/log/samba/%m.log log level = 4 max log size = 50 max xmit = 65535 dead time = 0 dns proxy = no smb ports = 445 printcap name = /dev/null password server = None load printers = no printing = bsd veto oplock files = /*jpg/*psd/*max/*png/ #[homes] # comment = Home Directories # valid users = %S, %D%w%S # inherit acls = Yes # browseable = No [profiles] comment = Network Profiles Service path = /home/samba/profiles read only = No create mask = 0600 hide files = /destop.ini/outlook*.lnk/*Briefcase*/ store dos attributes = Yes browseable = No [users] comment = All users path = /home read only = No inherit acls = Yes veto files = /aquota.user/groups/shares/ browseable = No [groups] comment = All groups path = /home/groups read only = No inherit acls = Yes browseable = No #[printers] # comment = All Printers # path = /var/tmp # create mask = 0600 # printable = Yes # browseable = No #[print$ ] # comment = Printer Drivers # path = /var/lib/samba/drivers # write list = @ntadmin, root # force group = ntadmin # create mask = 0664 directory mask = 0775 [netlogon] comment = Network Logon Service path = /home/samba/netlogon write list = root read only = No browseable = no [gg] comment = Grafica_Geral path = /gg read only = No hide files = /lost+found/Thumbs.db force create mode = 0774 directory mask = 0774 force user = root force group = samba-domain-users [g3d] comment = Grafica_3d path = /g3d read only = No inherit acls = Yes hide files = /lost+found/Thumbs.db force create mode = 0774 directory mask = 0774 force user = root force group = samba-domain-users [adm] comment = Administrativa path = /adm read only = No inherit acls = Yes inherit permissions = Yes hide files = /lost+found/Thumbs.db force create mode = 0770 directory mask = 0770 # force user = root # force group = samba-domain-users [prj] comment = Projecto path = /prj read only = No inherit acls = Yes hide files = /lost+found/Thumbs.db force create mode = 0774 directory mask = 0774 force user = root force group = samba-domain-users [sw] comment = Software path = /adm/software read only = No valid users = @software hide files = /Thumbs.db # force create mode = 0774 # directory mask = 0774 # force user = root force group = software [bkp] comment = Backup path = /bkp read only = No inherit acls = Yes hide files = /Thumbs.db/lost+found force create mode = 0770 directory mask = 0770 force user = root force group = samba-domain-admins browseable = no *smbd.log* Found policy hnd[0] [0000] 00 00 00 00 05 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.219505, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 05 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.219565, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 05 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.219623, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 05 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.219682, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 05 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.219739, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 05 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.219795, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 05 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.219851, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 05 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.219896, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 05 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.219937, 3] rpc_server/rpc_handles.c:281(close_policy_hnd) Closed policy [2012/01/03 20:53:40.219971, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[1] [0000] 00 00 00 00 01 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.220073, 4] rpc_server/rpc_handles.c:197(create_rpc_handle_internal) Opened policy hnd[3] [0000] 00 00 00 00 06 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.220135, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 06 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.220266, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 06 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.220315, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 06 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.220357, 3] rpc_server/rpc_handles.c:281(close_policy_hnd) Closed policy [2012/01/03 20:53:40.220390, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[1] [0000] 00 00 00 00 01 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.220486, 4] rpc_server/rpc_handles.c:197(create_rpc_handle_internal) Opened policy hnd[3] [0000] 00 00 00 00 07 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.220553, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 07 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.220623, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 07 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.220681, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 07 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.220738, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 07 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.220798, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 07 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.220855, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 07 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.220913, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 07 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.220968, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 07 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.221013, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 07 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.221054, 3] rpc_server/rpc_handles.c:281(close_policy_hnd) Closed policy [2012/01/03 20:53:40.221088, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[1] [0000] 00 00 00 00 01 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.221187, 4] rpc_server/rpc_handles.c:197(create_rpc_handle_internal) Opened policy hnd[3] [0000] 00 00 00 00 08 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.221249, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 08 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.221313, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 08 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.221359, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 08 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.221400, 3] rpc_server/rpc_handles.c:281(close_policy_hnd) Closed policy [2012/01/03 20:53:40.221434, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[1] [0000] 00 00 00 00 01 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.221537, 4] rpc_server/rpc_handles.c:197(create_rpc_handle_internal) Opened policy hnd[3] [0000] 00 00 00 00 09 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.221599, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 09 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.221668, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 09 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.221726, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 09 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.221784, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 09 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.221843, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 09 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.221902, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 09 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.221961, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 09 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.222016, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 09 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.222061, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 09 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.222102, 3] rpc_server/rpc_handles.c:281(close_policy_hnd) Closed policy [2012/01/03 20:53:40.222136, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[1] [0000] 00 00 00 00 01 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.222238, 4] rpc_server/rpc_handles.c:197(create_rpc_handle_internal) Opened policy hnd[3] [0000] 00 00 00 00 0A 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.222299, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 0A 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.222363, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 0A 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.222409, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 0A 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.222450, 3] rpc_server/rpc_handles.c:281(close_policy_hnd) Closed policy [2012/01/03 20:53:40.222478, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 02 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.222529, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 02 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.222570, 3] rpc_server/rpc_handles.c:281(close_policy_hnd) Closed policy [2012/01/03 20:53:40.222618, 3] rpc_server/eventlog/srv_eventlog_reg.c:59(eventlog_init_winreg) Initialise the eventlog registry keys if needed. [2012/01/03 20:53:40.222643, 4] rpc_server/rpc_ncacn_np.c:132(make_internal_rpc_pipe_p) Create pipe requested \winreg [2012/01/03 20:53:40.222669, 4] rpc_server/rpc_ncacn_np.c:176(make_internal_rpc_pipe_p) Created internal pipe \winreg (pipes_open=0) [2012/01/03 20:53:40.222709, 4] rpc_server/rpc_handles.c:197(create_rpc_handle_internal) Opened policy hnd[2] [0000] 00 00 00 00 0B 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.222767, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 0B 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.222866, 4] rpc_server/rpc_handles.c:197(create_rpc_handle_internal) Opened policy hnd[3] [0000] 00 00 00 00 0C 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.222924, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 0C 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.223007, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 0C 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.223054, 4] rpc_server/rpc_handles.c:232(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 0C 00 00 00 00 00 00 00 03 4F D4 6A ........ .....O.j [0010] 86 15 00 00 .... [2012/01/03 20:53:40.223096, 3] rpc_server/rpc_handles.c:281(close_policy_hnd) Closed policy [2012/01/03 20:53:40.223136, 3] printing/pcap.c:138(pcap_cache_reload) reloading printcap cache [2012/01/03 20:53:40.223224, 3] printing/pcap.c:189(pcap_cache_reload) reload status: ok [2012/01/03 20:53:40.223472, 3] printing/printing.c:1644(start_background_queue) start_background_queue: Starting background LPQ thread [2012/01/03 20:53:40.223742, 3] ../lib/util/util_net.c:70(interpret_string_addr_internal) interpret_string_addr_internal: getaddrinfo failed for name :: [Address family for hostname not supported] [2012/01/03 20:53:40.223979, 2] smbd/server.c:833(smbd_parent_loop) waiting for connections [2012/01/03 20:54:40.230414, 3] smbd/server.c:623(smbd_parent_housekeeping) Printcap cache time expired. [2012/01/03 20:54:40.230474, 3] printing/pcap.c:138(pcap_cache_reload) reloading printcap cache [2012/01/03 20:54:40.230558, 3] printing/pcap.c:189(pcap_cache_reload) reload status: ok [2012/01/03 20:54:40.230638, 2] lib/messages_local.c:310(message_notify) message to process 6495 failed - No such process [2012/01/03 20:54:40.230676, 2] lib/messages_local.c:400(messaging_tdb_send) pid 6495 doesn't exist - deleting messages record [2012/01/03 20:54:40.230701, 2] lib/messages.c:121(traverse_fn) pid 6495 doesn't exist [2012/01/03 20:54:40.230738, 2] lib/messages_local.c:310(message_notify) message to process 22843 failed - No such process [2012/01/03 20:54:40.230762, 2] lib/messages_local.c:400(messaging_tdb_send) pid 22843 doesn't exist - deleting messages record [2012/01/03 20:54:40.230786, 2] lib/messages.c:121(traverse_fn) pid 22843 doesn't exist [2012/01/03 20:54:40.230831, 2] lib/messages_local.c:310(message_notify) message to process 26828 failed - No such process [2012/01/03 20:54:40.230855, 2] lib/messages_local.c:400(messaging_tdb_send) pid 26828 doesn't exist - deleting messages record [2012/01/03 20:54:40.230879, 2] lib/messages.c:121(traverse_fn) pid 26828 doesn't exist [2012/01/03 20:54:40.230954, 2] lib/messages_local.c:310(message_notify) message to process 28414 failed - No such process [2012/01/03 20:54:40.230980, 2] lib/messages_local.c:400(messaging_tdb_send) pid 28414 doesn't exist - deleting messages record [2012/01/03 20:54:40.231004, 2] lib/messages.c:121(traverse_fn) pid 28414 doesn't exist [2012/01/03 20:54:40.231036, 2] lib/messages_local.c:310(message_notify) message to process 2652 failed - No such process [2012/01/03 20:54:40.231059, 2] lib/messages_local.c:400(messaging_tdb_send) pid 2652 doesn't exist - deleting messages record [2012/01/03 20:54:40.231082, 2] lib/messages.c:121(traverse_fn) pid 2652 doesn't exist [2012/01/03 20:54:40.231130, 4] smbd/sec_ctx.c:314(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2012/01/03 21:06:13.593508, 3] smbd/server.c:286(remove_child_pid) smbd/server.c:286 Unclean shutdown of pid 5783 [2012/01/03 21:06:13.593563, 1] smbd/server.c:294(remove_child_pid) Scheduled cleanup of brl and lock database after unclean shutdown [2012/01/03 21:06:33.603349, 1] smbd/server.c:266(cleanup_timeout_fn) Cleaning up brl and lock database after unclean shutdown [2012/01/03 21:07:40.538939, 3] smbd/server.c:623(smbd_parent_housekeeping) Printcap cache time expired. [2012/01/03 21:07:40.538992, 3] printing/pcap.c:138(pcap_cache_reload) reloading printcap cache [2012/01/03 21:07:40.539046, 3] printing/pcap.c:189(pcap_cache_reload) reload status: ok [2012/01/03 21:07:40.539182, 4] smbd/sec_ctx.c:314(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2012/01/03 21:20:40.902224, 3] smbd/server.c:623(smbd_parent_housekeeping) Printcap cache time expired. [2012/01/03 21:20:40.902280, 3] printing/pcap.c:138(pcap_cache_reload) reloading printcap cache [2012/01/03 21:20:40.902339, 3] printing/pcap.c:189(pcap_cache_reload) reload status: ok [2012/01/03 21:20:40.902476, 4] smbd/sec_ctx.c:314(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2012/01/03 21:33:41.215111, 3] smbd/server.c:623(smbd_parent_housekeeping) Printcap cache time expired. [2012/01/03 21:33:41.215168, 3] printing/pcap.c:138(pcap_cache_reload) reloading printcap cache [2012/01/03 21:33:41.215233, 3] printing/pcap.c:189(pcap_cache_reload) reload status: ok [2012/01/03 21:33:41.215367, 4] smbd/sec_ctx.c:314(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2012/01/03 21:46:41.536660, 3] smbd/server.c:623(smbd_parent_housekeeping) Printcap cache time expired. [2012/01/03 21:46:41.536741, 3] printing/pcap.c:138(pcap_cache_reload) reloading printcap cache [2012/01/03 21:46:41.536825, 3] printing/pcap.c:189(pcap_cache_reload) reload status: ok [2012/01/03 21:46:41.537017, 4] smbd/sec_ctx.c:314(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2012/01/03 21:59:41.984016, 3] smbd/server.c:623(smbd_parent_housekeeping) Printcap cache time expired. [2012/01/03 21:59:41.984069, 3] printing/pcap.c:138(pcap_cache_reload) reloading printcap cache [2012/01/03 21:59:41.984133, 3] printing/pcap.c:189(pcap_cache_reload) reload status: ok [2012/01/03 21:59:41.984289, 4] smbd/sec_ctx.c:314(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2012/01/03 22:05:05.369820, 3] smbd/server.c:286(remove_child_pid) smbd/server.c:286 Unclean shutdown of pid 6906 [2012/01/03 22:05:05.369876, 1] smbd/server.c:294(remove_child_pid) Scheduled cleanup of brl and lock database after unclean shutdown [2012/01/03 22:05:25.376516, 1] smbd/server.c:266(cleanup_timeout_fn) Cleaning up brl and lock database after unclean shutdown [2012/01/03 22:12:42.344516, 3] smbd/server.c:623(smbd_parent_housekeeping) Printcap cache time expired. [2012/01/03 22:12:42.344570, 3] printing/pcap.c:138(pcap_cache_reload) reloading printcap cache [2012/01/03 22:12:42.344622, 3] printing/pcap.c:189(pcap_cache_reload) reload status: ok [2012/01/03 22:12:42.344782, 4] smbd/sec_ctx.c:314(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2012/01/03 22:25:42.759229, 3] smbd/server.c:623(smbd_parent_housekeeping) Printcap cache time expired. [2012/01/03 22:25:42.759282, 3] printing/pcap.c:138(pcap_cache_reload) reloading printcap cache [2012/01/03 22:25:42.759340, 3] printing/pcap.c:189(pcap_cache_reload) reload status: ok [2012/01/03 22:25:42.759461, 4] smbd/sec_ctx.c:314(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2012/01/03 22:38:43.120516, 3] smbd/server.c:623(smbd_parent_housekeeping) Printcap cache time expired. [2012/01/03 22:38:43.120556, 3] printing/pcap.c:138(pcap_cache_reload) reloading printcap cache [2012/01/03 22:38:43.120611, 3] printing/pcap.c:189(pcap_cache_reload) reload status: ok [2012/01/03 22:38:43.120749, 4] smbd/sec_ctx.c:314(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2012/01/03 22:51:43.584085, 3] smbd/server.c:623(smbd_parent_housekeeping) Printcap cache time expired. [2012/01/03 22:51:43.584137, 3] printing/pcap.c:138(pcap_cache_reload) reloading printcap cache [2012/01/03 22:51:43.584196, 3] printing/pcap.c:189(pcap_cache_reload) reload status: ok [2012/01/03 22:51:43.584323, 4] smbd/sec_ctx.c:314(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2012/01/03 23:04:44.048266, 3] smbd/server.c:623(smbd_parent_housekeeping) Printcap cache time expired. [2012/01/03 23:04:44.048324, 3] printing/pcap.c:138(pcap_cache_reload) reloading printcap cache [2012/01/03 23:04:44.048390, 3] printing/pcap.c:189(pcap_cache_reload) reload status: ok [2012/01/03 23:04:44.048515, 4] smbd/sec_ctx.c:314(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 Thanks In Advance!!! -- Best Regards, Vasco Le?nidas Pinto Leal IT Director JUZO - Inform?tica e Servi?os, Lda Mozilla Thunderbird, The Mail Rebirth! Still Stucked With Windows? Give Linux a Try And Enhance Your Work!
Volker Lendecke
2012-Jan-04 08:57 UTC
[Samba] Samba Freezes accessing shares/ low performance
On Tue, Jan 03, 2012 at 11:26:06PM +0000, Vasco Leal wrote:> When accessing the shares on my samba server, it sometimes freezes, > i have the lateste version, 3.6.1, mas since version 3.4 wish was > the first i used, i've been running into this problems. When i try > to browse the shares, many times, like 1 in 10, it freezes and > sometimes, when saving files, it fails at the first command and only > at the second command to save it does so. > > My other problem is with samba very low performance, i have 50 > computers on the office, have 1000mbps connections, 3 1000mbps ports > being used just for samba as a bond, and still the performance is > very low, my server is a hp dl380 g6 with 24GB of memory, dual xeon > at 2.4Ghz and 2 Sas controllers with 1024MB memory each, so i > shouldn't be experiencing any delay. I'll Put a dump of both my > smb.conf and smbd.log. > > Hope to get Some Help cause this is driving me crazy!!! > > *smb.conf* > > #Date: 2011/02/19 00:34:22 > > [global] > > security = user > > workgroup = NLAdomain > > netbios aliases = NLSRV > > server string = NLSRV > > name resolve order = wins host bcast > > socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE > SO_RCVBUF=65536 SO_SNDBUF=65536Please remove the SO_RCVBUF and SO_SNDBUF options.> log level = 4For maximum performance, log level = 1 is sufficient, although 4 should not affect it badly yet.> max log size = 50This is very, very small.> max xmit = 65535Please remove this parameter. If transfers are still slow or stall, I would investigate the hardware you are using. It can be anything from bad network cables to flaky disks, something which is difficult to judge without direct machine access. Trying transfer via ftp might give you hints. With best regards, Volker Lendecke -- SerNet GmbH, Bahnhofsallee 1b, 37081 G?ttingen phone: +49-551-370000-0, fax: +49-551-370000-9 AG G?ttingen, HRB 2816, GF: Dr. Johannes Loxen http://www.sernet.de, mailto:kontakt at sernet.de