Post traffic

Discussion in 'Installation/Configuration' started by Davide, Oct 12, 2010.

  1. Davide

    Davide Member

    Hi

    I have a client who is downloading a remote webpage every 20 seconds from its main page, using php's cURL.
    Although remote webpage weights only 11 KiB, they are reloading it about 30-40k times a day, and that's a lot of traffic.

    Problem is that this traffic is not accounted in ISPConfig, I can only see a 5 bytes POST entry for each remote page reload, but nothing about remote page wheigh.

    Is it possible to account this traffic?

    Thank you.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Do you see that page in the access.log each time it is reloaded?
     
  3. Davide

    Davide Member

    Yes, one entry for every reload, but only as a 5 byte POST:

    www.example.com||||5||||1.2.3.4 - - [13/Oct/2010:02:06:15 +0200] "POST /script_cURL.php HTTP/1.1" 200 5 "http://www.example.com/" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; msn OptimizedIE8;ESES)"
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Is this script somehow getting cached?
     
  5. Davide

    Davide Member

    No AFAIK.

    Every client accesing this page is automatically calling this script every 20 seconds.

    In this script, they are downloading via cURL a remote page, parsing its code, and updating its page with new data.

    I could paste the code if you want
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Yes, maybe that helps in understanding what is happening.
     
  7. Davide

    Davide Member

  8. Davide

    Davide Member

    Any new on this?
     
  9. falko

    falko Super Moderator Howtoforge Staff

    I have no idea... :(
     

Share This Page