Network dropout approximately every 20 minutes

Issues related to configuring your network
Post Reply
yhjhoo
Posts: 2
Joined: 2019/01/15 23:49:16

Network dropout approximately every 20 minutes

Post by yhjhoo » 2019/01/16 00:02:55

I am using centos 7.x version

Code: Select all

Linux centos7app2 3.10.0-327.36.2.el7.x86_64 #1 SMP Mon Oct 10 23:08:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
This issue has being trouble me for a while, but couldn't figure out the solutions. I have configured a cron job ping and found out ping lost almost every 20 minutes.


Here is my cron job setting:
<CODE>
* * * * * /bin/ping -i 2 -c 30 172.16.43.129 >> /var/log/ping.log
59 23 1 * * rm /var/log/ping.log
</CODE>

172.16.43.129 is my default gateway IP, my local IP address is 172.16.43.132

Here I have attached my messages log and ping.log(used command to filter -- cat /var/log/ping.log | grep "packet loss")

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Network dropout approximately every 20 minutes

Post by TrevorH » 2019/01/16 00:57:04

You need to start by updating your system. That kernel is from more than 2 years ago and belongs to 7.2. The current point release is 7.6. Looking at rpm -q --changelog kernel-3.10.0-957.1.3.el7.x86_64 your current kernel is more than 56,000 lines down the list so there are quite a few bugs fixed there that you need to pick up on first. Run yum update the reboot into the new kernel and see if the issue persists.

If you still have problems then please post the output from lspci -nn | grep -i net so that we can see the exact model of network card that your machine contains. Also check in /var/log/messages for network related error messages that might point to the cause.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

yhjhoo
Posts: 2
Joined: 2019/01/15 23:49:16

Re: Network dropout approximately every 20 minutes

Post by yhjhoo » 2019/01/17 13:15:30

Thanks for the reply, we have two servers which are the exact the same model, Running on HA mode.

server 1 runs fine without issue, I tried to switch network cable to another network card but the issue still the same. The behaviour so weird that if I don't put the ping crontab, the network card stop working after some time(means can't ping from other network).

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Network dropout approximately every 20 minutes

Post by TrevorH » 2019/01/17 15:53:35

If you want help to fix it, please supply the requested information.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply