LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-09-2011, 01:06 AM   #1
linux_biao
LQ Newbie
 
Registered: Apr 2011
Posts: 22

Rep: Reputation: 0
please see it and give me some ideas about the eth0 traffic


server:centos
main service :web
it is only running web service with linux+nginx+php+mysql and the eth0 traffic is face to internet!Normal the eth0 traffic is less than 2M per,But In a time 7:55,this traffic rises 8M(outbound)! Please see the image as follow:
http://i1103.photobucket.com/albums/...o/b4b9c8f0.jpg

I want to find the reason!!How can i to check it ?

ps:I found the log such as :nginx's access and error,/var/log/message,cron.log but i can not check it out!
and in that time ,it is not used to bakup because the bakup process is in 6:00am with eth1!!

So I need your help ,give me some advise about it !thank you!!
 
Old 12-09-2011, 02:48 AM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Hi,

During the peak, issue:

Quote:
iotop
to see what process uses the in/out

Quote:
iftop
to see what process uses the card

check the crons, all of them

The outbound nature makes me worried, verrrrrry worried...

Good luck, I'll keep this thread on the scope!

Thor
 
Old 12-09-2011, 05:54 AM   #3
linux_biao
LQ Newbie
 
Registered: Apr 2011
Posts: 22

Original Poster
Rep: Reputation: 0
thank you for your reply!
But I don't know whether if it will be appear again!
So if i can't know check it out i will make a script to record the process everytime!
thank you !
Quote:
Originally Posted by Thor_2.0 View Post
Hi,

During the peak, issue:



to see what process uses the in/out



to see what process uses the card

check the crons, all of them

The outbound nature makes me worried, verrrrrry worried...

Good luck, I'll keep this thread on the scope!

Thor
 
Old 12-09-2011, 06:54 AM   #4
markseger
Member
 
Registered: Jul 2003
Posts: 244

Rep: Reputation: 26
first of all I see you're using rrdtool for plotting and I'm also guessing you're taking infrequent samples, so you lose on 2 counts! first of all, rrd 'normalizes your data so if you have more samples than will fit on the graph, they get combined and by whatever way you have things set up to do. second, are those 15 minutes buckets? think about it. an 8MB spike in 15 minutes could easily be 100MB spike for many seconds or even minutes. you can't tell!

if this is something you really care about resolving you need finer grain metrics, full stop! if your monitoring tool can't handle, either use sar or collectl - I prefer collectl . if you still want rrd graphics for even a coarse view, run both! tools like sar are and collectl and take almost no resources.

I also think the 'top' tools are only somewhat useful. they give you a quick look at what's going on right now, but no sense of looking at a longer term time line.

so many people sample at 5-10 minute intervals and happily think there system is doing just fine when in fact if there are spikes they'll never see them OR they'll be very small. for example, you might have short busts of 100% cpu, disk or network loads and never even know it. that's not to say short burts aren't necessarily a bad thing but if you have system errors corresponding to them they could be. w/o data you're just guessing...

-mark
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Please give ideas on what to use my spare linux server for... nomb Fedora 13 01-16-2007 06:52 AM
Anyone, give me some ideas (PHP) Alexander.s Programming 2 05-22-2005 03:55 AM
Give Me Your Ideas!!!! gsibble Linux - General 9 08-11-2003 12:29 PM
Please, give me some ideas for a new pc. aizkorri General 19 10-31-2002 03:25 PM
Need ideas to block traffic from advertisement servers LionKing Linux - Security 13 07-02-2001 10:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration