-
Notifications
You must be signed in to change notification settings - Fork 985
Closed
Description
- Program: Authoritative, Recursor, dnsdist
- Issue type: Feature request
Short description
It would be nice if the single threads in the applications had a descriptive name so that debugging and tracing would be easier.
Usecase
While debugging performance issues it would be easier to spot threads actual job and identify possible bottlenecks. Anything that could help identify the process current role/usage would be nice.
Description
Currently:
# pgrep -law pdns_recursor
16701 /usr/sbin/pdns_recursor --daemon=no --write-pid=no --disable-syslog --log-timestamp=no
16703 /usr/sbin/pdns_recursor --daemon=no --write-pid=no --disable-syslog --log-timestamp=no
16704 /usr/sbin/pdns_recursor --daemon=no --write-pid=no --disable-syslog --log-timestamp=no
16705 /usr/sbin/pdns_recursor --daemon=no --write-pid=no --disable-syslog --log-timestamp=no
Nice to have:
# pgrep -law pdns_recursor
16701 pdns_recursor/distributor
16703 pdns_recursor/resolver
16704 pdns_recursor/resolver
16705 pdns_recursor/resolver
Or for dnsdist something like:
$ pgrep -law dnsdist
1934 dnsdist/parent
2162 dnsdist/addlLocal[127.0.0.1:53]
2163 dnsdist/addlLocal[127.0.0.1:53]
2164 dnsdist/newServer[192.169.1.10:5300]
2165 dnsdist/newServer[192.169.1.11:5300]
Reactions are currently unavailable