Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

i have a samba4 server that holds my clients outlook pst files, if the outlook client or the machine crashes i must go to the server to kill the PID manually.

i saw there was "reset on zero vc =yes" parameter that can solve the problem but that is no longer supported in samba4 although it is in the man pages!!!?

any idea guys?

share|improve this question
You shouldn't be storing PST files on a network share... especially using a non-Windows server. – ewwhite Dec 8 '12 at 15:00
@ewwhite my question is not about what i should or should not do, this is an existing situation. – BluesRhythm Dec 9 '12 at 0:03
great question! let me know when you get an answer. – IIIIIllllllllIlllllIIIIIIIIlll Dec 13 '12 at 23:22

1 Answer 1

That setting does not do what you think it might, so not a problem it is gone.

It seems that Samba itself, because it is running the CIFS protocol, does not have a mechanism to differentiate between "client went away and is coming back" and "client just plain went away." Which is why Samba will continue with the locks you are encountering after client machines crash, etc.

It appears some folks have had luck tweaking the socket-level timeouts for Samba, specifically SO_KEEPALIVE, to solve this problem:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.