server: a query that finds every permit taken waits for one instead of failing, the budget is 64, permit and upstream turns wait on a futex with one thread each, the thread pool has no task limit, and transparent huge pages are off for the process
This commit is contained in:
+1
-1
@@ -1038,7 +1038,7 @@ fn probeUpstreams(r: Runner, cfg: model.Config) !usize {
|
||||
.priority = server.priority,
|
||||
.enabled = true,
|
||||
.health = .init,
|
||||
.admission = .{ .permits = slots.len },
|
||||
.admission = .{ .permits = .init(slots.len) },
|
||||
.reuse_recoveries = &recoveries,
|
||||
}};
|
||||
var single: pool.Pool = .init(&entries, .{}, timeouts, seed);
|
||||
|
||||
Reference in New Issue
Block a user