kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 6bfeb8e037247287c543e9f1338c863189db10c1
parent 4356c3e628a8de9438443ef2e7fd8b379a41ea92
Author: Joris Vink <joris@coders.se>
Date:   Sun, 20 Dec 2015 11:19:07 +0100

Clearify worker configuration directive.

Diffstat:
conf/kore.conf.example | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/conf/kore.conf.example b/conf/kore.conf.example @@ -18,8 +18,12 @@ chroot /home/joris/src/kore # Worker processes will run as the specified user. runas joris -# Set workers to the amount of CPU's available in your system, -# kore will automatically distribute all workers on them. +# How many worker processes Kore will spawn. If the directive +# worker_set_affinity is set to 1 (the default) Kore will automatically +# pin these worker processes to different CPU cores in your system. +# NOTE: If you set this to the maximum number of cores you have +# in your system (or more) you might consider turning off affinity +# if you are running CPU heavy services on the same machine. workers 4 # The number of active connections each worker can handle.