I have found that my airtime installation has significantly decreased it's responsiveness. Browsing the library and adding new shows in the schedule has become a time consuming task, mostly because airtime takes too much "processing". Since 60-80% of my CPU is in Idle, and I have 3GB of RAM free, I see no reason why this is happening. Is there something that can be done to accelerate airtime? My music folder is 87.2GB, which is not that big (considering I have over 400GB of storage on my dedicated server).
I tried using the database dump you provided, however performance appears to be normal.
Please try the following from your server's command-line and post the output. It will print out how long the request to the Airtime login page took and may reveal some clues.
Here are the results from the commands you provided time curl -L http://localhost > /dev/null % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6308 100 6308 0 0 22143 0 --:--:-- --:--:-- --:--:-- 22143
Those outputs looks fine. I'm really unsure what's happening is there any other information you can provide? Is the speed poor consistently? How long does it take to load the lib page? On Mar 9, 2013 10:19 AM, "Aris Synodinos" <<br />airtime-support@lists.sourcefabric.org> wrote:
> Hi Martin, > > Here are the results from the commands you provided > time curl -L http://localhost > /dev/null > % Total % Received % Xferd Average Speed Time Time Time > Current > Dload Upload Total Spent Left > Speed > 0 0 0 0 0 0 0 0 --:--:-- --:--:-- > --:--:-- 0 > 100 6308 100 6308 0 0 22143 0 --:--:-- --:--:-- --:--:
The problem is not with apache, usually it takes too much to create a playlist and to search for files (database intensive tasks). The "Processing" ajax popup is what performs slowly.
Here are the results in the /Library
time curl -L http://radio.vinyl-radio.org/Library > /dev/null % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 6308 100 6308 0 0 3412 0 0:00:01 0:00:01 --:--:-- 3412
real 0m1.871s user 0m0.008s sys 0m0.016s
Also, I should note that http://localhost actually does not point to airtime (I just noticed), since the server is running both the website and airtime ( www.vinyl-radio.org and radio.vinyl-radio.org ). However the results look the same even when I do a time curl -L http://radio.vinyl-radio.org > /dev/null % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6308 100 6308 0 0 24544 0 --:--:-- --:--:-- --:--:-- 24544