#100: Liquidsoap dies after some hours running
-------------------------+--------------------------------------------------
  Reporter:  karye       |       Owner:  toots    
      Type:  Bugs        |      Status:  assigned 
  Priority:  1           |   Milestone:  0.3.7    
 Component:  Liquidsoap  |     Version:  0.3.6+svn
Resolution:              |    Keywords:           
       Mac:  0           |       Other:  0        
   Freebsd:  0           |       Linux:  1        
-------------------------+--------------------------------------------------
Comment (by karye):

 Replying to [comment:4 toots]:
 > Ok, so we need to dig more to find out the real issue...
 >
 > I don't understand why you don't get a reason for the shutdown.. It
 should either be an internal shutdown, and you'll get some logs, or
 something like a segfault, for which we should use gdb..
 >
 > So can you give more informations on the shutdown itself ?
 > I can explain how to get a gdb backtrace if you wish

 Yes, tell me how to run with gdb.

 Here's a follow up to the testing:
 1. I restarted one server with same playlist as before with the long
 playlist yesterday 21/02. Radio script died at 21:57 and basic script died
 at 22:12. The playlist is quite long and contains 942 rows.

 Log from radio script:
 {{{
 2008/02/21 08:22:31 >>> LOG START
 2008/02/21 08:22:31 [protocols.external:3] Didn't find "ufetch"
 2008/02/21 08:22:31 [protocols.external:3] Found "/usr/bin/wget"
 2008/02/21 08:22:31 [main:3] Liquidsoap 0.3.6+svn

 ...

 2008/02/21 21:54:43 [djlist4(dot)m3u:3] Finished with
 "/home/radioclave2/salsa/maria/AAAsenaste/Bamboleo feat. DJ Tony y DJ
 Nando - El bueno soy yo.mp3"
 2008/02/21 21:54:43 [format.mp3:4] close
 "/home/radioclave2/salsa/maria/AAAsenaste/Bamboleo feat. DJ Tony y DJ
 Nando - El bueno soy yo.mp3"
 2008/02/21 21:54:43 [djlist4(dot)m3u:4] queue length 2646000-=1323000
 2008/02/21 21:54:43 [decoder:4] Trying WAV decoder for
 "/home/radioclave2/salsa/maria/AAAsenaste/Los Van Van - Una mamita.mp3"
 2008/02/21 21:54:43 [format.mp3:4] open
 "/home/radioclave2/salsa/maria/AAAsenaste/Haydee - Siempre que te vas.mp3"
 2008/02/21 21:54:43 [djlist4(dot)m3u:3] Prepared
 "/home/radioclave2/salsa/maria/AAAsenaste/Haydee - Siempre que te vas.mp3"
 -- rid 5
 2008/02/21 21:54:43 [source:4] [EMAIL PROTECTED] gets down
 2008/02/21 21:54:43 [source:4] [EMAIL PROTECTED] gets down
 2008/02/21 21:54:43 [source:4] fade(dot)[EMAIL PROTECTED] gets down
 2008/02/21 21:54:43 [source:4] fade(dot)[EMAIL PROTECTED] gets down
 2008/02/21 21:54:43 [source:4] src_4434 gets down
 2008/02/21 21:54:43 [source:4] [EMAIL PROTECTED] gets up
 2008/02/21 21:54:43 [source:4] [EMAIL PROTECTED] gets up
 2008/02/21 21:54:43 [source:4] [EMAIL PROTECTED] gets up
 2008/02/21 21:54:43 [source:4] fade(dot)[EMAIL PROTECTED] gets up
 2008/02/21 21:54:43 [source:4] fade(dot)[EMAIL PROTECTED] gets up
 2008/02/21 21:54:43 [source:4] src_4447 gets up
 2008/02/21 21:54:43 [decoder:4] Trying VORBIS decoder for
 "/home/radioclave2/salsa/maria/AAAsenaste/Los Van Van - Una mamita.mp3"
 2008/02/21 21:54:43 [decoder:4] Trying MP3 decoder for
 "/home/radioclave2/salsa/maria/AAAsenaste/Los Van Van - Una mamita.mp3"
 2008/02/21 21:54:43 [format.mp3:4] open
 "/home/radioclave2/salsa/maria/AAAsenaste/Los Van Van - Una mamita.mp3"
 2008/02/21 21:54:43 [format.mp3:4] close
 "/home/radioclave2/salsa/maria/AAAsenaste/Los Van Van - Una mamita.mp3"
 2008/02/21 21:54:43 [djlist4(dot)m3u:4] queue length 1323000+=1323000 (rid
 7)
 2008/02/21 21:54:44 [root:2] We must catchup 4.58 seconds!
 2008/02/21 21:54:45 [root:2] We must catchup 3.81 seconds!
 2008/02/21 21:54:46 [source:4] [EMAIL PROTECTED] gets down
 2008/02/21 21:54:47 [EMAIL PROTECTED]:4] Got metadata at position 340:
 calling handler...
 2008/02/21 21:54:47 [root:2] We must catchup 4.14 seconds!
 2008/02/21 21:54:48 [root:2] We must catchup 3.60 seconds!
 2008/02/21 21:54:49 [root:2] We must catchup 3.08 seconds!
 2008/02/21 21:54:50 [root:2] We must catchup 3.11 seconds!
 2008/02/21 21:54:51 [root:2] We must catchup 3.32 seconds!
 2008/02/21 21:54:52 [root:2] We must catchup 3.57 seconds!
 2008/02/21 21:54:53 [root:2] We must catchup 3.81 seconds!
 2008/02/21 21:54:54 [root:2] We must catchup 3.29 seconds!
 2008/02/21 21:54:55 [root:2] We must catchup 2.77 seconds!
 2008/02/21 21:54:56 [root:2] We must catchup 2.65 seconds!
 2008/02/21 21:54:57 [root:2] We must catchup 2.59 seconds!
 2008/02/21 21:54:58 [root:2] We must catchup 2.60 seconds!
 2008/02/21 21:54:59 [root:2] We must catchup 2.58 seconds!
 2008/02/21 21:55:00 [root:2] We must catchup 1.40 seconds!
 2008/02/21 21:56:48 [root:2] We must catchup 0.17 seconds!
 2008/02/21 21:57:40 [root:2] We must catchup 2.64 seconds!
 }}}

 Log from basic script:
 {{{
 2008/02/20 07:55:00 >>> LOG START
 2008/02/20 07:54:59 [protocols.external:3] Didn't find "ufetch"
 2008/02/20 07:54:59 [protocols.external:3] Found "/usr/bin/wget"
 2008/02/20 07:54:59 [main:3] Liquidsoap 0.3.6+svn
 2008/02/20 07:55:00 [decoder:4] Trying WAV decoder for
 "/home/radioclave2/salsa/intro/intro.mp3"
 2008/02/20 07:55:00 [decoder:4] Trying VORBIS decoder for
 "/home/radioclave2/salsa/intro/intro.mp3"
 2008/02/20 07:55:00 [decoder:4] Trying MP3 decoder for
 "/home/radioclave2/salsa/intro/intro.mp3"
 2008/02/20 07:55:00 [format.mp3:4] open
 "/home/radioclave2/salsa/intro/intro.mp3"
 2008/02/20 07:55:00 [format.mp3:4] close
 "/home/radioclave2/salsa/intro/intro.mp3"
 2008/02/20 07:55:00 [single:3] "/home/radioclave2/salsa/intro/intro.mp3"
 is static, resolving once for all...
 2008/02/20 07:55:00 [threads:3] Created thread "event queue 1" (1 total)

 ...

 2008/02/21 22:15:23 [format.mp3:4] open
 "/home/radioclave2/salsa/maria/AAAsenaste/Bamboleo feat. DJ Tony y DJ
 Nando - El bueno soy yo.mp3"
 2008/02/21 22:15:23 [djlist4(dot)m3u:3] Prepared
 "/home/radioclave2/salsa/maria/AAAsenaste/Bamboleo feat. DJ Tony y DJ
 Nando - El bueno soy yo.mp3" -- rid 4
 2008/02/21 22:15:23 [decoder:4] Trying VORBIS decoder for
 "/home/radioclave2/salsa/maria/AAAsenaste/Telmary y Pio Leyva - Merengue y
 pil\243n.mp3"
 2008/02/21 22:15:23 [decoder:4] Trying MP3 decoder for
 "/home/radioclave2/salsa/maria/AAAsenaste/Telmary y Pio Leyva - Merengue y
 pil\243n.mp3"
 2008/02/21 22:15:23 [format.mp3:4] open
 "/home/radioclave2/salsa/maria/AAAsenaste/Telmary y Pio Leyva - Merengue y
 pil\243n.mp3"
 2008/02/21 22:15:23 [format.mp3:4] close
 "/home/radioclave2/salsa/maria/AAAsenaste/Telmary y Pio Leyva - Merengue y
 pil\243n.mp3"
 2008/02/21 22:15:23 [djlist4(dot)m3u:4] queue length 1323000+=1323000 (rid
 6)
 2008/02/21 22:19:34 [djlist4(dot)m3u:3] Finished with
 "/home/radioclave2/salsa/maria/AAAsenaste/Bamboleo feat. DJ Tony y DJ
 Nando - El bueno soy yo.mp3"
 2008/02/21 22:19:34 [format.mp3:4] close
 "/home/radioclave2/salsa/maria/AAAsenaste/Bamboleo feat. DJ Tony y DJ
 Nando - El bueno soy yo.mp3"
 2008/02/21 22:19:34 [djlist4(dot)m3u:4] queue length 2646000-=1323000
 2008/02/21 22:19:34 [decoder:4] Trying WAV decoder for
 "/home/radioclave2/salsa/maria/AAAsenaste/Los Van Van - Una mamita.mp3"
 2008/02/21 22:19:34 [format.mp3:4] open
 "/home/radioclave2/salsa/maria/AAAsenaste/Haydee - Siempre que te vas.mp3"
 2008/02/21 22:19:34 [djlist4(dot)m3u:3] Prepared
 "/home/radioclave2/salsa/maria/AAAsenaste/Haydee - Siempre que te vas.mp3"
 -- rid 5
 2008/02/21 22:19:34 [decoder:4] Trying VORBIS decoder for
 "/home/radioclave2/salsa/maria/AAAsenaste/Los Van Van - Una mamita.mp3"
 2008/02/21 22:19:34 [decoder:4] Trying MP3 decoder for
 "/home/radioclave2/salsa/maria/AAAsenaste/Los Van Van - Una mamita.mp3"
 2008/02/21 22:19:34 [format.mp3:4] open
 "/home/radioclave2/salsa/maria/AAAsenaste/Los Van Van - Una mamita.mp3"
 2008/02/21 22:19:34 [format.mp3:4] close
 "/home/radioclave2/salsa/maria/AAAsenaste/Los Van Van - Una mamita.mp3"
 2008/02/21 22:19:34 [djlist4(dot)m3u:4] queue length 1323000+=1323000 (rid
 7)
 }}}

 2. Better results from the other server. Both scripts are still up since
 11:09 21/02. However the playlist is only 17 rows long.

-- 
Ticket URL: <http://savonet.rastageeks.org/ticket/100#comment:5>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !

Répondre à