mediamtx icon indicating copy to clipboard operation
mediamtx copied to clipboard

/dev/shm is getting filled up with mediamtx binaries

Open azsde opened this issue 6 months ago • 1 comments

Which version are you using?

1.12.3

Which operating system are you using?

Linux arm64 standard

Describe how to replicate the issue

I have a systemd service that starts mediamtx on my raspberry zero, I have overheating issues which are forcing me to have a monitoring script that shut down mediamtx everytime the temperature is too high and restart it when the temperature is down to a certain level.

However, stoping and starting the service repeatedly causes /dev/shm/ to get filled up by mediamtx binaries.

Server logs

No response

Network dump

No response

azsde avatar Jun 10 '25 06:06 azsde

Currently the /dev/shm path is used to store the mtxpicam binary. This should be cleaned up if closed gracefully, so double check your script isn't killing the application with a SIGKILL

dan-nicholls avatar Jun 11 '25 04:06 dan-nicholls

this is fixed by #4845

aler9 avatar Aug 11 '25 13:08 aler9