| 1 |
<samba:parameter name="ctdb locktime warn threshold" |
| 2 |
context="G" |
| 3 |
type="integer" |
| 4 |
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> |
| 5 |
<description> |
| 6 |
|
| 7 |
<para> |
| 8 |
In a cluster environment using Samba and ctdb it is critical |
| 9 |
that locks on central ctdb-hosted databases like locking.tdb |
| 10 |
are not held for long. With the current Samba architecture |
| 11 |
it happens that Samba takes a lock and while holding that |
| 12 |
lock makes file system calls into the shared cluster file |
| 13 |
system. This option makes Samba warn if it detects that it |
| 14 |
has held locks for the specified number of milliseconds. If |
| 15 |
this happens, <emphasis>smbd</emphasis> will emit a debug level 0 |
| 16 |
message into its logs and potentially into syslog. The most likely |
| 17 |
reason for such a log message is that an operation of the cluster |
| 18 |
file system Samba exports is taking longer than expected. |
| 19 |
The messages are meant as a debugging aid for potential |
| 20 |
cluster problems. |
| 21 |
</para> |
| 22 |
|
| 23 |
<para>The default value of 0 disables this logging.</para> |
| 24 |
|
| 25 |
</description> |
| 26 |
<value type="default">0</value> |
| 27 |
</samba:parameter> |