summaryrefslogtreecommitdiff
path: root/docs/docbook/smbdotconf/tuning/changenotifytimeout.xml
blob: 18c8b9a1764ff55ea28d96fcf21fe0364c75f807 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<samba:parameter xmlns:samba="http://samba.org/common">
		<term><anchor id="CHANGENOTIFYTIMEOUT"/>change notify timeout (G)</term>
		<listitem><para>This SMB allows a client to tell a server to 
		&quot;watch&quot; a particular directory for any changes and only reply to
		the SMB request when a change has occurred. Such constant scanning of
		a directory is expensive under UNIX, hence an <citerefentry><refentrytitle>smbd</refentrytitle>
		<manvolnum>8</manvolnum></citerefentry> daemon only performs such a scan 
		on each requested directory once every <parameter moreinfo="none">change notify 
		timeout</parameter> seconds.</para>

		<para>Default: <command moreinfo="none">change notify timeout = 60</command></para>
		<para>Example: <command moreinfo="none">change notify timeout = 300</command></para>

		<para>Would change the scan time to every 5 minutes.</para></listitem>
		</samba:parameter>