Jophnal wrote: 
> Hello Team.
> 
> Just subscribed to this forum and have had difficulty in verifying my
> ID. Anyway:
> 
> Lastest Squeezelite-X 2.6.21 has exhibited a problem (where no problems
> before).
> 
> Playing local network content from LMS 7.9.2 on Readynas (Debian) files
> will play for a random period (3 minutes, 20 seconds before the end) and
> then playback will pause. I note one thread on my Ryzen 1700x then
> shoots to 100% CPU usage for 10-20seconds, then magically goes back to
> 1% and playback finishes.
> 
> It is random - does it 3 tracks in a row, then none for a track or 2,
> then 5 in a row etc.
> 
> Doesn't do this with Spotty/Spotify streaming, just local MP3 content.
> 
> What can I do to assist in tracking down the cause of this issue?
> 
> Thanks.

Hi all, no response from previous post so I'll try again.

Done some debug loggin (all) and identified the following:
Around 1 minute into a song Squeezelite eats 1 whole thread on my 16
thread Ryzen 1700X 100%. It continues to use 100% for around 1-2 minutes
as which point the music stops/pauses.

Debug log shows:

[16:07:39.094] process:521 strm
[16:07:39.094] process_strm:274 strm command q
[16:07:39.094] decode_flush:237 decode flush
[16:07:39.094] output_flush:435 flush output buffer
[16:07:39.094] sendSTAT:189 STAT: STMf
[16:07:39.386] process:521 audg
[16:07:39.386] process_audg:433 audg gainL: 3840 gainR: 3840 adjust: 1
[16:07:39.386] set_volume:111 setting internal gain left: 3840 right:
3840
[16:07:39.389] process:521 strm
[16:07:39.389] process_strm:274 strm command s
[16:07:39.389] process_strm:344 strm s autostart: 1 transition period:
10 transition type: 0 codec: m
[16:07:39.389] sendSTAT:189 STAT: STMf
[16:07:39.389] codec_open:265 codec open: 'm'
[16:07:39.389] _tcp_connect:486 connecting to 192.168.1.103:9000
[16:07:39.399] stream_sock:577 header: GET
/stream.mp3?player=b4:2e:99:1f:6e:7d HTTP/1.0




[16:07:39.399] sendSTAT:189 STAT: STMc
[16:07:39.399] process_strm:377 set fade mode: 0
[16:07:39.399] process:521 audg
[16:07:39.399] process_audg:433 audg gainL: 3840 gainR: 3840 adjust: 1
[16:07:39.399] set_volume:111 setting internal gain left: 3840 right:
3840
[16:07:39.499] stream_thread:247 headers: len: 116
HTTP/1.1 200 OK

Server: Logitech Media Server (7.9.2 - 1578996832)

Connection: close

Content-Type: audio/mpeg




[16:07:39.500] sendRESP:220 RESP
[16:07:39.601] mad_decode:244 setting track_start
[16:07:39.601] mad_decode:273 gapless: skipping 529 frames at start
[16:07:39.601] mad_decode:232 mad_frame_decode error: lost
synchronization
[16:07:39.601] mad_decode:232 mad_frame_decode error: reserved sample
frequency value
[16:07:39.601] mad_decode:232 mad_frame_decode error: lost
synchronization
[16:07:39.602] mad_decode:232 mad_frame_decode error: bad
main_data_begin pointer
[16:07:39.615] _output_frames:64 start buffer frames: 107759
[16:07:39.615] _output_frames:149 track start sample rate: 44100
replay_gain: 0
[16:07:39.615] pa_callback:525 pad with silence
[16:07:39.615] sendSTAT:189 STAT: STMs
[16:07:39.615] sendSTAT:189 STAT: STMt
[16:07:39.912] stream_thread:320 end of stream
[16:07:39.912] sendDSCO:208 DSCO: 0
[16:07:39.978] process:521 strm
[16:07:39.978] process_strm:274 strm command t
[16:07:39.978] sendSTAT:189 STAT: STMt
[16:07:40.979] sendSTAT:189 STAT: STMt
[16:07:42.980] sendSTAT:189 STAT: STMt
[16:07:43.979] process:521 strm
[16:07:43.979] process_strm:274 strm command t
[16:07:43.979] sendSTAT:189 STAT: STMt
[16:07:44.979] sendSTAT:189 STAT: STMt
[16:07:46.979] sendSTAT:189 STAT: STMt
[16:07:47.850] process:521 audg
[16:07:47.850] process_audg:433 audg gainL: 0 gainR: 0 adjust: 1
[16:07:47.850] set_volume:111 setting internal gain left: 0 right: 0
[16:07:47.850] process:521 strm
[16:07:47.850] process_strm:274 strm command p
[16:07:47.850] sendSTAT:189 STAT: STMp


------------------------------------------------------------------------
Jophnal's Profile: http://forums.slimdevices.com/member.php?userid=70261
View this thread: http://forums.slimdevices.com/showthread.php?t=108550

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to