X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=cubemap.config.sample;h=c6ab1823a8dbd89faa72f4062b402a29da5bbcac;hp=9b104d8f8de442934665ec43bcc2731409c74f17;hb=74cd48ffef90d7d0752e37a4515e4ecfb68f7c9d;hpb=7b3d494100ef1063578b1ef76818baee4ab53ada diff --git a/cubemap.config.sample b/cubemap.config.sample index 9b104d8..c6ab182 100644 --- a/cubemap.config.sample +++ b/cubemap.config.sample @@ -3,7 +3,10 @@ # error_log, stats_file, etc. #daemonize -num_servers 4 # one for each cpu + +# For low-traffic servers (less than a gigabit or two), num_servers 1 is fine. +# For best performance in high-traffic situations, you want one for each CPU. +num_servers 1 # # All input ports are treated exactly the same, but you may use multiple ones nevertheless. @@ -13,6 +16,9 @@ port 9094 stats_file cubemap.stats stats_interval 60 +input_stats_file cubemap-input.stats +input_stats_interval 60 + # Logging of clients as they disconnect (and as such as no longer visible in the stats file). # You can only have zero or one of these. access_log access.log