Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Jul 26, 2012 8:23 pm 
Offline
Newbie

Joined: Thu Jul 26, 2012 8:07 pm
Posts: 3
My server is seeing regular spikes in traffic every 6 hours
Image.

This has been going on for some months now, regular as clockwork -

Image

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


Top
   
PostPosted: Fri Jul 27, 2012 3:40 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
I wouldn't exactly call that a spike, it looks a lot due to the scale on the graph but it's still very low. However to log it ntop is a nice tool it logs traffic in/out and where it's coming from/going to.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
PostPosted: Sat Jul 28, 2012 5:43 am 
Offline
Newbie

Joined: Thu Jul 26, 2012 8:07 pm
Posts: 3
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...


Top
   
PostPosted: Sat Jul 28, 2012 6:00 am 
Offline
Senior Member

Joined: Tue Feb 19, 2008 10:55 am
Posts: 164
it's not package updates, the spikes wouldn't be so uniform in height, i would look into it further.


Top
   
PostPosted: Sat Jul 28, 2012 6:52 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
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.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
PostPosted: Sat Jul 28, 2012 7:38 am 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
cwt99 wrote:
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.

_________________
Rgds
Stephen
(Linux user since kernel version 0.11)


Top
   
PostPosted: Sat Jul 28, 2012 10:44 pm 
Offline
Newbie

Joined: Thu Jul 26, 2012 8:07 pm
Posts: 3
obs wrote:
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 wrote:
it's not package updates, the spikes wouldn't be so uniform in height, i would look into it further.


sweh wrote:
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


Top
   
PostPosted: Sun Jul 29, 2012 11:17 am 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
It might be update-motd, it updates apt to show you the packages updated in the motd


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group