Questions tagged [connection]

A connection generally refers to a TCP/IP connection, that is established as the result of the handshake between 2 hosts.

A connection generally refers to a TCP/IP connection, that is established as the result of the handshake between 2 hosts. But can also refer to the establishment of end to end connectivity of the underlying link layer, or a database connection, or some other data-orientated communication that proceeds after an initial negotiation phase.

757 questions
6
votes
1 answer

Redis connection issue

We are currently experiencing a lot of Redis errors with the message Unable to connect: read error on connection, trying next server We run Redis on FreeBSD using PHP Redis and we have a hard time reproducing the error on Ubuntu so this might be a…
mre
  • 311
  • 2
  • 7
6
votes
7 answers

How can I find the total number of TCP connections for a given port and period of time by IP?

On a Linux system there are plenty of methods for listing the current TCP connections for a given port by connecting IP but: how can I count the total number of connections to a port per source IP for period of time?
Dave Forgac
  • 3,546
  • 7
  • 37
  • 48
6
votes
2 answers

Why would a client send a RST packet as reply to a SYN,ACK?

I have a HTTP webservice where sometimes the connection setup fails in a strange way: client sends a SYN packet server sends a SYN,ACK reply client responds with RST In which situations could a client system decide to reply with RST packet? I…
oliver
  • 405
  • 1
  • 7
  • 18
6
votes
1 answer

PPTP connection fails with errors 800/806

I've got a client (Server 2008 R2) that won't connect to our production environment PPTP VPN server (Server 2003, running RRAS). The server is behind a firewall that has TCP1723 open as well as GRE. Other clients at our office are able to connect…
Mark S. Rasmussen
  • 2,138
  • 2
  • 21
  • 31
6
votes
1 answer

Is it possible to see active connections in nginx?

Is it possible to see what URLs are actively being served by nginx (i.e., see the URLs that are in the middle of being responded to, not the ones that nginx has finished responding to). I would like to see these because I am using the nginx push…
bantic
  • 1,519
  • 3
  • 14
  • 17
6
votes
1 answer

Can't connect to MySql server on remote server

Connecting to: CentOS v?? with MySql 4.?? in Nashville (example public ip=11.11.11.11) Stack: Cable modem as gateway > router with forwarding > CentOs Box Connecting from: Windows 2003 R2 in Dallas (example public ip=22.22.22.22) I'm trying to…
Byron Sommardahl
  • 225
  • 2
  • 5
  • 11
5
votes
1 answer

When using nmcli, what is considered a device, an interface and a connection? What's the difference?

What are dependencies and relations between device, interface and connection in nmcli cmdline utility under linux? The below questions are asked in context of nmcli and networking in linux: Which can be only in 1:1 relation and which can be in…
bastiat
  • 197
  • 1
  • 8
5
votes
1 answer

Odd TCP termination sequence

While troubleshooting another thing, I've noticed an odd pattern of TCP closes. Packets: http://www.cloudshark.org/captures/7590ec4e6bef What's happening is that the last few packets of the close sequence are getting retransmitted for some odd…
Blue Warrior NFB
  • 621
  • 6
  • 17
5
votes
1 answer

Unix socket connection limit

This may appear like an already discussed/answered question. But I am specifically looking for info which I couldn't find anywhere answered clearly. I have an Nginx + php-fpm setup which uses unix sockets to talk Nginx to backend php-fpm fastcgi…
meharo
  • 59
  • 1
  • 2
5
votes
3 answers

Network packet size on sql server connection string to improve throughput

We have a dataload job that moves a relatively large amount of data across the network between two sql servers. the servers are on the same subnet and there is only a switch between them. the data consists of several large varchar fields plus an xml…
Jason Horner
  • 612
  • 2
  • 6
  • 13
5
votes
1 answer

nginx connection reset

When first visiting my site after not visiting it for a few minutes, the connection is "reset" 100% of the time. I get this message when debug is turned on, along with a 400 bad request status message: client prematurely closed connection while…
Steve
  • 51
  • 1
  • 1
  • 3
5
votes
2 answers

Effects of internet connection speeds on server queries

Can my internet connection significantly effect queries run on phpmyadmin? I am currently 18 down and 30 up. I switched internet connections today and noticed a deep drop in query performance. The query that I am running is SELECT * FROM table.…
SephMerah
  • 159
  • 1
  • 2
  • 8
5
votes
4 answers

How to wire 20 computers and 20 phones and 1 server into LAN?

I have currently 3 switches Two Netgear JFS524 with 24 slots, One Belkin with 16 slots. Server DSL Internet Router. Main question is how to connect switches together, two Netgear's are next to each other, yet one is about 100 feet away and holds…
John Smith
  • 175
  • 1
  • 4
5
votes
4 answers

Fast, reliable data transfers from/to China

We are a small company and we will need to transfer rather large amounts of data (10GB+ each time) between Europe and China in the near future. As many may have experienced, Internet connections to or from China can be rather unreliable and slow at…
nils
  • 161
  • 3
5
votes
1 answer

IPtables rate-limit, What are the differences between modules? Recent, Limit

I am doing some rate-limiting with IPtables, and i'm not sure if I should use "Recent" or "Limit" What are the differences between the two? If they both achieve the same result, which one has better performance? I would like to know, regardless…
J. M. Becker
  • 2,471
  • 1
  • 17
  • 21
1 2
3
50 51