Airtime 2.3 is idle for about a week now, but somehow I got the following email from provider:
"We have stopped your VPS container due to excessive CPU usage.
Details of the processes are as follows:
51648 526 airtime-liquids 101.11% CPU
150265 526 silan 105.54% CPU"
Worth mentioning that for 4months, everything was working fine with no hiccups. So this is a rare occasion. Still, I'm posting it in case someone else had similar issue or it's just me and a one time minor issue.
[{"id":3063,"fp":"\/home\/airtime\/music\/Ballads\/Only You\/15-Billy Paul Let Em In.mp3"}, {"id":2492,"fp":"\/home\/airtime\/music\/Ballads\/Only You\/10-Melanie Ruby Tuesday.mp3"}, {"id":2956,"fp":"\/home\/airtime\/music\/Ballads\/Only You\/13-The Three Degrees A Toast Of Love.mp3"}]
I opened my databas and set in table cc_files row silan_check to TRUE for these three files. Then the load and cpu usage went back to normal values.
Maybe your VPS service tier or provider itself isn't up to snuff? Be sure to try Liquidsoap 1.1.1 and one of the latest Airtime releases, too. Many major bugs have been squashed recently, especially in LS.
Now i've found the issue on my files. This files were encoded in mp3 VBR. silan couldn't find the correct duration. The duration on this files had a negative value like "-15.457683". i reencoded the files with Audacity as mp3 with CBR (Constant Bitrate). Now silan get right values from the files and everythings working fine now. :D
I have had a similar issue with silan and 2.3 - and I use VBR. Kind of solved it with Martin's help, (search on here) and I thought a fix was in 2.4 because of my issues I think they found a bug, but then I've noticed on 2.4 that silan sometimes goes back to 80-90% CPU at times?
Luckily that VPS host doesn't seem to complain about CPU like they did...
Silan is setting to caculate every 5 mins, usually it would be ok because all file will be marked as checked after several rounds. It will consume more cpu we it's complain some files are causing exception. Because those files are calculated again and again but never finished.
Currently the workaround is to mark those files in cc_files table as silan_check='t'. We have submit ticket to silan with the file samples.