Subject: smbd dies under heavy transfers
To: NetBSD Users Mailing List <netbsd-users@NetBSD.org>
From: Gilles Gravier <Gilles@Gravier.org>
List: netbsd-users
Date: 04/14/2007 18:49:40
This is a cryptographically signed message in MIME format.
--------------ms090503060207000200020007
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hi all!
So I have my server that runs samba (current build from pkgsrc)... and
here is what happens... when I do extremely heavy transfers (say have
iTunes copy 6000 files from a draft directory on the server to the music
library directory on that same server - i.e. read each file, then copy
it to a new location) after some time, the smbd daemon dies and I get
disk write errors and the application ends.
If I do small volumes of transfers (say only 2000 or 2500 files) then
/etc/rc.d/samba restart then continue with another batch of more or less
2000 files, then all goes well... I'm doing this at high speed on a
1Gb/s link. Machine has a 2.4 GHz Athlon running NetBSD 3.1 i386 (i.e.
normal 32 bit version).
So... any ideas of what may be wrong? Am I filling up a buffer? Is there
some parameter that I haven't configured that might set a limit to
things that I reach?
Any suggestion welcome!
Regards,
Gilles.
--------------ms090503060207000200020007
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJkzCC
AyQwggKNoAMCAQICECcRS4xe47pgwA2NZJwld2cwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE
BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT
I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA2MDgwNjA4NDQyOFoX
DTA3MDgwNjA4NDQyOFowXzEQMA4GA1UEBBMHR3JhdmllcjEPMA0GA1UEKhMGR2lsbGVzMRcw
FQYDVQQDEw5HaWxsZXMgR3JhdmllcjEhMB8GCSqGSIb3DQEJARYSZ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