Lotus Notes, Oplocks, and Unexpected Network Error

Robert Schott rschott at schott-memsys.com
Tue Dec 5 07:59:47 GMT 2000


> server. (RH6.2, 2.0.7).  I had seen some information on the list about NT
> TSE with the same problem associated to oplock break failures.  I noticed
> that if I restart the samba server, every single notes client would have
> this "Unexpected Network Error" problem and you have to logoff
> and log back
> on.  Killing and restarting the client didn't fix it.  I don't do that
> anymore :)  Now its more sporadic, but still irritating.
>
> Has anyone else seen this with Lotus Notes clients?

Not with Notes but:

We have shares on Samba 2.0.6 kernel 2.2.14 (I guess - machine is not here
at this location).

There were some severe file access problems. It resulted in one destroyed
file. I don't know if the DOS app behaves badly or the FS. I expect that
later is not ! the case. The crash occured twice. Both times we had to roll
back the system to a state several hours ago and switched back to the old NT
server.

Sadly to say but nobody of the specialists here - and anywhere else - could
help me. The symptom could not be reproduced manually. Torture tests of the
system house who built the DOS app are not available - so I had to dig in
the dark. I read a lot about Samba and startet changing with oplock params.

Now, for several days we have Samba running stabil with this odd app WITHOUT
any trouble. I changed the following params in general section of smb.conf:

   strict locking = yes
   oplocks = False
   oplock break wait time = 20
   oplock contention limit = 4

I am still not 100% save that the peace hit us but hope in silent that I
solved the problem. So maybe you want to test this with your Notes
environment, too.

If anyone out there, with better knowledge of the oplock params, could teach
me the most conservative settings of Samba or if my settings will really
prevent overlapping writes I personally would highly appreciate to know
this. (I will sleep better, though ;-)



Robert Schott
roottec.com


-----------------------------------------------
security is an illusion
(Bombolo)






More information about the samba mailing list