× Warning! This forum is in archival status. New contributions may not work.
Apache logs growing fast
  • Hi all

    It's the second post about this issue, the first one was deleted because my airtime installation has a configuration error, but now i would like to verify this similar problem. This is only a problem of mine or if it's a common problem?

    I was looking at my apache2 log's in /var/www/apache2, reading files regarding my airtime's subdomain... I noticed a lot of logs files! Those files are full of:

    [airtime_subdomain]:80 [server_ip] - - [03/Jul/2011:06:25:10 +0200] "GET /api/recorded-shows/format/json/api_key/[my_api_key] HTTP/1.0" 200 423 "-" "Python-urllib/1.17"
    


    Growing constantly... About 1 line each 6 seconds.

    When my configuration was wrong i got a 404 error response my apache, but now i got a 200 code (OK). I think that airtime open this usl every 6 seconds, apache answers "OK" and logs the request.

    Can someone conferm this? Someone having the same issue?

    We can solve this problem adding some apache directive to exclude server ip for logging and, eventually, re-enablig it for debugging.

    Thanks for support Smile
  • 3 Comments sorted by
  • Vote Up0Vote Down Paul BaranowskiPaul Baranowski
    Posts: 389Member, Administrator, Sourcefabric Team
    The show-recorder daemon doesnt use rabbitMQ yet, so it is polling the
    server every 5 seconds. In some future version this is going to change, but
    for now that is the correct behavior.


    Paul Baranowski
    CTO, Sourcefabric, http://sourcefabric.org

    +1 (416) 832-6436 (Cell)
    Skype: paulbaranowski
    720 Bathurst St. / Suite 203 / Toronto / ON / M5S 2R4 / Canada



    On Wed, Jul 6, 2011 at 8:46 AM, Andrea Giardini <
    airtime-support@lists.sourcefabric.org> wrote:

    > **
    > Hi all
    >
    > It's the second post about this issue, the first one was deleted because my
    > airtime installation has a configuration error, but now i would like to
    > verify this similar problem. This is only a problem of mine or if it's a
    > common problem?
    >
    > I was looking at my apache2 log's in /var/www/apache2, reading files
    > regarding my airtime's subdomain... I noticed a lot of logs files! Those
    > files are full of:
    >
    > [airtime_subdomain]:80 [server_ip] - - [03/Jul/2011:06:25:10 +0200] "GET /api/recorded-shows/format/json/api_key/[my_api_key] HTTP/1.0" 200 423 "-" "Python-urllib/1.17"
    >
    >
    >
    > Growing constantly... About 1 line each 6 seconds.
    >
    > When my configuration was wrong i got a 404 error response my apache, but
    > now i got a 200 code (OK). I think that airtime open this usl every 6
    > seconds, apache answers "OK" and logs the request.
    >
    > Can someone conferm this? Someone having the same issue?
    >
    > We can solve this problem adding some apache directive to exclude server ip
    > for logging and, eventually, re-enablig it for debugging.
    >
    > Thanks for support [image: Smile]
    >

  • I know that this is the correct behavior for airtime, but maybe it's a good idea to add some warning during the installation noticing the user about this... What do you think?

    I've got a lot of free space on my server but someone can run out of space ...
  • Vote Up0Vote Down Paul BaranowskiPaul Baranowski
    Posts: 389Member, Administrator, Sourcefabric Team
    Apache is supposed to rotate logs automatically, isnt it? I thought you set
    a limit for log size somewhere...


    Paul Baranowski
    CTO, Sourcefabric, http://sourcefabric.org

    +1 (416) 832-6436 (Cell)
    Skype: paulbaranowski
    720 Bathurst St. / Suite 203 / Toronto / ON / M5S 2R4 / Canada



    On Wed, Jul 6, 2011 at 12:39 PM, Andrea Giardini <
    airtime-support@lists.sourcefabric.org> wrote:

    > **
    > I know that this is the correct behavior for airtime, but maybe it's a
    > good idea to add some warning during the installation noticing the user
    > about this... What do you think?
    >
    > I've got a lot of free space on my server but someone can run out of space
    > ...
    >