karlheyes / icecast-kh

KH branch of icecast
GNU General Public License v2.0
298 stars 107 forks source link

kh14 Crashes Without Warning #304

Open Swiftgti opened 4 years ago

Swiftgti commented 4 years ago

Latest version kh14 Crashes without warning in error.log (is in info mode) The crash happens after 5 or 6 days, we have 3 new similar servers and they eventually crash. The crash consist in that all icecast process are ended, and doesn't necessary occur with max peek of concurrent users.

Please could someone also tell which version of icecast-kh is the most stable? This is getting us crazy.

karlheyes commented 4 years ago

nothing to go on really except that whatever it is can takes 5 or 6 days, do you have a stack trace to work on? It's actually very rare that a crash occurs because of some xml based limit.

karl.

Swiftgti commented 4 years ago

Karl I heard of you. You are amazing ! I can post if you need the icecast.xml So if something is missing , we already double checked

Sorry for ask, What it a stack trace

We are running icecast kh in Ubuntu 16 with ssl enabled.

karlheyes commented 4 years ago

you can email the xml although it is unlikely to indicate a crash that happens after several days but it does indicate which elements of the server are being used. The stack trace (aka backtrace) is a key bit of info to indicate the point of crash although sometimes not the cause. To get the most useful info, you would build with 'make debug' which may be a problem if you don't have a development setup.

With application crashes a report can be produced but the specifics depends slightly between platforms, it could be a simple file dropped in the current directory but usually with a lot of distros it is fed into some archiving system which you can query. Ubunutu uses apport so look at https://wiki.ubuntu.com/DebuggingProgramCrash. You can simulate a crash if you want to verify the mechanism (without waiting several days) with

killall -SEGV icecast

karl.