LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 07-11-2009, 02:23 PM   #1
b00n
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Rep: Reputation: 0
Unhappy ifconfig reports millions of dropped RX packets


Hello,

I've got a problem on my linux (web) server it reports millions of dropped RX packets
e.g.:

eth0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:794033 errors:0 dropped:1649413175 overruns:0 frame:0
TX packets:1844998 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:50672248 (48.3 MiB) TX bytes:2740995502 (2.5 GiB)
Interrupt:50 Base address:0x8000


The uptime is 44 minutes and a couple of seconds later the output says:


eth0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:815926 errors:0 dropped:770327332 overruns:0 frame:0
TX packets:1874908 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:52075806 (49.6 MiB) TX bytes:2784506627 (2.5 GiB)
Interrupt:50 Base address:0x8000


So the dropped rx packets keep truncating frequently...
Now after a day the ping times go up to 3 seconds and only a reboot will help it...
Since Im rather new to all of this I have no idea whats goin on...
I thought it may be the httpd but stopping it doesnt change anything.


It would appear that this started with the updated kernel 2.6.18-128.1.16.el5...

Last edited by b00n; 07-11-2009 at 02:38 PM.
 
Old 07-11-2009, 02:45 PM   #2
frankbell
Senior Member
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian
Posts: 3,738

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
I just checked my webserver:

Code:
eth0      Link encap:Ethernet  HWaddr 00:11:11:a9:7d:8d  
          inet addr:[masked]  Bcast:[masked]  Mask:[masked]
          inet6 addr: fe80::211:11ff:fea9:7d8d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:392615 errors:0 dropped:0 overruns:0 frame:0
          TX packets:631561 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:116091537 (110.7 MiB)  TX bytes:385239874 (367.3 MiB

15:43:32 up 3 days,  4:38,  1 user,  load average: 0.14, 0.07, 0.01
A certain number of dropped packets and collisions is inherent in TCP/IP. The protocol is designed to deal with them, but the millions you report is certainly scewy.

Could you tell us some more about your computer's specs, your website (is it using a database like a blog or is it plain HTML), and your connection (I assume you are self-hosting).
 
Old 07-11-2009, 05:21 PM   #3
b00n
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Original Poster
Rep: Reputation: 0
22:16:25 up 3:47, 1 user, load average: 0.00, 0.00, 0.00

And now if I ping it I get
Minimum = 943ms, Maximum = 2403ms, Average = 1957ms


Its a dual core atom with 2gigs of ram running an apache + php + mysql on CentOS 5.3
It also has subversion and a trac integration in apache but thats not being used atm...

Code:
top - 22:19:52 up  3:51,  1 user,  load average: 0.14, 0.04, 0.01
Tasks: 122 total,   1 running, 121 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.2%us,  0.2%sy,  0.0%ni, 99.5%id,  0.2%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   2065732k total,  2004068k used,    61664k free,    18928k buffers
Swap:  2031608k total,        0k used,  2031608k free,  1794732k cached


             total       used       free     shared    buffers     cached
Mem:          2017       1957         59          0         18       1753
-/+ buffers/cache:        185       1831
Swap:         1983          0       1983

So everything is looking pretty fine from what I can tell...

Last edited by b00n; 07-11-2009 at 05:26 PM.
 
Old 07-11-2009, 05:59 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 169Reputation: 169
Fall back to the .14 kernel and see if the issue persists. It could be an issue with the .16 kernel or it could be a hardware issue (atom motherboards are known to have unusually high failure rate).
 
Old 07-11-2009, 06:34 PM   #5
b00n
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Okay so I did go back to 2.6.18-92.1.22.el5 and it's working fine again!
Thanks for your help!
 
Old 07-11-2009, 06:50 PM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 169Reputation: 169
Ok, so we know it is not a hardware issue. Now the question is when (kernel wise) did it pop up. Obviously someplace between -92.1.22 and -128.1.16(-128,-128.1.1, -128.1.6, -128.1.10, -128.1.14). As soon as you can figure that out you can file a bug report and hopefully get the issue addressed.
 
Old 07-12-2009, 07:07 AM   #7
b00n
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Actually 2.6.18-128.1.16.el5 is the kernel I got after 2.6.18-92.1.22.el5. Didn't have anything in between so I can't really tell...
 
Old 07-12-2009, 01:06 PM   #8
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 169Reputation: 169
All the other kernels are still in the repo.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dropped packets reported by ifconfig - implication? rylan76 Linux - Networking 5 12-31-2006 03:48 AM
Dropped packets Doolspin Linux - Software 1 10-22-2006 01:22 PM
too much dropped packets...Hi.. alaios Linux - Networking 2 02-10-2005 04:49 AM
select() and dropped packets MrHenky Linux - Networking 0 02-04-2005 09:15 AM
dropped packets... sohmc Linux - Software 3 05-29-2003 09:26 AM


All times are GMT -5. The time now is 06:15 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration