diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-03-31 21:09:26 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-03-31 21:09:26 +0200 |
commit | c2b5b2dff2eb181044575082d78f0a46bb5986f5 (patch) | |
tree | ab7ccf72da95023ce25d12cd6ba8e585313de9e6 /doc/sync | |
parent | f133f56f46c5ea52031be986f1a319ead672ef25 (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')
-rw-r--r-- | doc/sync/alarm/conntrackd.conf | 8 | ||||
-rw-r--r-- | doc/sync/ftfw/conntrackd.conf | 8 | ||||
-rw-r--r-- | doc/sync/notrack/conntrackd.conf | 8 |
3 files changed, 15 insertions, 9 deletions
diff --git a/doc/sync/alarm/conntrackd.conf b/doc/sync/alarm/conntrackd.conf index 8eb22dd..ca6e661 100644 --- a/doc/sync/alarm/conntrackd.conf +++ b/doc/sync/alarm/conntrackd.conf @@ -189,10 +189,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, diff --git a/doc/sync/ftfw/conntrackd.conf b/doc/sync/ftfw/conntrackd.conf index 059f7b3..33c6fce 100644 --- a/doc/sync/ftfw/conntrackd.conf +++ b/doc/sync/ftfw/conntrackd.conf @@ -198,10 +198,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, 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, |