Join the community today
Register Now

Strange Traffic Problem

Discussion in 'System Administration' started by upgrade81, Mar 10, 2019.

  1. upgrade81

    upgrade81 Member

    296
    17
    18
    Sep 5, 2016
    CH
    Ratings:
    +30
    Local Time:
    1:24 AM
    1.17
    10.3
    Hi everyone,
    it's been a few days since I've migrated a site to a new vm.
    With top2 or bmon I see constantly in use from 20 to 100mb/s of bandwitch.

    I have already used ngxtop but it does not show anything unusual.
    Can you tell me if there is a more granular tool?

    I can not individualize that files are doing so much traffic.
    :-(
    Thank you

     
  2. upgrade81

    upgrade81 Member

    296
    17
    18
    Sep 5, 2016
    CH
    Ratings:
    +30
    Local Time:
    1:24 AM
    1.17
    10.3
    Ok I solved, I have enabled the static file log in /usr/local/nginx/conf/staticfiles.conf
    Relaunched ngxtop
    and I saw it was a customer's mp4 video.

    Does anyone know a good hosting to host some videos?
     
  3. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:24 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Youtube ? Unfortunately, if you're hosting customer sites you would have to anticipate them uploading videos to your servers and spec your hosting accordingly.
     
  4. upgrade81

    upgrade81 Member

    296
    17
    18
    Sep 5, 2016
    CH
    Ratings:
    +30
    Local Time:
    1:24 AM
    1.17
    10.3
    it's just a friend's site.
    Unfortunately it is a video that serves to monetize in preroll, so no youtube or vimeo.
     
  5. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:24 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    how large is the video ? you can probably optimize it's size = smaller = less traffic/bandwidth used

    if it's a once off video you can highly optimise it's size i.e. Better web video with AV1 codec — Martian Chronicles, Evil Martians’ team blog

     
    Last edited: Mar 11, 2019