LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Netstat issues 'warning, got duplicate tcp line' (http://www.linuxquestions.org/questions/linux-networking-3/netstat-issues-warning-got-duplicate-tcp-line-362298/)

English_Man 09-11-2005 06:11 AM

Netstat issues 'warning, got duplicate tcp line'
 
Hi there. I run a BitTorrent tracker, it runs on FC3 and has an average of 150,000+ peers. This is not a problem the server is running fine.

The tracker runs on many ports, but these ports are not being used by any other applications.

When doing a netstat all I get is hundreds of 'warning, got duplicate tcp line' lines.

I have googled this and it appears to be a RH/FC issue only. Is there a fix for this or anything?

Any help appreciated,

E_Man

Half_Elf 09-11-2005 09:59 AM

Strange... is it possible there is a bug in this particuliar version of netstat? Have you tried to update net-tools, maybe?

English_Man 09-11-2005 11:28 AM

[english_man@NOA001 ~]$ netstat --version
net-tools 1.60
netstat 1.42 (2001-04-15)

Everything is up-to-date acording to yum.

E_Man

Half_Elf 09-11-2005 11:48 PM

The same version as I have, but I doN't have much trafic (at leat not 10 000+ connections) I can't judge :(

insanewhiz 08-06-2008 06:47 AM

Fix.
 
Edit the following file to fix this problem
Add or modify text as follows:

# vi /etc/sysctl.conf

net.ipv4.tcp_tw_reuse = 0
net.ipv4.tcp_tw_recycle = 0

# sysctl -p

The above command will help the new settings to take effect.

michelle02012007 04-13-2009 04:07 AM

Quote:

Originally Posted by insanewhiz (Post 3238509)
Edit the following file to fix this problem
Add or modify text as follows:

# vi /etc/sysctl.conf

net.ipv4.tcp_tw_reuse = 0
net.ipv4.tcp_tw_recycle = 0

# sysctl -p

The above command will help the new settings to take effect.

I don't know if the one who ask solved this issue? i tried this but nothing happen. Do i need to reboot the machine or is there a way that i don't have to reboot. :)

TY


All times are GMT -5. The time now is 07:18 AM.