Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Monitor Outgoing Traffic
PostPosted: Tue Apr 03, 2012 10:07 am 
Offline
Senior Member

Joined: Fri Feb 11, 2011 1:36 pm
Posts: 118
My outgoing traffic is about 8 times higher than the incoming traffic, first i thought this could be because of intense database querries, but than i question myself: if it is a database querry, shouldn´t the outgoing traffic be the same as the incoming one?
Is there a way to monitor the traffic, i mean, to know where the traffic is going, who is "calling" who and so on?
Thanks


Top
   
 Post subject:
PostPosted: Tue Apr 03, 2012 10:20 am 
Offline
Senior Newbie

Joined: Tue Dec 14, 2010 10:30 am
Posts: 16
I'm not sure what you mean about "database queries" in this context, but I doubt you are (or should be) exposing a DB to external users.

Either way, both web/DB-server are usually highly asymmetric in bandwidth consuption. Think about it, your request to this site is what, houndreds of bytes, and the reply is houndreds of thousands?

As for actually tracking down what causes the traffic. Try using something like "netstat" to see what has open connections.


Top
   
 Post subject:
PostPosted: Tue Apr 03, 2012 10:52 am 
Offline
Senior Member

Joined: Fri Feb 11, 2011 1:36 pm
Posts: 118
Thanks, i mean database querries is because my site uses it a lot, not the users.
Can i install netstat in my ubuntu server?


Top
   
 Post subject:
PostPosted: Tue Apr 03, 2012 11:24 am 
Offline
Senior Member

Joined: Fri Jan 20, 2012 11:19 am
Posts: 100
Quote:
My outgoing traffic is about 8 times higher than the incoming traffic


My outgoing traffic is 19 times higher than the incoming traffic. Hmmm, I wonder if it has anything to do with the fact that it is a server...

Quote:
if it is a database querry, shouldn´t the outgoing traffic be the same as the incoming one?


Let's try out your theory:

Quote:
SELECT * FROM abc


The result:

Quote:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas sagittis diam ut nisi vestibulum sed viverra enim suscipit. Vivamus in ipsum eget ligula volutpat vehicula. Quisque feugiat egestas dui eu bibendum. Suspendisse nibh felis, fringilla ac rutrum ac, sagittis at urna. Pellentesque mauris est, varius dignissim ullamcorper quis, tristique placerat libero. Nunc aliquet libero eget arcu dignissim sit amet porta dui viverra. Nulla consequat dictum sem euismod scelerisque. Etiam semper felis sit amet magna tincidunt at interdum justo accumsan. Nunc nec congue ligula. Ut et risus ipsum, vel lobortis tortor. Nam nibh nibh, scelerisque at gravida eget, facilisis sit amet sapien.

Fusce vitae justo massa. Morbi quis leo ante. Proin fermentum pharetra odio, non pulvinar neque viverra a. Sed ut iaculis magna. Donec ultrices neque eget enim scelerisque tempor. Curabitur sit amet tempor dolor. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Pellentesque non eros ligula, ut consectetur lectus. Nunc ullamcorper semper mauris quis sodales. Quisque et nisl sollicitudin lorem consequat pellentesque vitae sit amet neque. Ut in erat ut eros hendrerit dictum sit amet eu sapien. Nunc interdum viverra molestie. Donec tincidunt tellus et dolor porttitor id vestibulum nisl pretium. Vivamus quis augue turpis, id posuere lorem. Nunc sagittis tincidunt nunc non venenatis.

Curabitur facilisis dignissim pellentesque. Phasellus suscipit molestie porta. Nam neque velit, interdum in hendrerit ac, fermentum et mi. Etiam fermentum, turpis id consequat suscipit, ligula augue mollis libero, a vehicula augue elit a nisl. Proin sed sagittis ipsum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Aliquam eu velit aliquet urna gravida pulvinar non nec arcu. Phasellus at urna mi. Nunc id cursus erat. Etiam non lacus eu purus cursus suscipit in at tortor. In hac habitasse platea dictumst. Morbi nec elit augue


Nope, your theory clearly doesn't work...

Quote:
Can i install netstat in my ubuntu server?


Are you sure you're ready for a VPS?

_________________
If all else fails, reboot...
PHP Tutorials and MySQL Tutorials


Top
   
PostPosted: Tue Apr 03, 2012 12:44 pm 
Offline
Junior Member

Joined: Fri Jul 08, 2011 7:46 pm
Posts: 44
Website: http://ericsonwilkinson.me
Location: United States
I'm using munin to monitor traffic, cpu/mem usage, and a host of other stats. It's worth the time to pick a monitoring package, and get it setup properly.

grevan wrote:
My outgoing traffic is about 8 times higher than the incoming traffic, first i thought this could be because of intense database querries, but than i question myself: if it is a database querry, shouldn´t the outgoing traffic be the same as the incoming one?
Is there a way to monitor the traffic, i mean, to know where the traffic is going, who is "calling" who and so on?
Thanks


Top
   
 Post subject:
PostPosted: Wed Apr 04, 2012 11:33 pm 
Offline
Senior Member

Joined: Sat May 03, 2008 4:01 pm
Posts: 569
Website: http://www.mattnordhoff.com/
nehalem wrote:
Are you sure you're ready for a VPS?

Are you sure you're ready for interaction with other humans?

_________________
Matt Nordhoff (aka Peng on IRC)


Top
   
 Post subject:
PostPosted: Thu Apr 05, 2012 1:11 am 
Offline
Senior Member

Joined: Fri Jan 20, 2012 11:19 am
Posts: 100
mnordhoff wrote:
nehalem wrote:
Are you sure you're ready for a VPS?

Are you sure you're ready for interaction with other humans?


If you must know, the reason I asked the question is that IMO someone who seeks to maintain a VPS should at least be able to use Google to get simple information, such as what netstat is, rather than posting a question that is easily answered using a Google search in a forum.

Perhaps, you can qualify your statement now. If you can't I'll understand.

_________________
If all else fails, reboot...

PHP Tutorials and MySQL Tutorials


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


Who is online

Users browsing this forum: No registered users and 8 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