Charles Howes
Charles Howes
``` $ which cb /usr/local/bin/cb $ ls -la /usr/local/bin/cb lrwxr-xr-x 1 username admin 33 19 Dec 17:09 /usr/local/bin/cb -> ../Cellar/clipboard/0.10.0/bin/cb $ cb Copies a string to the clipboard. Usage: cb...
Ok, will test.
Er, how does one run a Go profiling?
It looks like making those changes has sharply curtailed the memory usage; it's now about 125-148MB, although it goes up and down.
At the moment, each dnsdist frontend is taking 5.7-6.6% of CPU, while each dnscollector backend is taking 3.0-3.7%. With 10 of each, that adds up to a lot. Filebeat is...
Running 10 dnsdists and dnscollectors uses 3.89GB (12%), so setting buffers to 4096 and commenting out the transforms really helped. Running 5 dnsdists and dnscollectors uses 3.32GB (11%), so not...
Oh, there are definitely errors: ``` $ journalctl -S '20 seconds ago' -u dnscollector@backend1 -o json | jq -r .MESSAGE ERROR: 2024/09/15 22:58:02.848611 worker - [tap] dnstap - worker[dnstap-processor] buffer...
Partial output of `nethogs`: ``` PID USER Program Device Sent Received 1338604 _dnsdi.. /usr/bin/dnsdist lo 8323.941 0.000 KB/sec 1338605 _dnsdi.. /usr/bin/dnsdist lo 8273.483 0.000 KB/sec 1338602 _dnsdi.. /usr/bin/dnsdist lo 8028.614...
For those who come here from a Google search, we modified our DNSdist configuration so a single DNSdist logs to multiple dnscollectors: ``` logging=15 -- Copied from https://github.com/dmachard/lua-dnsdist-config-examples/blob/main/logging_dnstap_extra.lua -- Needs...
Current configuration: ``` ################################################ # global configuration # more details: https://github.com/dmachard/go-dnscollector/blob/main/docs/configuration.md#global ################################################ global: trace: verbose: true server-identity: "dns-collector" pid-file: "" text-format: "timestamp-rfc3339ns version operation opcode rcode queryip queryport responseip responseport...