Unix TCP Equivalent Settings in Windows 2000? 65
sameerdesai asks: "While working on a project that required client-server functionality I was running into processes that wouldn't finish and eventually hang. While running packet tracing, I found out the tcp_fin_wait_2_timeout setting on the server side (UNIX) was too low for the Windows client, and after increasing that value it worked great. I am trying to apply a similar technique for a Windows server and was wondering what the equivalent registry key is for UNIX's tcp_fin_wait_2_timeout setting? Also, is there a guide out there that compares TCP setting in UNIX with Windows?"
Registry? (Score:2)
Re:Registry? (Score:2)
They had TCP/IP handed to them on a plate by Berkeley, but still couldn't even get ping right.
Let's face it - windows is a mongrel of many parts, it just has a pretty face to show the world.
Re:Registry? (Score:1)
Reboot (Score:2, Funny)
Re:Today on Ask Google (Score:4, Funny)
Now, if I was doing on my Linux machine, that would work fine. But that wasn't what the guy's question was now, was it?
Re:Today on Ask Google (Score:1)
Re:Today on Ask Google (Score:1)
Danger Wil Robinson... (Score:5, Insightful)
I don't know what you are planning to do with this project, ie: sell it to the masses, make it open source, use it in house. Just keep this in mind.
Re:Danger Wil Robinson... (Score:5, Insightful)
Why bother tweaking registry values when you (Score:3, Funny)
Re:Danger Wil Robinson... (Score:3, Insightful)
Is it ideal? Certainly not. I'd never advocate changing window size on a whim (or even as a means of hiding system type
Re:Danger Wil Robinson... (Score:2)
These things are adjustable for a reason. Now they are not made easy to adjust (have to have some relativly arcane knowleduge to do so), but that's what a good sysadmin is for.
Re:Danger Wil Robinson... (Score:2)
It's not - and the principle is the same. Changing default settings is a PITA and any software requiring it "just because" had better have a _very_ compelling reason for doing so.
Re:Danger Wil Robinson... (Score:2)
I'm not familiar with sysctl. Can you explain why `sysctl -whatever` is "simple" and `reg query`, `reg add`, etc., in windows aren't? It seems like it would be equivalent.
Re:Danger Wil Robinson... (Score:2)
Big freaking deal. I'll just make the change without warning you in the setup program.
HAND.
Re:Danger Wil Robinson... (Score:2)
The registry key for windows (Score:5, Informative)
REG_DWORD
30
Setting this to anything below 30 decimal will just set it to 30 anyway though.
http://www.microsoft.com/windows2000/techinfo/r
Re:The registry key for windows (Score:5, Informative)
Looks like you forgot to mention one thing, and the slashed up URL made it slightly more difficult to discover.
There are about a hundred different entries contained in HKLM\System\CurrentControlSet\Services\Tcpip\Param eters. The REG_DWORD in question is the one labeled "TcpTimedWaitDelay". Accepted values are between 30 and 300 (seconds).
Did you look here? (Score:5, Informative)
User Friendly (Score:3, Informative)
On a slightly more usable scale, if I'm going to use
Re:User Friendly (Score:3, Informative)
REGEDIT [/v|-v] [/s|-s] <FILENAME>
[/s|-s]
When a filename is specified on the command line, this switch is used to suppress any informational dialog boxes that would normally be displayed. This is useful when the Setup program for an application wants to execute REGEDIT.EXE with a
Put what you need in the file you wish to import.
http://support.microsoft.com/default.aspx?scid=htt p://suppo [microsoft.com]
Re:User Friendly (Score:3, Informative)
Re:User Friendly (Score:2, Informative)
For example, if the final solution for the original question requires a reg hac
Re:User Friendly (Score:1)
It's just that most times apples-to-apples comparisons come up, it's in the desktop arena and we get the cry, "Gimp ain't no Photoshop!" or "It's not Word!" So here's an apples-to-apples comparison, and granted it's not really desktop, but it IS a user interface issue.
Re:User Friendly (Score:2)
Why is this "Informative"? This just isn't true. First, a GUID is a unique ID and has nothing to do with what's being discussed. Assuming parent meant GUI, it's still not true, as the standard windows commandline tools for manipulating the registry are quite decent.
Re:User Friendly (Score:1)
Oh, the GUID was a typo.
Re:User Friendly (Score:1)
Forgive me for not providing a more current KB article. It still works, none the less.
Re:User Friendly (Score:1)
However, the command switch
Judging by the list of command switches in Windows 3.1 [cornell.edu] and the current list of command switches in the "modern" regedit, I would say that the command switches used have not changed at all (regedit.exe has changed, however [microsoft.com]).
In any event, my original point, which I will reiterate here, with an example from the Microsoft KB (with respect to WINDOWS XP, Windows 2
Re:Solution (Score:2)
Ummm... I think my parents should be calling the cops if any of you are loafing around in their basement.
Fishy (Score:5, Insightful)
So, what is this application doing relying on a timeout value in this phase? It would be terrible to be dependent on a TCP implementation in an application!
unix to windows rosetta stone (Score:3, Informative)
this is conceptually similar to http://bhami.com/rosetta.html, but my table focuses on design choices, specifically performance and security tuning, not daily operations.
note: i couldn't find a value for windows TCP FIN timeout (fin-wait-[12]). The TcpTimedWaitDelay that somebody else suggested is for the TCP TIME_WAIT.
URL lives at nonstandard port 81 (Score:3, Informative)
The URL you just referenced lives at nonstandard port 81: Does the Google spider look for nonstandard ports?
Re:URL lives at nonstandard port 81 (Score:2)
Re:I don't get it (Score:2, Insightful)
Either you are a teenager who has never had a real IT job or you are an adult working in a field that has no relation to IT. I mean there is simply no way that someone who actually works in the real world on actual production servers would say something as stupid as "reformat and install linux."
Re:I don't get it (Score:5, Funny)
Convince IT management it's a good idea
Reduce Windows IT support headcount (make people redundant)
Hire Linux IT support/developers
Obtain budget for new hardware (I assume you didn't really mean that all the other apps on that server have to be ported from Visual Basic, so we're actually talking about a new server here)
Explain increased staff costs and new hardware to senior management
Explain free, "unsupported" software to senior management (or did you want funding for a Redhat support contract too?)
Convince senior management it's a good idea
Then either...
Install Linux
Port app to Linux
Test
or...
Update CV (called a resume in French)
Hit the job websites
Phew! Well, at least you didn't have to...
Change a single registry setting on an otherwise working system
I'm happy running Linux at home (actually I run BSD, but that's besides the point), but I'd need a damn good reason before I'd suggest "just installing Linux" in a Windows-only shop.
Re:I don't get it (Score:2)
Do you need senior management approval to wipe your ass too?
God the beaurocry?
Re:I don't get it (Score:2, Insightful)
Fair point. Although it isn't absolutely clear - the questioner had previously worked on a project with a Unix server component. They didn't say whether it was at the same company, or whether that company might have been working for two different clients.
My point was that there are many factors you need to take into account before deciding to switch platform, technical and o
That's actually kind of funny (Score:2)
fdisk... (Score:1)
Re: (Score:2)
Here's how to do it (Score:3, Informative)
2) Go to HKLM\SYSTEM\CurrentControlSet\ Services\TcpIp\Parameters and add the reg key TCPFinWait2Delay
3) Set the reg key value to the appropriate delay you want