Spikes in traffic every 6 hours - how do I log them?
~~![](<URL url=)http://i.imgur.com/twMiY.png
This has been going on for some months now, regular as clockwork -
~~![](<URL url=)http://i.imgur.com/vkESm.png
I'm trying to find out what it is, but there is nothing in the website logs (apache).
It's not a cron job (not one of mine anyway)
How can I log this network traffic?
Thanks
William~~~~
7 Replies
@cwt99:
Thanks. Couldn't get much detail from ntop, but added some logging in the iptables and found a whole bunch of traffic from a couple of canonical servers. Obviously some ubuntu updates or something happening every 6 hours…
It's probably doing the equivalent of "apt-get update" to refresh the repo data.
@obs:
Do you have cron apt installed that would check the repos for updates and if some are available and it downloaded them that would explain the peaks.
@chesty:
it's not package updates, the spikes wouldn't be so uniform in height, i would look into it further.
@sweh:
It's probably doing the equivalent of "apt-get update" to refresh the repo data.
Thanks for the pointers. Yes, the traffic is coming from 91.189.91.28 and 91.189.92.181 which are the ubuntu repos. And the files in /var/lib/apt/lists were updated at around the same time as the traffic (actually a few minutes earlier)
There is a cron.daily job for apt, but haven't figured out why it would be happening every 6 hours. I haven't set any periodic options in /etc/apt/apt.conf.d