summaryrefslogtreecommitdiff
path: root/doc/sync/alarm/conntrackd.conf
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-04-14 10:43:16 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2009-04-14 10:43:16 +0200
commitdfb88dae65fbdc37d72483ddff23171ef4070dae (patch)
tree387294ba81c2847a2f713be54750da20fb5bade2 /doc/sync/alarm/conntrackd.conf
parent549d78e74c1140b1a4dcd35e44e64d51a3c613e6 (diff)
downloadconntrack-tools-dfb88dae65fbdc37d72483ddff23171ef4070dae.tar.gz
conntrack-tools-dfb88dae65fbdc37d72483ddff23171ef4070dae.zip
conntrackd: change scheduler and priority via configuration file
With this patch, you can change the scheduler policy and priority for conntrackd. Using a RT scheduler policy reduces the chances to hit ENOBUFS in Netlink. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'doc/sync/alarm/conntrackd.conf')
-rw-r--r--doc/sync/alarm/conntrackd.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/sync/alarm/conntrackd.conf b/doc/sync/alarm/conntrackd.conf
index ca6e661..793e953 100644
--- a/doc/sync/alarm/conntrackd.conf
+++ b/doc/sync/alarm/conntrackd.conf
@@ -197,6 +197,17 @@ General {
Nice -20
#
+ # Select a different scheduler for the daemon, you can select between
+ # RR and FIFO and the process priority (minimum is 0, maximum is 99).
+ # See man sched_setscheduler(2) for more information. Using a RT
+ # scheduler reduces the chances to overrun the Netlink buffer.
+ #
+ # Scheduler {
+ # Type FIFO
+ # Priority 99
+ # }
+
+ #
# Number of buckets in the cache hashtable. The bigger it is,
# the closer it gets to O(1) at the cost of consuming more memory.
# Read some documents about tuning hashtables for further reference.