Hi,
Le 06/12/2025 à 21:18, Richard F a écrit :
Package: owhttpd
Version: 3.2p4+dfsg1-6
owhttpd seems to leak 8-10 megs a day when an http request is made every minute
to retrieve 1-wire data via http (json)
- a remote command such as http://<address>:9000/json/DHW (where DHW is an
alias for a 1-wire sensor)
This is on Debian Trixie on Raspberrypi, kernel 6.1.21+ #1642
Google's AI reports that a memory leak was fixed in upstream version 3.2p5 a
while ago, which may or may not be related?
The problem with AI is that the information seems correct but it is not
verified.
Here, to my knowledge (looking at [1]), 3.2p4 is the last upstream version. If
you know where to find a 3.2p5 version, please tell me.
"A significant fix was introduced via a pull request in August 2022, addressing a
leak that caused owhttpd to crash under concurrent request loads. The relevant pull
request on GitHub is titled #41 fix memory leak making owhttpd crash on concurrent
requests"
I was a bit confused until I understand that #41 the the issue number (the PR
is #102)
I will make a new version in Debian unstable with the provided patch. If you
can try it on your setup, tell me if it fixes the problem.
Regards
Vincent
[1] https://github.com/owfs/owfs/
[2] https://github.com/owfs/owfs/issues/41