Questions tagged [tcp]

TCP stands for Transmission Control Protocol and is one of the core protocols of the Internet Protocol Suite. TCP complements the Internet Protocol (IP), and therefore the entire suite is commonly referred to as TCP/IP.

TCP is just one communications protocol on the web. Others include:

  • User Datagram Protocol (UDP)
  • Internet Control Message Protocol (ICMP)
  • Hypertext Transfer Protocol (HTTP)
  • Post Office Protocol (POP3)
  • File Transfer Protocol (FTP)
  • Internet Message Access Protocol (IMAP)

TCP on Wikipedia

1636 questions
8
votes
2 answers

Fixing window scaling problems with Linux TCP

I'm trying to improve the throughput of one of my servers overseas and after monitoring a transfer between the server and my home computer with wireshark I'm pretty sure I have a problem with the window size. For an ftp transfer I get a receive…
incognito2
  • 935
  • 4
  • 13
  • 17
8
votes
3 answers

What does tcp_orphan_retries set to 0 mean?

Does setting tcp_orphan_retries to 0 mean there is no limit to retries, or does it mean that it won't retry at all?
benjarrell
  • 188
  • 1
  • 8
8
votes
4 answers

How do I check how many HTTP connections are open currently?

I want to know how many people are connected to my server. Since I'm doing comet applications, this is important
Alex
  • 8,471
  • 26
  • 75
  • 99
8
votes
2 answers

How to change port on simplehttpserver in linux?

How to change port from 8000 on simplehttpserver in linux?
user468506
  • 89
  • 1
  • 1
  • 2
8
votes
3 answers

query TCP buffer sizes for a socket on linux

Is there any way to lookup the send/receive buffer sizes for TCP sockets? I've poked around with both netstat and ss, as well as the raw /proc/net/tcp. Lots of goodies there, including the counts of bytes in flight, timers, process name, etc. But…
Curtis Doty
  • 496
  • 1
  • 5
  • 6
8
votes
2 answers

Load Balancing long running TCP connections

I'm trying to research the best way to load balance long running TCP connections for the following scenario: We have multiple servers behind a redundant set of firewalls and clients establish long running (usually 10-15 hours) TCP connections to our…
TJF
  • 391
  • 1
  • 6
  • 15
8
votes
3 answers

Can I make TCP/IP session to run less than 60 seconds?

Our server is overloaded with TCP/IP sessions, we have 1200 - 1500 of them. Most of them are hanging in TIME_OUT state. It turns out that a connection in TIME_OUT state occupies a socket until 60 second time-out is elapsed. The problem is that the…
par
  • 1,263
  • 3
  • 12
  • 15
8
votes
1 answer

How to increase maximum connection backlog limit in windows 2008 server

I have a Windows 2008 Server. Its maximum connection backlog limit (TCP) is 200. Is there any way to increase this limit to a higher value – say 1000 or 2000? In this article you will find description of parameters to change in the registry under…
Sumit Deo
7
votes
2 answers

error:14004438:SSL routines:CONNECT_CR_SRVR_HELLO:tlsv1 alert internal error

I have tried searching for this, and I have found things that are close, but I have not found anything that helps so far. I apologize in advance if this is already asked. I have a service which is behind an HTTP VIP, and that is working fine. Now I…
ashipma
  • 171
  • 1
  • 1
  • 3
7
votes
2 answers

TCP congestion control for IPv6 under Linux

I can type echo bbr > /proc/sys/net/ipv4/tcp_congestion_control to change the congestion control algorithm for the TCP connections running over IPv4, but how do I do it for those arriving over IPv6? Does the above command set it for both?
pQd
  • 29,981
  • 6
  • 66
  • 109
7
votes
1 answer

How does load balancer manage TCP connections

I have questions about handling TCP connections by load balancer. I have three servers behind my load balancer, and sometimes due to some processing tasks it happens that no data is being sent between servers and clients, after 5 minutes of being…
whd
  • 73
  • 1
  • 1
  • 7
7
votes
1 answer

why linux reuse 'time_wait' port?

As I know, tcp port in 'time_wait' stat cann't be used. However, in my experiment, server reuses the 'time_wait' port? Why? Firstly, in client machine, type command ehco 40000 40001 > /proc/sys/net/ipv4/ip_local_port_range. So, the maximum number of…
Pengcheng
  • 73
  • 1
  • 4
7
votes
2 answers

Why isn't net.ipv4.tcp_rfc1337 enabled by default?

The tcp_rfc1337 setting seems to have a solution for TIME-WAIT Assassination. The first problem is that old duplicate data may be accepted erroneously in new connections, leading to the sent data becoming corrupt. The second problem is that…
Nuno
  • 553
  • 2
  • 8
  • 26
7
votes
4 answers

Do clients typically implement failover/load-balancing on multiple A records?

Typically, load balancers like Amazon's Elastic Load Balancers use a DNS record set with multiple A records to provide multiple load balancer instances which can handle traffic to requesting endpoints: $ dig +short…
Naftuli Kay
  • 1,708
  • 6
  • 24
  • 44
7
votes
2 answers

TCP timeout for established connections in Windows

I have the following situation: Application (Firebird DB client) on a client computer opens a TCP connection to server on port 3050 Application crash on client, application terminated netstat on the server still shows TCP-connection ESTABLISHED on…
Alois Heimer
  • 251
  • 1
  • 3
  • 8