Document "max_outstanding" for home servers
authorAlan T. DeKok <aland@freeradius.org>
Wed, 15 Jun 2011 08:49:58 +0000 (10:49 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 15 Jun 2011 08:49:58 +0000 (10:49 +0200)
raddb/proxy.conf

index 103e7fd..7ce9a40 100644 (file)
@@ -93,7 +93,7 @@ proxy server {
 #  indicates which server pool should be used for the realm.
 #
 #  This change means that simple configurations now require multiple
-#  ssections to define a realm.  However, complex configurations
+#  sections to define a realm.  However, complex configurations
 #  are much simpler than before, as multiple realms can share the same
 #  server pool.
 #
@@ -392,6 +392,17 @@ home_server localhost {
        num_answers_to_alive = 3
 
        #
+       #  Limit the total number of outstanding packets to the home
+       #  server.
+       #
+       #  if ((#request sent) - (#requests received)) > max_outstanding
+       #       then stop sending more packets to the home server
+       #
+       #  This lets us gracefully fall over when the home server
+       #  is overloaded.
+       max_outstanding = 65536
+
+       #
        #  The configuration items in the next sub-section are used ONLY
        #  when "type = coa".  It is ignored for all other type of home
        #  servers.