[Bug 480849] [NEW] Samba daemon crashes when transfering large files to share in encrypted home dir
Christoph E
mail at christoph-evers.de
Wed Nov 11 18:52:16 GMT 2009
Public bug reported:
Binary package hint: samba
1) 9.10 (Karmic)
2) Samba 2:3.4.0-3ubuntu5
3) I have set up an encrypted home directory which is automatically
decrypted when logging in to the system. I have then set up a shared
directory within my home dir. I expect to write to and read from this
share from external clients when I am logged in at the server.
4) What actually happens is weird and not understood by me. Writing and reading most of the files works fine. Then I chose a file with a size of 9GB to write to the share. At first nothing happens and I can see that the hard disking is working at the server and that the CPU load of smbd rises very fast above 50%. After a few seconds the hdd stops working and the cpu load reaches 100%. The process cant be even killed in the usual way. The client (here a Windows 7 machine) gets an error message, which says that I dont have permissionen to write. (But other much smaller files in the same dir worked fine). But even with small files, the CPU load became extremely high (80%) when copying files from the client to the share.
Another problem happend when reading from the encrypted shared: It works most of the time, but in some case the client receives an error message that files could not be read.
Having an identical share on an unencrypted directory works fine in
every case and the cpu load is just as usual below 20%.
I have to remark, that the cpu load also gets very high when copying or
moving files between encrypted and unencrypted directories (no samba
involved).
And last but not least, I had the same problem on the same machine with
a previous RC install of Karmic a couple of weeks ago with a slightly
different configuration of my partitions.
I am not sure what kind of other documentation is actually required to
track this problem. My smb.conf is the default config with the two
entries for the shares (see attachment). Encrypted share "Daten" does
not work properly where as unencrypted share "Video" works fine.
ProblemType: Bug
Architecture: i386
Date: Wed Nov 11 19:16:08 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/sbin/smbd
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelModules: nvidia
Package: samba 2:3.4.0-3ubuntu5
ProcEnviron: PATH=(custom, no user)
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: samba
Uname: Linux 2.6.31-14-generic i686
** Affects: samba (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386
--
Samba daemon crashes when transfering large files to share in encrypted home dir
https://bugs.launchpad.net/bugs/480849
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.
More information about the Ubuntu-server-bugs
mailing list