[Pkg-samba-maint] Bug#856463: cifs-utils: Accessing files with length of 1067 bytes extremly slow

Stephan Gampert | GIP stephan.gampert at gip.com
Wed Mar 1 09:54:57 UTC 2017


Subject: cifs-utils: Accessing files with length of 1067 bytes extremly slow
Package: cifs-utils
Version: 2:5.5-1
Severity: normal

Dear Maintainer,

we are using cifs-utils to access  Microsoft Windows 2012R2 File-Server 
shares from Debian-workstations.

The windows shares are mounted using fstab:
//fileserver/firstname.lastname  /home/firstname.lastname cifs 
uid=firstname.lastname,gid=users,file_mode=0700,dir_mode=0700,users,user=firstname.lastname,domain=DOMAINNAME,mfsymlinks,noauto,sec=krb5 
0  0

Accessing some of the files is extremly slow (about 3-20 seconds):

firstname.lastname at devlin149:~/Downloads$time  head -c 1 
./openjdk/jdk/make/sun/awt/README
R
real    0m14.747s
user    0m0.000s
sys     0m0.000s
firstname.lastname at devlin149:~/Downloads$ time head -c 1 
./openjdk/jdk/make/sun/awt/README
R
real    0m14.506s
user    0m0.000s
sys     0m0.000s

Copying the files do not change this behaviour.

firstname.lastname at devlin149:~/Downloads$ cp 
./openjdk/jdk/make/sun/awt/README ./openjdk/jdk/make/sun/awt/README2
firstname.lastname at devlin149:~/Downloads$ time head -c 1 
./openjdk/jdk/make/sun/awt/README2
R
real    0m13.028s
user    0m0.000s
sys     0m0.000s
firstname.lastname at devlin149:~/Downloads$ time head -c 1 
./openjdk/jdk/make/sun/awt/README
R
real    0m10.884s
user    0m0.000s
sys     0m0.000s
firstname.lastname at devlin149:~/Downloads$ time head -c 1 
./openjdk/jdk/make/sun/awt/README
R
real    0m3.583s
user    0m0.000s
sys     0m0.000s
firstname.lastname at devlin149:~/Downloads$ time head -c 1 
./openjdk/jdk/make/sun/awt/README
R
real    0m7.846s
user    0m0.000s
sys     0m0.000s


All of the "slow files" have a length of 1067 bytes.
As far as I know this is also the length of symlink files. Perhaps there 
is a problem with symlink handling.


-- System Information:
Debian Release: 7.11
   APT prefers oldstable
   APT policy: (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cifs-utils depends on:
ii  libc6         2.13-38+deb7u11
ii  libkeyutils1  1.5.5-3+deb7u1
ii  libkrb5-3     1.10.1+dfsg-5+deb7u7
ii  libtalloc2    2.0.7+git20120207-1
ii  libwbclient0  2:3.6.6-6+deb7u11
ii  samba-common  2:3.6.6-6+deb7u11

Versions of packages cifs-utils recommends:
ii  keyutils  1.5.5-3+deb7u1
ii  winbind   2:3.6.6-6+deb7u11

Versions of packages cifs-utils suggests:
pn  smbclient  <none>

-- no debconf information
~
-- 


Stephan Gampert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3825 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20170301/5a8a99aa/attachment.bin>


More information about the Pkg-samba-maint mailing list