Graylog server configuration


#1

Could You explain these server config values:

outputbuffer_processor_keep_alive_time = 5000

outputbuffer_processor_threads_core_pool_size = 3

outputbuffer_processor_threads_max_pool_size = 30

?


(Jochen) #2

These are the parameters for the ThreadPoolExecutor backing the output buffer:

https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ThreadPoolExecutor.html#ThreadPoolExecutor-int-int-long-java.util.concurrent.TimeUnit-java.util.concurrent.BlockingQueue-

corePoolSize - the number of threads to keep in the pool, even if they are idle, unless allowCoreThreadTimeOut is set

maximumPoolSize - the maximum number of threads to allow in the pool

keepAliveTime - when the number of threads is greater than the core, this is the maximum time that excess idle threads will wait for new tasks before terminating.


(Jochen) #3

For reference:
https://github.com/Graylog2/graylog2-server/pull/4331


(system) #4

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.