LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 10-27-2011, 02:50 AM   #1
aamerjavaid
Member
 
Registered: Dec 2005
Posts: 53

Rep: Reputation: 15
ifconfig output explain


Hi All,
I am from the db team, and we are having some performance issues with application, we suspect it might be related with TCP or network stack,

Can someone please explain me the following output of ifconfig, and what needs to be done to rectify this.

Code:
[root@db ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 3C:4A:92:74:9B:A8
          inet addr:165.1.1.111  Bcast:165.1.255.255  Mask:255.255.0.0
          inet6 addr: fe80::cbf8:92ff:fe74:9ba8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:144306942 errors:6163 dropped:0 overruns:0 frame:6163
          TX packets:199746835 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:58554097 (55.8 MiB)  TX bytes:2955776115 (2.7 GiB)
          Interrupt:169 Memory:f4000000-f4012100

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:567858396 errors:0 dropped:0 overruns:0 frame:0
          TX packets:567858396 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:950555498 (906.5 MiB)  TX bytes:950555498 (906.5 MiB)
Thanks,
Amir

Last edited by aamerjavaid; 10-27-2011 at 02:52 AM.
 
Old 10-27-2011, 03:12 AM   #2
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 193Reputation: 193
What specifically do you want explained?

What do you think needs rectifying?
 
Old 10-27-2011, 04:02 AM   #3
aamerjavaid
Member
 
Registered: Dec 2005
Posts: 53

Original Poster
Rep: Reputation: 15
Hi fukawi1,

Thanks for update, Actually we are having some Oracle waits like "Sql*net message from client/Sql*net message to client", so it looks like it might be related with TCP or network stack, which might be working poorly or misconfigured, so that Oracle has to wait for these events.

Please take a look at errors/txqueuelen/packets/Interrupt/etc, do you think it is working fine, or whether we can/should adjust MTU so that oracle don't have to wait for such events.

Thanks,
Amir
 
Old 10-27-2011, 09:29 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Is your database traffic across the Internet? The IP address for eth0 is a public address. The class-B network is owned by the Associated Press.

I think the frames: field indicates invalid received frames. You may need to examine traffic with a tool such as wireshark to examine what traffic is corrupt, and where it is coming from. I doubt changing the MTU would help, unless a router is breaking up frames to smaller units, and parts of them are being lost.

Last edited by jschiwal; 10-27-2011 at 09:51 PM.
 
Old 10-28-2011, 05:03 AM   #5
aamerjavaid
Member
 
Registered: Dec 2005
Posts: 53

Original Poster
Rep: Reputation: 15
Hi jschiwal,

Database traffic is local but is internet based using erp system (given below), I have to change IPs before posting. Ok. i will check wireshark and try to check router.

Quote:
[root@erp ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:1C:66:07:E6:3F
inet addr:165.1.1.112 Bcast:168.1.1.255 Mask:255.255.0.0
inet6 addr: 2002:a801:2c2:b:21a:64ff:fe07:f63e/64 Scope:Global
inet6 addr: fec0::b:21a:64ff:fe07:f63e/64 Scope:Site
inet6 addr: fe80::21a:64ff:fe07:f63e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:757219446 errors:6163 dropped:0 overruns:0 frame:6163
TX packets:777261279 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:872940292 (832.5 MiB) TX bytes:1348395248 (1.2 GiB)
Interrupt:169 Memory:ce000000-ce012100

eth1 Link encap:Ethernet HWaddr 00:1C:66:07:E6:3F
inet addr:202.125.140.143 Bcast:202.125.140.191 Mask:255.255.255.192
inet6 addr: 2002:a801:2f2:b:21c:64aa:fc07:b640/46 Scope:Global
inet6 addr: fab0:a801:b:21c:64aa:fc07:b640/46 Scope:Site
inet6 addr: fe80::21f:64af:ce07:f640/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:218543099 errors:6163 dropped:0 overruns:0 frame:6163
TX packets:80643708 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:779268078 (743.1 MiB) TX bytes:1221807321 (1.1 GiB)
Interrupt:209 Memory:ca000000-ca012100

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:110087333 errors:0 dropped:0 overruns:0 frame:0
TX packets:110087333 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1524480538 (1.4 GiB) TX bytes:1524480538 (1.4 GiB)
[root@erp ~]#
Thanks,
Amir
 
Old 10-28-2011, 08:12 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
It may be a problem with a client as well. If the traffic is local, you shouldn't be seeing the RX errors. I'm assuming you have switches and not hubs.

I just mentioned routers, because on an internet connection, you go through a lot of them, and you asked about MTU. You need to diagnose where the problem is, and not make hit and miss changes.
 
  


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
Can any one please explain this output? ishandutta2007 Programming 4 06-23-2010 01:16 AM
Explain the output(pointers) ishandutta2007 Programming 2 01-28-2010 08:25 AM
Please explain ifconfig and dhcpcd?? okos Linux - Software 5 05-27-2008 07:00 AM
explain the output suchi_s Programming 9 11-08-2004 09:07 AM
explain the output c pragti Programming 10 05-28-2004 12:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:39 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