Slow Copy WinXX - Linux/Samba :-(

git at bmts.com git at bmts.com
Mon Apr 23 10:51:57 GMT 2001


Is this problem only seen with Samba? Try placing
the files in an FTP or HTTP share and then copy
them from there to your clients. I would suspect
some kind of physical network issue.


> I never thought it would happen to me, but it
did...
> 
> I have read threads about slow copies from WinXX
to Linux/Samba on the
> list in the past, but I don't recall a concise
answer regarding what the
> cause was.
> 
> THE PROBLEM:
> 
> Trying to copy an 8 meg file from Win95 to my
Linux/Samba box (named
> "Nemesis" - for good reason), the transfer speed
slows to a crawl. The
> Win95 copy dialog box starts out by saying 25
seconds remaining , then
> 60 seconds remaining, then 2 minutes, then 5
minutes, and so on.  I HAVE
> NEVER HAD THIS PROBLEM IN THE PAST.
> 
> I have tried reboots of the Win95 box -- no joy.
I have tried copying
> smaller files to Nemesis (~200k) no noticable
problem. I have tried
> copying large files from "Nemesis" to Win95 (or
Win98 or WinME)  and it
> screams (No Problem -- 1.5 meg so fast the copy
dialog doesn't even have
> time to appear). I need help, something is
amiss, at best, and FUBAR at
> worst.
> 
> When I set up my server, I copied all of my
firm's data from the Win95
> machine to "Nemesis" with no problem.
Approximately 355 Meg copied in ~
> 20 sec. (don't quote me on this, but it was less
than a minute - after
> not having to reboot the Linux machine since
1/19, my memory fades -
> stupid human falability)
> 
> MY SYSTEM:
> 
> Abit KT7/AMD 800 T-bird
> 256M Ram
> IBM 45G/7200 RPM ATA/66 drive
> Linux Mandrake 7.2 (stock ISO install)
> Samba 2.07 (Same stock ISO install)
> 
>     REST OF NETWORK: Win95, Win98, WinME (5
total)
> 
> CHANGES SINCE STOCK MANDRAKE INSTALL:
> 
> Loaded PopTop pptpd server
> Loaded xntp time sync program (xntp is not
currently running)
> 
> MY SMB.CONF
> 
>
#************************************************************
> # Samba config file created using SWAT
> # from localhost.localdomain (127.0.0.1)
> # Date: 2001/01/19 00:04:36
> 
> # Global parameters
> [global]
>  workgroup = RB_LAW
>  server string = RB_LAW Samba Server %v
>  encrypt passwords = Yes
>  update encrypted = Yes
>  smb passwd file = /etc/smbpasswd
>  passwd program = /usr/bin/passwd %u
>  passwd chat = *New*password* %n\n
*new*password* %n\n *success*
>  passwd chat debug = Yes
>  unix password sync = Yes
>  log file = /var/log/samba/log.%m
>  max log size = 50
>  name resolve order = wins lmhosts hosts bcast
>  socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
>  printcap name = lpstat
>  logon script = %U.bat
>  domain logons = Yes
>         time server = yes
>  os level = 34
>  preferred master = Yes
>  domain master = Yes
>  dns proxy = No
>  wins support = Yes
>  hosts allow = 192.168.7. localhost
>  min print space = 2000
>  printing = cups
>  print command = /usr/bin/lp -d%p -oraw %s; rm
%s
>  lpq command = /usr/bin/lpstat -o%p
>  lprm command = /usr/bin/cancel %p-%j
>  queuepause command = /usr/bin/disable %p
>  queueresume command = /usr/bin/enable %p
> 
> [netlogon]
>  comment = Rankin-Bertin logon services
>  path = /home/samba/logon
>  browseable = No
> 
> [Rankin-Bertin]
>  comment = Rankin-Bertin PLLC
>  path = /home/samba/rbpllc
>  valid users = @rbpllc
>  force group = rbpllc
>  admin users = david
>  writeable = Yes
>         map archive = Yes
>         inherit permissions = Yes
> 
> [homes]
>  comment = Homes Directory
>  writeable = Yes
>  browseable = No
> 
> [config] # ** I know this aint smart but I use
it daily -- so save the
> keystrokes (comment added for post to list)
>  comment = Admin Config Share
>  path = /
>  valid users = david
>         force user = root
>  force group = root
>  admin users = david
>  writeable = Yes
> 
> [Applications] # ** New share added 4/19 to hold
WinXX application
> programs (comment added for post to list)
>  comment = Windows Applications
>  path = /home/samba/winapps
>  valid users = @rbpllc
>  force group = rbpllc
>  admin users = david
>  writeable = Yes
>         map archive = Yes
>         inherit permissions = Yes
> 
> [printers]
>  comment = The Printing Army
>  path = /var/spool
>  guest ok = Yes
>  printable = Yes
>  printer = lp
>
#************************************************************
> 
> CHANGES TO SMB.CONF SINCE INSTALL
> 
> Addition of [Applications] share (as shown above
in the smb.conf)
> 
> QUESTION:
> 
> What in the world is causing the slow copy
behavior from my WinXX box to
> "Nemesis"? I don't get it! I can copy FROM
Nemesis to WinXX without any
> problems -- I just can't do it in reverse. In
the past I have sent 300+
> Meg of data to the server with no problem. Now
it stalls trying to copy
> anything bigger than ~200k from Windoze to
Linux. What should I check? I
> don't think 'pptpd' or 'xntpd' should have
anything to do with smb
> (xntpd isn't even running - pptpd is the only
new process running).  (I
> HAVEN'T REBOOTED MY LINUX MACHINE SINCE 1/19 -
DO YOU THINK A REBOOT
> MIGHT HELP?)
> 
> Anyway, for all of the others that have run into
slow copy times from
> WinXX to Linux/Samba, - Please let me know if
you have found a FIX, or
> WORK AROUND.
> 
> Thank You,
> 
> --
> David Rankin
> Nacogdoches, Texas
> 
> 
> 
> -- 
> To unsubscribe from this list go to the
following URL and read the
> instructions: 
http://lists.samba.org/mailman/listinfo/samba
> 


-






More information about the samba mailing list