hi Aleksandr!

i can say that back in a v1 days they used different compling techniques and provided only 32bit binaries for windows, which although had various bugs (that were fixed eventually in later versions), they never leaked memory.

cutting long files at random places shortly after 'take off' is very familiar to me - always had problems with 7+ hours mp3 files of previous broadcast recordings. anyway, this leak is not only the leak - it eventually hangs the process as well.. sometimes after eating 16GB of ram though :)

i'm trying to keep this radio lossless, so most of material is in flacs and wavs and only what's unavailable that way, is in mp3 or ogg. same for broadcast - there is lossless ogg flac and then lossy variants for various browsers.

i used to think that flac might be a culprit but now i see that it's not... although at some point i remember Romain building stripped down version of ls without flac and it didn't leak... or perhaps it was because of limited usability...

regards,
P

-----Original Message----- From: Aleksandar
Date: 2021 m. kovo 1 d. 23:31
To: savonet-users@lists.sourceforge.net
Subject: Re: [Savonet-users] Liquidsoap 1.4.4 is out!


I've been dealing with mem leaks when i started setting up the streams, i used video and audio stream, video streaming through gstreamer onto nginx rtmp, and audio streaming to icecast, a few things has caused mem leaks in my case and it was quite the pain in discovering it.

When using the same playlist for fallback, i believe this is causing mem leaks because, when there's the error "broken" file is the same file in the playlist as it's loading same playlist on fallback.

skip_blank has been messing around with mem leaks and files also, this was specific for video streams, sometimes out of no reason, it cuts videos at the same specific time every time.

And lastly try using only OGG file format. I found out that only OGG file formats don't increase mem size and have the stream running stable for weeks now. This is the case for both video and audio stream, but for video is much more noticeable than audio. Audio stream can take days before significantly increase mem usage, while video take a day.




_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to