Add information on process-forking for TCP connections to metrics.

Add the relevant information to the metrics and to the output of
dump_cache() (which is called when dnsmasq receives SIGUSR1).
Hence, users not collecting metrics will still be able to
troubleshoot with SIGUSR1. In addition to the current usage,
dump_cache() contains the information on the highest usage
since it was last called.
This commit is contained in:
Damian Sawicki authored and Simon Kelley committed 2023-11-30 15:55:51 +00:00
1 parent 744231d995
commit 69877f565a
7 files changed
+23 -3

No files matched your search

+1
View File
@@ -1314,6 +1314,7 @@ extern struct daemon {
int dumpfd;
#endif
int max_procs;
uint max_procs_used;
} *daemon;
struct server_details {