]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
trunk: More verbose warning about request limits
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 4 Mar 2020 15:19:47 +0000 (09:19 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 4 Mar 2020 22:20:15 +0000 (16:20 -0600)
src/lib/server/trunk.c

index 28a211e1cc23f3049ecc01bf4c32c116a66ba9e1..c59de8499d54fe0b41e1b53dd7773597e2792a19 100644 (file)
@@ -1162,7 +1162,8 @@ static fr_trunk_enqueue_t trunk_request_check_enqueue(fr_trunk_connection_t **tc
                limit = trunk->conf.max * (uint64_t)trunk->conf.max_req_per_conn;
                if ((limit > 0) && (total_reqs > limit)) {
                        ROPTIONAL(RWARN, WARN, "Refusing to enqueue requests - "
-                                 "Limit of %"PRIu64" requests reached", limit);
+                                 "Limit of %"PRIu64" (max = %u * per_connection_max = %u) requests reached",
+                                 limit, trunk->conf.max, trunk->conf.max_req_per_conn);
 
                        return FR_TRUNK_ENQUEUE_NO_CAPACITY;
                }