Ask Your Question
0

Fedora 22 netstat -r takes long time to return

asked 2016-02-26 08:59:37 -0600

ranbo gravatar image

Since the latest dnf update on 2-23, the netstat -r takes several seconds to come back and the network is not responsive for awhile and the Ethernet connection pauses. Resetting the network works for a short period (10-15 seconds) and then starts again. Tried using both manual IP/DNS and dhcp, same issue. Asus M5A97 motherboard, Transcend 128Gb SSD onboard ethernet: enp2s0: flags=4163<up,broadcast,running,multicast> mtu 1500 inet 192.168.15.8 netmask 255.255.255.0 broadcast 192.168.15.255 inet6 fe80::ca60:ff:feda:d78c prefixlen 64 scopeid 0x20<link> ether c8:60:00:da:d7:8c txqueuelen 1000 (Ethernet) RX packets 227715 bytes 287589134 (274.2 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 152765 bytes 17891735 (17.0 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2016-02-26 11:31:10 -0600

Try 'netstat -nr' first and see if that's quicker; it should be. Using '-r' means netstat will try to do DNS lookups on entries in its tables so netstat is likely waiting for DNS timeouts for each lookup; using '-n' tells netstat to just respond with numeric IP addresses and skip DNS. The problem could be bad routing or it could be a bad DNS configuration -- can't really tell from the info provided. If 'netstat -nr' is quick, try to ping the DNS nameservers by IP address, and if that doesn't work then routing is a possible suspect.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2016-02-26 08:59:37 -0600

Seen: 51 times

Last updated: Feb 26 '16