Link to home
Create AccountLog in
Windows Server 2003

Windows Server 2003

--

Questions

--

Followers

Top Experts

Avatar of Gonzalo Becerra
Gonzalo Becerra🇦🇷

Netstat LAST_ACK Problem
I have a server running on windows, and it opens a TCP socket and listens for connections. When clients disconnect, the connection is remains open until timeout.

I need known how to close this until connections because i can't restart this server.

i attach the details of:  netstat -aon
LAST-ACK.TXT

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of rsivanandanrsivanandan🇮🇳

Is the IP being delivered to this server by DHCP ?

Typically how long does it take to close the connections from LAST_ACK state?

Cheers,
rsivanandan

SOLUTION
Avatar of jfer0x01jfer0x01🇺🇸

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of Gonzalo BecerraGonzalo Becerra🇦🇷

ASKER

The ip is not with DHCP.

And i don`t known how many time to close i don`t see the connection closed, the number of LAST_ACK is incremental only.

Avatar of jfer0x01jfer0x01🇺🇸

???

Are you using IIS?

have you tried my recommendation?

I issue seems to be, he server is not closing sessions in an orderly time

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of rsivanandanrsivanandan🇮🇳

What kind of server is this? You need to provide more information on what is it serving?

The issue what you're seeing is a TCP stack problem at the root, but it has to be known on the application as well. LAST_ACK means, after the connection is closed, the last acknowledge has not been reached the server and is the reason why you see it that way. A lot of things could cause that (for instance, if you're using load balancer, some times this might happen since the load balancer closes the connection quickly).

Cheers,
rsivanandan

Avatar of Gonzalo BecerraGonzalo Becerra🇦🇷

ASKER

jfer0x01:
Yes i tried that, because the sessions i see never died, the number is only incremental. The session timeout is 20 minutes.


rsivanandan:
I upload the images with the server info, this server have teaming with one IP, and run  one application with IIS to run CGI and Authentication and back have tomcat with application. I talk with provider but he said the problem is with the users no have logoff and close the explorer, but i see the number os sessions never decrase.

Now have 215 LAST_ACK.
Network.JPG
SystemProperties.JPG

Avatar of rsivanandanrsivanandan🇮🇳

I don't buy your service providers explanation. Have you tried this locally?

I mean, connect to it from within your local LAN, watch the TCP connection on the server.

Then close the explorer and see how long it takes to close it out.

There isn't going to be a ready made and cooked solution for this, if we want to resolve this then we need to first find what is going on here.

Cheers,
rsivanandan

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of Gonzalo BecerraGonzalo Becerra🇦🇷

ASKER

rsivanandan:

I make a capture with WireShark but i don't see nothing out of normal. Today the problem ocurr 2 peoples in the same moment. In different vlans and different floors.

Avatar of Gonzalo BecerraGonzalo Becerra🇦🇷

ASKER

jfer0x01:

I think your recommendation is only for asp. But this case is for a CGI.

Thanks

SOLUTION
Avatar of rsivanandanrsivanandan🇮🇳

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.

Avatar of Gonzalo BecerraGonzalo Becerra🇦🇷

ASKER

I validate the solutions with Sector Of networking. but we had no response yet

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of jfer0x01jfer0x01🇺🇸

ASP?

The solution if for IIS web server, not a ASP setup.

As rsivanandan mentioned, your issue is linked to sockets not closing in an orderly manner

Jfer


Avatar of Gonzalo BecerraGonzalo Becerra🇦🇷

ASKER

rsivanandan:

We test the solution with parameter in Registry but we have't good result. The problem still persist


jfer0x01:

What happend with the others users using application?.


Avatar of rsivanandanrsivanandan🇮🇳

Can you elaborate on the results you got?

Cheers,
rsivanandan

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of jfer0x01jfer0x01🇺🇸

In IIS?

Their sessions will close in more orderly time.

Thats all

Jfer

Avatar of Gonzalo BecerraGonzalo Becerra🇦🇷

ASKER

But i only need close the sessions with legend "LAST_ACK"

Avatar of Gonzalo BecerraGonzalo Becerra🇦🇷

ASKER

I discovered that this is a consequence of the problem, but in reality would be:

I have an application that has a CGI called him up IIS pdmweb.exe it connects with another process called webengine.exe and this is connected to the main process domsrvr.exe. Currently it is losing the connection between the CGI and webengine.exe, we try to throw a sniffer but not pass through a plate we see no network traffic. There any way to internally monitor the communication between 2 processes?.

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of Gonzalo BecerraGonzalo Becerra🇦🇷

ASKER

I found with provider differents versions of software and we follow case to solve this problema, i put the solutions when we test.

Avatar of jfer0x01jfer0x01🇺🇸

Excellent,

please keep us informed

Jfer

Avatar of Gonzalo BecerraGonzalo Becerra🇦🇷

ASKER

Now we have plain to migrate next version of software. I add the coments when finish this.

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of Gonzalo BecerraGonzalo Becerra🇦🇷

ASKER

This week we work to upgrade the version, but we have problemas and we rollback the upgrade.

Avatar of jfer0x01jfer0x01🇺🇸

Any further advancements?

Seems the code does not closed the session handlers after use.

Jfer

Avatar of Gonzalo BecerraGonzalo Becerra🇦🇷

ASKER

Yeah, we detect the problem is because we have different versions of software QA and Production. The provider recommend make a fresh install this software, this friday we start this machines.

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


ASKER CERTIFIED SOLUTION
Avatar of Gonzalo BecerraGonzalo Becerra🇦🇷

ASKER

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Windows Server 2003

Windows Server 2003

--

Questions

--

Followers

Top Experts

Windows Server 2003 was based on Windows XP and was released in four editions: Web, Standard, Enterprise and Datacenter. It also had derivative versions for clusters, storage and Microsoft’s Small Business Server. Important upgrades included integrating Internet Information Services (IIS), improvements to Active Directory (AD) and Group Policy (GP), and the migration to Automated System Recovery (ASR).