Speed up airtime
  • 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).
  • 6 Comments sorted by
  • Hi Aris,

    Thanks for the report. We will look into this.
    Airtime Pro Hosting: http://airtime.pro
  • Hi Aris,

    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.

    time curl -L http://localhost > /dev/null

    Also, if you run "top" from the server's command line, do you see any processes using a large amount of CPU%?



    Airtime Pro Hosting: http://airtime.pro
  • 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 --:--:-- --:--:-- --:--:-- 22143

    real    0m0.330s
    user    0m0.016s
    sys    0m0.008s

    Top gives:
    20-25% @ airtime-liquidsoap
    1-2% @ apache
    1-2% @ monit
  • 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 --:--:-- --:--:-- --:--:
    Airtime Pro Hosting: http://airtime.pro
  • 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

    real    0m0.294s
    user    0m0.012s
    sys    0m0.012s
  • Seconded... Safari and Firefox both seem to get all gummed up on my Intel i5 Mac doing various things.