From: Alan T. DeKok Date: Sat, 10 Sep 2011 18:12:01 +0000 (+0200) Subject: Document max_queue_size X-Git-Tag: release_3_0_0_beta0~644 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c609e562de0c9bf173e1d094a4910b424b8b2673;p=thirdparty%2Ffreeradius-server.git Document max_queue_size --- diff --git a/raddb/radiusd.conf.in b/raddb/radiusd.conf.in index d7cdc725ef5..edb50c984a8 100644 --- a/raddb/radiusd.conf.in +++ b/raddb/radiusd.conf.in @@ -621,6 +621,23 @@ thread pool { min_spare_servers = 3 max_spare_servers = 10 + # When the server receives a packet, it places it onto an + # internal queue, where the worker threads (configured above) + # pick it up for processing. The maximum size of that queue + # is given here. + # + # When the queue is full, any new packets will be silently + # discarded. + # + # The most common cause of the queue being full is that the + # server is dependent on a slow database, and it has received + # a large "spike" of traffic. When that happens, there is + # very little you can do other than make sure the server + # receives less traffic, or make sure that the database can + # handle the load. + # +# max_queue_size = 65536 + # There may be memory leaks or resource allocation problems with # the server. If so, set this value to 300 or so, so that the # resources will be cleaned up periodically.