1 <samba:parameter xmlns:samba="http://samba.org/common">
2 <term><anchor id="OPLOCKCONTENTIONLIMIT"/>oplock contention limit (S)</term>
3 <listitem><para>This is a <emphasis>very</emphasis> advanced
4 <ulink url="smbd.8.html">smbd(8)</ulink> tuning option to
5 improve the efficiency of the granting of oplocks under multiple
6 client contention for the same file.</para>
8 <para>In brief it specifies a number, which causes <citerefentry><refentrytitle>smbd</refentrytitle>
9 <manvolnum>8</manvolnum></citerefentry>not to grant an oplock even when requested
10 if the approximate number of clients contending for an oplock on the same file goes over this
11 limit. This causes <command moreinfo="none">smbd</command> to behave in a similar
12 way to Windows NT.</para>
14 <para><emphasis>DO NOT CHANGE THIS PARAMETER UNLESS YOU HAVE READ
15 AND UNDERSTOOD THE SAMBA OPLOCK CODE</emphasis>.</para>
17 <para>Default: <command moreinfo="none">oplock contention limit = 2</command></para>