LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-13-2021, 12:39 PM   #1
Maswood
LQ Newbie
 
Registered: Mar 2008
Posts: 1

Rep: Reputation: 0
Question 3 out of 10 TCP burst connections get stuck in SYN_SENT.


I am trying to run a web proxy in Debian Buster. But while testing performance I saw only 7 or 8 parallel connections got established at a time, to narrow down the issue is not with my web proxy; i ran IPERF on the debian and from another linux client i ran iperf -c <debian buster IP> -P 10; the test do not run successfully.

If i change -P from 10 to 7, things are fine.

On the Debian Buster Side, I see connections stuck in SYN_SENT state with UNREPLIED status.

From netstat, I see,
<x> times the listen queue of a socket overflowed
<y> SYNs to LISTEN sockets dropped
where x and y are Equal.

Tried changing the TCP Backlog, SYN Backlog and disabled timestamp etc, nothing helped.

Any suggestions ?
 
Old 04-14-2021, 02:43 PM   #2
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by Maswood View Post
I am trying to run a web proxy in Debian Buster. But while testing performance I saw only 7 or 8 parallel connections got established at a time, to narrow down the issue is not with my web proxy; i ran IPERF on the debian and from another linux client i ran iperf -c <debian buster IP> -P 10; the test do not run successfully.

If i change -P from 10 to 7, things are fine.

On the Debian Buster Side, I see connections stuck in SYN_SENT state with UNREPLIED status.

From netstat, I see,
<x> times the listen queue of a socket overflowed
<y> SYNs to LISTEN sockets dropped
where x and y are Equal.

Tried changing the TCP Backlog, SYN Backlog and disabled timestamp etc, nothing helped.

Any suggestions ?
Either the web server is configured to only allow 7 connections, or your proxy server is set that way.
Check with the web site (or test it while bypassing the proxy) to see how many simultaneous clients it allows. Then check the proxy config for the same. If the web server is not in your control you may need to work with their admin to figure this out.

Last edited by computersavvy; 04-14-2021 at 02:44 PM.
 
Old 04-14-2021, 03:00 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,987

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
If reply #2 isn't it then maybe some restriction or limit on some program either by design or because of load maybe?? Wonder if top will show any issue on it or other system monitor?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to read SYN_SENT and SYN_ACK times in a TCP connection? santhosh82 Programming 3 09-06-2011 04:54 AM
NAT Forwarding Issue (SYN_SENT) mboudro Linux - Networking 2 07-02-2010 10:58 AM
All connections drop after short burst? Gateway notebook mx3225 Mr_Fixit Linux - Wireless Networking 3 09-01-2008 04:25 PM
lots of outbound SYN_SENT from apache mercyop Linux - Networking 10 01-17-2006 08:30 AM
port 86 blocked on SYN_SENT Barx Slackware 6 07-12-2005 08:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration