upstream memory leak
lluu131 opened this issue · comments
@lluu131, hello and thanks for the thorough report. Unfortunately, we can't reproduce the leak. It would really help us to troubleshoot this issue if you could collect a goroutines profile for us.
To perform that, restart the dnsproxy
service with profiling enabled. To enable it, use the --pprof
CLI option, or set pprof: true
in the YAML configuration file. When the memory grows to the suspicious level again, use the following command:
curl "http://127.0.0.1:6060/debug/pprof/goroutine?debug=1" > profile.txt
Or just follow the "http://127.0.0.1:6060/debug/pprof/goroutine?debug=1" URL with your web browser.
Note that profiles could only be accessed on the same host machine.
You can send the resulting profile to our devteam@adguard.com.
all-servers: yes
#fastest-addr: yes
Memory is fine after commenting out fastest-addr