eastham / adsb_actions

A package for taking actions based on live or recorded ADS-B data.
BSD 2-Clause "Simplified" License
2 stars 0 forks source link

Icecast2 is hanging #26

Open harpermann opened 1 month ago

harpermann commented 1 month ago

If I run icecast2 overnight, it doesn't stream in the morning even though the processes are running and there are no errors in syslogs. Streaming clients connect but no sound is heard. Restarting icecast2 sometimes fixes it but often need a reboot. We could reboot on the Playa but that drops all the streams and users would need to reconnect.

Sometimes icecast runs all day without fail so not sure what's wrong here.

Do some more testing and see if it's the queue size or whatever. The opensource icecast is used by a lot of folks so we expect it to run continously.

eastham commented 1 month ago

Almost sounds like the codec is crashing... is this on rpi 4 or 5? (rpi 5 software support is still lacking in some areas...)

On Tue, Jul 16, 2024 at 12:27 PM Harper Mann @.***> wrote:

If I run icecast2 overnight, it doesn't stream in the morning even though the processes are running and there are no errors in syslogs. Streaming clients connect but no sound is heard. Restarting icecast2 sometimes fixes it but often need a reboot. We could reboot on the Playa but that drops all the streams and users would need to reconnect.

Sometimes icecast runs all day without fail so not sure what's wrong here.

Do some more testing and see if it's the queue size or whatever. The opensource icecast is used by a lot of folks so we expect it to run continously.

— Reply to this email directly, view it on GitHub https://github.com/eastham/adsb_actions/issues/26, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAC4UPCRVTYEWIEGL2HAMVDZMVX3VAVCNFSM6AAAAABK7G2XF6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGQYTCOBZGY3TANI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

harpermann commented 1 month ago

Ahh, that's a good thought. I'll try a 4 since this is a 5. Any idea how to tell if the codec crashed? Log or something? I'm using -acodec libmp3lame which is alternately said to be unsupported and yet recommended. Could try another but mp4 was what I could get working.

Harper Mann 510-599-2075 mobile

On Tue, Jul 16, 2024 at 12:32 PM Paul Eastham @.***> wrote:

Almost sounds like the codec is crashing... is this on rpi 4 or 5? (rpi 5 software support is still lacking in some areas...)

On Tue, Jul 16, 2024 at 12:27 PM Harper Mann @.***> wrote:

If I run icecast2 overnight, it doesn't stream in the morning even though the processes are running and there are no errors in syslogs. Streaming clients connect but no sound is heard. Restarting icecast2 sometimes fixes it but often need a reboot. We could reboot on the Playa but that drops all the streams and users would need to reconnect.

Sometimes icecast runs all day without fail so not sure what's wrong here.

Do some more testing and see if it's the queue size or whatever. The opensource icecast is used by a lot of folks so we expect it to run continously.

— Reply to this email directly, view it on GitHub https://github.com/eastham/adsb_actions/issues/26, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAC4UPCRVTYEWIEGL2HAMVDZMVX3VAVCNFSM6AAAAABK7G2XF6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGQYTCOBZGY3TANI>

. You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/eastham/adsb_actions/issues/26#issuecomment-2231689040, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATOAZCDIDZLYB4V6NDJCPLZMVYOPAVCNFSM6AAAAABK7G2XF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZRGY4DSMBUGA . You are receiving this because you were assigned.Message ID: @.***>

eastham commented 1 month ago

Unfortunately I am not at all an expert on this...it might spew a syslog. It is definitely possible for codecs (in other operating systems) to get totally wedged in hardware and you will have absolutely no feedback.

harpermann commented 1 month ago

Agree there! And I suspect hardware as there aren't software changes unless it's some timeout or queue. These tools take a while to fully grok but that's expected, at least with my pea brain.