diff options
author | Arturo Borrero Gonzalez <arturo@debian.org> | 2017-06-12 10:34:35 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-06-12 11:22:28 +0200 |
commit | 210f5429678dba06f361b1f37bcb946f27e2e20b (patch) | |
tree | 641e4285b7e26147fb133c28899e4de7d2b63df2 /TODO | |
parent | dbfdea75ef9dfcae0d09044c65b2372c7483d0f7 (diff) |
conntrackd: make the daemon run in RT mode by default
In order to prevent netlink buffer overrun, conntrackd is recommended to run
at max priority.
Make conntrackd to use a RT (SHED_RR) scheduler by default at max priority.
This is common among other HA daemons. For example corosync uses SCHED_RR
by default.
The scheduler configuration option is kept in order to allow admins to perform
fine-tuning, but it is deleted from example configuration files.
Note that this default sched priority is so high that it makes the nice value
useless, so deprecate the nice configuration. Anyway the nice value can be set
externally at runtime using nice/renice.
The code is moved to the init() routine. In case of error setting the
scheduler, the system default will be used. Report a message to the user
and continue working.
Signed-off-by: Arturo Borrero Gonzalez <arturo@debian.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions