summaryrefslogtreecommitdiffstats
path: root/doc/sync/notrack/conntrackd.conf
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-03-31 21:09:26 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2009-03-31 21:09:26 +0200
commitc2b5b2dff2eb181044575082d78f0a46bb5986f5 (patch)
treeab7ccf72da95023ce25d12cd6ba8e585313de9e6 /doc/sync/notrack/conntrackd.conf
parentf133f56f46c5ea52031be986f1a319ead672ef25 (diff)
doc: set nice to -20 in example config files
This patch sets the most favourable nice value for conntrackd in the default configuration files. This is generally a good idea to reduce the chances to hit ENOBUFS. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'doc/sync/notrack/conntrackd.conf')
-rw-r--r--doc/sync/notrack/conntrackd.conf8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/sync/notrack/conntrackd.conf b/doc/sync/notrack/conntrackd.conf
index 96ef547..6175284 100644
--- a/doc/sync/notrack/conntrackd.conf
+++ b/doc/sync/notrack/conntrackd.conf
@@ -179,10 +179,12 @@ General {
#
# Set the nice value of the daemon, this value goes from -20
# (most favorable scheduling) to 19 (least favorable). Using a
- # negative value reduces the chances to lose state-change events.
- # Default is 0. See man nice(1) for more information.
+ # very low value reduces the chances to lose state-change events.
+ # Default is 0 but this example file sets it to most favourable
+ # scheduling as this is generally a good idea. See man nice(1) for
+ # more information.
#
- Nice -1
+ Nice -20
#
# Number of buckets in the cache hashtable. The bigger it is,