[Samba] HELP! running 3.0.23c-2 on fedora core 6 strange slow speed problem

Bill Fung billbill at ust.hk
Thu May 10 03:57:39 GMT 2007


I remove the new added network interface eth1 yesterday and problem persist:


|   ROUTER1  |
     |          |------------|
     |          |   SAMBA    |
     |          |------------| eth0:
     |         /
     |        /
|   SWITCH   |------- XP CLIENTS (
|   ROUTER2  |
 INTERNET (VPN to remote site

Now, all traffic all thru eth0, routing table as follow:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface   U     0      0        0 eth0     U     0      0        0 eth0         UG    0      0        0 eth0

Let me repeat the problem:
1) copying files from XP clients to samba server is OK (no speed change, 
copy a 16mb file in less than 3 seconds)
2) copying files from samba share to XP clients is sometimes normal and 
sometimes very slow (copy a 16mb files take about 3 minutes), strange 
enough, when in the progress of copying a large file (200mb), the 
traffic could be SPEED UP by copying a smaller file (16mb) at the same 
time. In this case, the 16mb file will be copied at normal speed 
(<3second), and you could observe the progress indicator of the 200mb 
file is speed up during the copying of 16mb file. The progress indicator 
of the 200mb file will slow down again after copying the 16mb file.

I figure out:
1) not hardware problem - because ftp to samba server is fast and switch 
has been replaced
2) not routing now - because there is only 1 network card is installed now

I try yesterday:
1) change samba server ip from to (like before) 
and problem persist.
2) remark the vscan-clamav option and problem persist.

I will try to uninstall the samba and install again today to see if it 
helps... really strange problem. Anyone encounter before?
I forget to give the background:
kernel 2.6.20-1.2944.fc6
below is testparm result:
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[netlogon]"
Processing section "[publictemp]"
Processing section "[management]"
Processing section "[photo]"
Processing section "[account]"
Processing section "[alldata]"
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions

        unix charset = BIG5
        workgroup = GROUPX
        server string = File Server
        update encrypted = Yes
        passwd program = /usr/bin/passwd %u
        passwd chat = *New*UNIX*password* %n\n 
*ReType*new*UNIX*password* %n\n 
        passwd chat debug = Yes
        unix password sync = Yes
        log level = 3 passdb:5 auth:10 winbind:2
        log file = /var/log/samba/%m.log
        add user script = /usr/sbin/useradd %u
        delete user script = /usr/sbin/userdel %u
        add group script = /usr/sbin/groupadd %g
        delete group script = /usr/sbin/groupdel %g
        delete user from group script = /usr/sbin/deluser %u %g
        add machine script = /usr/sbin/adduser -n -g machines -c Machine 
-d /dev/null -s /bin/false %u
        logon script = user.bat
        logon path =
        logon home =
        domain logons = Yes
        os level = 99
        preferred master = Yes
        domain master = Yes
        dns proxy = No
        wins support = Yes
        hosts allow = 192.168.0., 192.168.1., 192.168.2., 192.168.3., 127.
        cups options = raw

        comment = Home Directories
        path = /sambahome/%S
        valid users = %S
        read only = No
        create mask = 0755
        browseable = No
        vfs objects = vscan-clamav
        vscan-clamav:config-file = /etc/samba/vscan-clamav.conf

        comment = Network Logon Service
        path = /sambahome/netlogon
        guest ok = Yes
        share modes = No
        vfs objects = vscan-clamav
        vscan-clamav:config-file = /etc/samba/vscan-clamav.conf

        comment = Public Stuff
        path = /sambahome/public
        read only = No
        guest only = Yes
        guest ok = Yes
        vfs objects = vscan-clamav
        vscan-clamav:config-file = /etc/samba/vscan-clamav.conf


More information about the samba mailing list