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
0
votes
0 answers

Debian as TCP-Server for Serial Port redirecting

I want to start a tcp listener on debian. One client should be able to connect and should get inputs of serial port in the tcp connection. And when the client sends data through the tcp socket the data should be sent into the serial port. I found…
feedc0de
  • 269
  • 1
  • 2
  • 9
0
votes
1 answer

TCP Zero windows size and full windows size

The problem that we are facing is that some of the http connection have response time > 60s (about 5%). I discover that the problem should between the web server and loadbalancer. Here is my finding, we have tried two set of server: Setup A : only 1…
Chris
  • 53
  • 2
  • 9
0
votes
2 answers

Windows Server 2008, Stuck on TCP Handshake

The problem: My Windows 2008 Server cannot establish TCP connections with remote machines. Steps to reproduce: I have a service running on a Windows 2008 Server machine on port 40.000 with the ip 10.100.5.46. From another Linux machine i try using…
JesperGJensen
0
votes
2 answers

Distributed LAMP vs DB and Web Server same box

We have a very read heavy semantic web (RDF) application which is RHEL 5/Apache 2.2.3/Tomcat 6/Java 6 on one Server, and MySQL 5.1 on another. Apache and MySQL are backported Red Hat repo stuff, so please don't go on about how old the versions…
usedTobeaMember
  • 616
  • 15
  • 25
0
votes
1 answer

Linux tool to show connections/s?

Is there a tool/command to show connections per sec? I've tried a few iptraf and iftop but I can't see anything about connection rates.
hookenz
  • 14,472
  • 23
  • 88
  • 143
0
votes
1 answer

Show real TCP/IP addresses behind Nginx environment

When i execute the command netstat -atun | awk '{print $5}' | cut -d: -f1 | sed -e '/^$/d' |sort | uniq -c | sort -n I see high number of connection assigned to server ip I want to see the real ip address behind my server ip Here is my nginx…
user209827
  • 17
  • 3
0
votes
1 answer

Open file count keeps increasing forever

I'm experiencing issues with the number of files opened increasing over time. If I run my server for about few hours, it'll no more accept any connections. The limit was 1024. I've increased the limit to about 40,000 and still the number is going up…
AbdullahDiaa
  • 109
  • 2
0
votes
1 answer

What is the maximum number of characters in a service name?

In TCP/IP, a service name (like http or smtp) is an alias name for the port number. What is the maximum number of characters that can be used in a service name?
0
votes
1 answer

Linux unfriendly IIS/ASP.NET :-) : Quick download on windows but slow on linux

This particular web site (gops.tay.be) serves objects quick if I try to request the page using windows, but I get them very slow if trying using linux. There is no difference if I use browser or curl: Windows: C:\curl>curl…
user174704
  • 33
  • 1
  • 5
0
votes
0 answers

Tomcat fails to return syn requests to F5

I have an F5 LTM sitting in front of two tomcat servers which host 4 applications. When I initially create the pools and add the members to the LTM I can hit all applications. This is the weird part, after an undetermined amount of time the tomcat…
JonnyB
  • 1
0
votes
1 answer

rmem_max more than rmem_default

I just installed centos 6.3 freshly and noticed the following: [root@localhost user1]# cat /etc/redhat-release CentOS release 6.3 (Final) [root@localhost user1]# [root@localhost user1]# cat /proc/sys/net/core/rmem_max 131071 [root@localhost…
kumar
  • 433
  • 3
  • 10
  • 23
0
votes
3 answers

How many packets will it take to send particular data?

If I know the maximum packet size is 1500 bytes say for Ethernet frame v2 then for example I want to transfer 1 KB over the Internet which is roughly 1024 bytes. Will the packet be split into many packets upon sending it or will it be just one…
cpx
  • 101
  • 1
  • 4
0
votes
1 answer

Support of batch mode in tcpkill

I fire tcpkill with destination ip. Example tcpkill host 10.0.2.184 The problem I am facing is that, tcpkill doesn't come out after killing all tcp connection. After killing all tcp connection it waits infinitely and print following…
Vivek Goel
  • 193
  • 1
  • 1
  • 7
0
votes
2 answers

MySQL connection errors when client server bandwidth is exhausted

I have several servers with a lot of outgoing traffic using nginx. When the bandwidth is exhausted (1Gbit), I have problems connecting to my mysql server from those servers. The connect always fails with the following message: mysql conneciton…
The Shurrican
  • 2,240
  • 7
  • 39
  • 60
0
votes
1 answer

Routing between two PC

I have two computers connected by wire directly: PC-1 ============= PC-2 PC-1 configuration: IP Address: 192.168.1.1 netmask: 255.255.255.0 PC-2 configuration: IP Address: 192.168.1.2 netmask: 255.255.255.0 PC-1 and PC-2 run some applications…