On Mon, Apr 14, 2025 at 10:58:25PM +0100, Simon Kelley wrote:
> Instead of restarting dnsmasq, try deleting the log file and telling dnsmasq
> to open a new one.
> 
> 
> rm /var/log/dnsmasq.log
> killall -USR2 dnsmasq
> 
> 
> If that also causes the memory usage to fall, then you are being led astray
> by a the log file being memory mapped.

Which matches design choice "Used memory is wasted memory".


> If the memory usage doesn't fall, there might be a real memory leak.

Acknowledge on **there might be** a real memory leak.


Groeten
Geert Stappers
-- 
Silence is hard to parse

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to