LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-10-2021, 06:01 AM   #1
Notsobigkev
LQ Newbie
 
Registered: Mar 2021
Posts: 22

Rep: Reputation: Disabled
client initial SYN packet intermittently ignored.....resulting in sloooowwwww website


Hi, I am running Ubuntu 21.04 (have nothing to compare to previous vers) with Apache2 and am trying to launch a web server. I find when I connect to the server it will intermittently not respond to the initial client's SYN packet. This can be seen on Tshark traces. I have searched various forums which now suggest that parameters in /etc/sysctl may need tweaking.(still no joy) All attempts to fix have failed.
Would anyone have any other ideas on areas to address to effect a fix ?? I can't believe this a generic problem on 21.04. I have discounted a problem with internet access, routers etc

Should I bite the bullet and load up Fedora or Centos. ??

Windows, as a matter of principle, is not an option.

Still investigating.......

Many thanks

Kev
 
Old 09-10-2021, 08:47 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,162

Rep: Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268
SYN packet has nothing to do with the web server. It is part of TCP/IP protocol. Assuming you have a server accepting connections, not responding to SYN means you are either out of some resource: memory, network buffers, max connections, etc., or you are blocking connections with firewall.

Check the apache access and error log. If it drops SYN, apache should not see it at all.

Try making a simple listener with netcat (nc) and see if it does the same thing.
 
5 members found this post helpful.
Old 09-10-2021, 02:56 PM   #3
Notsobigkev
LQ Newbie
 
Registered: Mar 2021
Posts: 22

Original Poster
Rep: Reputation: Disabled
smallpond....or ....the tcp handshake has EVERYTHING to do with a web conversation as it's TCP based. Thank you for your input. I found the prob with a couple of anomolous routes and it's now fixed. You need to reign in your misguided advice and try and help peeps, instead of being a ..... xxxx night night

Last edited by rtmistler; 09-12-2021 at 10:05 AM. Reason: Removed insults
 
Old 09-11-2021, 03:18 PM   #4
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,764

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
“a couple of anomolous routes” seems to me to be an example of “blocking connections”…
So smallpond did, in fact, point to the solution in addition to suggesting other possibilities.

Web servers are networking 7th layer things. The TCP conversation happens in the 3rd or 4th layer…I’m not sure which…I’m a 7th layer guy…

Glad the we were able to help. Please mark your thread solved.

Last edited by scasey; 09-11-2021 at 03:24 PM.
 
2 members found this post helpful.
Old 09-11-2021, 04:22 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,805

Rep: Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003
Quote:
Originally Posted by Notsobigkev View Post
smallpond....or ....the tcp handshake has EVERYTHING to do with a web conversation as it's TCP based. Thank you for your input. I found the prob with a couple of anomolous routes and it's now fixed. You need to reign in your misguided advice and try and help peeps, instead of being a ..... xxxx night night
So bad/incorrect routes aren't a network issue?? Good to know. And aren't the vast majority of network services TCP based?? Smallpond correctly said it was some sort of network issue; and it was.

Last edited by TB0ne; 09-12-2021 at 10:30 AM.
 
Old 09-12-2021, 08:01 AM   #6
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,162

Rep: Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268
I think it's good that there is no age requirement on LQ.
 
2 members found this post helpful.
Old 09-12-2021, 10:06 AM   #7
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,885
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
Notsobigkev,

Please refrain from personal attacks moving forward.
 
2 members found this post helpful.
  


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
Bad UDP length 736 > IP payload length; Len = 728 resulting in packet drop Anupama_ Linux - Software 5 04-19-2019 04:00 PM
TCP handshake fails, SYN/ACK ignored by system. xnomad Linux - Networking 1 09-28-2011 11:10 AM
[SOLVED] Installation failure - CD ejects during initial reboot resulting in "dumb" screen irishfury Ubuntu 3 02-26-2011 06:45 PM
How linux TCP handle (RST,SYN) at initial connection establishment syseeker Linux - Security 1 01-14-2005 04:20 PM
RH 7.3 and KDE running verrrrry sloooowwwww jrdioko Linux - Newbie 35 10-20-2002 11:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:28 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