Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82357 - processes freeze suddenly when transfering large files to cifs shares on a win2k3 server
Summary: processes freeze suddenly when transfering large files to cifs shares on a wi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-17 07:46 UTC by Timo
Modified: 2005-07-25 11:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timo 2005-02-17 07:46:07 UTC
I tried to cp a big file (1G) from my local machine to a cifs share that I had mounted from a win2k3 server. Suddenly some processes began to freeze. I could not kill them any of them, kill -KILL as root didn't work. After all only powering off the machine (not a clean shutdown) helped. This is very poor :(

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




$ emerge info 
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 
i686) 
================================================================= 
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.40GHz 
Gentoo Base System version 1.4.16 
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 10:07:38)] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.4-r1 
sys-devel/autoconf:  2.59-r6, 2.13 
sys-devel/automake:  1.8.5-r3, 1.5, 1.6.3, 1.7.9-r1, 1.9.4, 1.4_p6 
sys-devel/binutils:  2.15.92.0.2-r1 
sys-devel/libtool:   1.5.10-r4 
virtual/os-headers:  2.6.8.1-r1, 2.6.8.1-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer -mmmx -msse -msse2" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer -mmmx -msse -msse2" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" 
GENTOO_MIRRORS="ftp://ftp.unixag-zw.fh-kl.de/pub/mirrors/gentoo 
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://ftp.tu-clausthal.de/pub/linux/gentoo 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j3" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/gentoo-de" 
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage/" 
USE="x86 X aalib acl acpi alsa apm arts avi bash-completion berkdb bitmap-fonts bzlib cdr clamav crypt 
cups curl dga dio directfb divx4linux dvd dvdr encode esd ethereal f77 fam fbcon flac flash font-server 
foomaticdb fortran ftp gd gdbm gif gnome gphoto2 gpm gtk gtk2 icq imagemagick imap imlib ipv6 jack java 
jpeg kde kerberos lcms ldap libg++ libwww mad maildir mbox mikmod mime mmx motif mozilla mpeg 
mysql nas ncurses nls nptl odbc oggvorbis opengl oss pam pcre pda pdflib perl pic plotutils png ppds python 
qt quicktime readlinereal samba sasl sdl slang slp spell sse ssl svg svga tcpd tetex theora tiff truetype 
truetype-fonts type1-fonts unicode usb wmf xine xinerama xml xml2 xmms xosd xpm xprint xsl xv xvid 
zlib linguas_de" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Timo 2005-02-17 07:49:09 UTC
I forgot to add some log messages:

Feb 17 13:41:38 seven CIFS VFS: No task to wake, unknown frame rcvd!
Feb 17 13:41:38 seven CIFS VFS: No task to wake, unknown frame rcvd!
Feb 17 14:26:15 seven CIFS VFS: sends on sock f6a37680 stuck for 30 seconds
Feb 17 14:26:15 seven CIFS VFS: Error -11 sending data on socket to server.
Feb 17 14:26:15 seven CIFS VFS: No task to wake, unknown frame rcvd!
Feb 17 14:37:37 seven CIFS VFS: sends on sock f5ddb380 stuck for 30 seconds
Feb 17 14:37:37 seven CIFS VFS: Error -11 sending data on socket to server.
Feb 17 14:37:37 seven CIFS VFS: sends on sock f5ddb380 stuck for 30 seconds
Feb 17 14:37:37 seven CIFS VFS: Error -11 sending data on socket to server.
Feb 17 14:37:37 seven CIFS VFS: No task to wake, unknown frame rcvd!
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2005-03-16 06:27:48 UTC
Please test 2.6.11
Comment 3 Timo 2005-03-17 05:54:41 UTC
Hi,

I tried gentoo-dev-sources-2.6.11-r3 and it seems like it works with that kernel. Although I cannot test it under the same conditions as before. X was running etc and this time I wasn't able to compile nvidia-kernel and nvidia-glx modules for the new kernel. However I made three nullfiles, 1 GB , 2 GB and 4 GB of size and cp'ed them to the cifs share. Everything went ok except that it took very long especially the 4G one. But I think that's ok.

Now only 2.6.11-gentoo-r3 has to become stable :)

Regards,

Timo
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2005-03-17 08:17:18 UTC
Marking fixed as that is happening soon
Comment 5 fctk86 2005-07-24 06:14:25 UTC
i have the same problem with gentoo-sources-2.6.12-r6.
my situation is fully described here:
http://forums.gentoo.org/viewtopic.php?p=2595937

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 AMD Sempron(tm)  2600+
Gentoo Base System version 1.6.13
ccache version 2.4 [enabled]
dev-lang/python:     2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/
http://mirror.switch.ch/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/
ftp://ftp.solnet.ch/mirror/Gentoo http://gentoo.mirror.solnet.ch"
LC_ALL="it_IT.UTF-8"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main /usr/local/gentoo-de"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apm avi bash-completion bitmap-fonts cdr crypt cups dvdr
emboss encode fam flac foomaticdb fortran gif gpm gtk gtk2 imlib java jpeg
libg++ libwww mmx mp3 mpeg ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl
perl png ppds python quicktime readline samba scanner slang spell sse ssl svga
tiff truetype truetype-fonts type1-fonts unicode usb vorbis xml2 linguas_it
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS
Comment 6 fctk86 2005-07-24 08:28:41 UTC
i tried kernel gentoo-sources-2.6.11-r4 and uploads with cifs filesystem work!
so it's for sure a kernel bug.

however, i tried to measure speed transfers to compare smbfs and cifs, and i
discovered cifs is much slower then smbfs. the test file was 318MB:
smbfs | up: 3' 32"; down: 23" | up: 1,5MB/s; down: 13,8MB/s
cifs | up: 7' 52"; down 1' 27" | up: 0,7MB/s; down: 3,6MB/s

what could it be?
Comment 7 fctk86 2005-07-25 11:10:36 UTC
i fixed my problem... the reason was the absence of a non-null username option!
anyway, cifs is still slower then smbfs...