Hello all, forgive me if this is old news but it seems to me that smbclient is prone to getting into an infinite loop when mget'ting a stack of files. I have tested (compiled from source with defaults) samba versions 3.0.10, 11, 12, 13, 14, 14a Versions prior to 3.0.13 are fine, in my environment, versions 3.0.13 and later are causing the problem. The basic data on my system is -a P4 3.2 Ghz, 512 Ram, Slakware 10, Intel Etherexpress Pro Nic. this server is very lightly loaded. -The client is a NT4 with SP6a, with a 100 day uptime habit (i.e. really reliable). It is the current file server and is backed up daily with smbclient. I had client problems with Win98 clients with samba v3.0.10,11 and 12 during this testing, but I have a stable situation with samba v3.0.7 where both smbclient as well as the Win98/XP Pro clients work fine. I can provide packet captures of the infinite loop if needed. Peter.
pb wrote:> forgive me if this is old news but it seems to me that > smbclient is prone to getting into an infinite loop > when mget'ting a stack of files. > > I have tested (compiled from source with defaults) > samba versions 3.0.10, 11, 12, 13, 14, 14a > Versions prior to 3.0.13 are fine, in my environment, versions 3.0.13 > and later are causing the problem. > > The basic data on my system is > -a P4 3.2 Ghz, 512 Ram, Slakware 10, Intel Etherexpress Pro Nic. > this server is very lightly loaded. > -The client is a NT4 with SP6a, with a 100 day uptime habit > (i.e. really reliable). It is the current file server and is > backed up daily with smbclient. > > I had client problems with Win98 clients with samba v3.0.10,11 and 12 > during this testing, but I have a stable situation with samba v3.0.7 > where both smbclient as well as the Win98/XP Pro clients work fine. > > I can provide packet captures of the infinite loop if needed.Whilst I can't corroborate the exact symptoms you describe, I can confirm that on my test server (Red Hat RHEL3 update 3) using smbclient to connect to the C$ (root) share of an XP Prof workstation with 1.8GB files: Using Samba 3.0.11, "dir" immediately returns all files and folders; Using 3.0.14 "dir" hangs and never returns anything. Connecting to a share of smaller size works normally. Drat, I installed 3.0.14 on the test rig yesterday and everything else works fine. Now I've reverted to 3.0.11. 3.0.11 is being run in production at a site with 75+ Win 2000 workstations, RHEL3 Update 4, I administer and gives no problems with anything. Best, --Tonni -- mail: tonye@billy.demon.nl http://www.billy.demon.nl They'll love us, won't they? They feed us, don't they ? ...
Tony Earnshaw wrote:> > Using Samba 3.0.11, "dir" immediately returns all files and folders; > Using 3.0.14 "dir" hangs and never returns anything. Connecting to a > share of smaller size works normally. > > --TonniI just want to report that I am having the same problem. The dir command hangs with 3.0.14a but works fine with 3.0.10. This happens only on one client (Windows XP SP2) but from multiple hosts (all Fedora Core 3). Other Windows running the same XP SP2 do not have this problem. I am currently trying to figure out what is unique about the Windows machine that shows the problem. Below is some lines from dmesg on the host that seem to be related to the incident. Not sure if this info is of any use. Akemi Yagi ayagi@scripps.edu CIFS VFS: No response buffer oom-killer: gfp_mask=0x1d2 Mem-info: DMA per-cpu: cpu 0 hot: low 2, high 6, batch 1 cpu 0 cold: low 0, high 2, batch 1 Normal per-cpu: cpu 0 hot: low 28, high 84, batch 14 cpu 0 cold: low 0, high 28, batch 14 HighMem per-cpu: empty Free pages: 2340kB (0kB HighMem) Active:29785 inactive:29486 dirty:0 writeback:0 unstable:0 free:585 slab:2415 ma pped:59018 pagetables:662 DMA free:124kB min:124kB low:152kB high:184kB active:6432kB inactive:6296kB pres ent:16384kB pages_scanned:13861 all_unreclaimable? yes protections[]: 0 0 0 Normal free:2216kB min:1916kB low:2392kB high:2872kB active:112708kB inactive:11 1648kB present:245504kB pages_scanned:20164 all_unreclaimable? no protections[]: 0 0 0 HighMem free:0kB min:128kB low:160kB high:192kB active:0kB inactive:0kB present: 0kB pages_scanned:0 all_unreclaimable? no (snip)0 pages of HIGHMEM 1550 reserved pages 9470 pages shared 492 pages swap cached Out of Memory: Killed process 9276 (smbclient).