Hi,
Sorry for not responding in a long time, I been really busy these days.

To kill the process, I use "kill -9 <pid of the smbd process>" as root and
it do nothing, no error message and the process still run.

I found the possible source of this problem : each night we have a backup
server (running opensuse 10.3) that connect to the file server (mount -t
cifs ...) copy the files on his own hard drive, umount the share and then
start transferring the files on tapes. When I check the swat status page in
the morning and "ps aux | greo smbd", I got like 20 process or more coming
for the backup server file transfer and all those process can't be kill by
"sudo kill -9 pid". From this point some smbd process, that are created by
normal user use, can't die either and keeps lock on files. One night, I
shutdown the backup server and the next day every thing was working
normally, no unkillable process.

Thank you,

Mathieu Beaudoin
Responsable des T.I.
CVT Corp
Technologies de vitesse variable
Variable Speed Technologies

-----Message d'origine-----
De : James A. Dinkel [mailto:[EMAIL PROTECTED] 
Envoyé : 21 avril 2008 11:43
À : [email protected]
Objet : RE: [Samba] Can't kill smbd process


TCP_NODELAY is still usefull and has a noticeable improvement in
responsiveness.  SO_RCVBUF=8192 and SO_SNDBUF=8192 are outdated and
actually make things worse if running with a 2.6 kernel (they do help if
running on a 2.4 kernel).  But I too, am sure changing these will not
fix your problem (but probably will improve network performance).

How are you killing the open files?  With "kill -9"?  I kill locked,
open files by finding the pid with lsof and then close it with "sudo
kill -9 pidnumber".  I've never had kill -9 fail me and I imagine you
would have to have serious kernel problems if kill -9 failed to kill a
pid.3

James






-----Original
Message----------------------------------------------------
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Ryan Novosielski
Sent: Friday, April 18, 2008 3:55 PM
To: [email protected]
Subject: Re: [Samba] Can't kill smbd process

I've seen written here many times that the TCP options are old/no longer
needed. Not that I expect that removing them will fix anything.

Seems to me you have an awful lot things defined specifically there. I
don't know how those relate to the defaults. Or is that testparm -v
output?

- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFICQqrmb+gadEcsb4RAmjxAKCQudeurwtv7YWf20mPvr/5pTVUqACfbF+z
bTXN5/lgADDY5qywZKJEzp0=
=IXls
-----END PGP SIGNATURE-----



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to