Forum Moderators: open

Message Too Old, No Replies

Running a production server on win xp/2000

Did you know the limitations?

         

Herath

2:46 pm on Jul 27, 2004 (gmt 0)

10+ Year Member



We learned this the hard way. So thought of sharing with the webmasterworld.

It's surprising how many websites out there run on Windows XP Pro or Windows 2000 (Netcraft statistics)

All non-server versions of windows have a crippled TCP/IP stack. Basically it limits the number of simultaneous connections to 10. This could be a serious bottleneck specially if you have keep alive enabled on your web server.

Example scenario:
5 visitors are in your site. IE's default settings will open 2 socket connections to your webserver. At that point you have maxed the number of available simultaneous connections in your OS (Windows XP/2000)
The 11th connection will be dropped.

This limitation is hard coded into XP and can not be changed. There are ways to increase this number to 40 connections on windows 2000, but it's not recommended and will violate your license agreement with Microsoft.

So. if you are running your website on Windows XP or Windows 2000 and don't want to loose sales due to dropped connections, switch to another OS (i.e. Linux) or get a server edition of windows.

Dulith.

Warren

3:20 am on Jul 28, 2004 (gmt 0)

10+ Year Member



This is outlined in the EULA (End User License Agreement), which does actually define how you can use the software.

Always a good idea to read this document when you are purchasing software, to find out what you can and can not do with the version that you are purchasing. Most people fail to do this and you can get caught out.

The "10 connections" was to allow file sharing and the like for smaller offices and workgroup type setups.

bcc1234

4:04 am on Jul 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Are you sure that's tcp/ip stack and not smb networking limitation?

Herath

2:28 pm on Jul 28, 2004 (gmt 0)

10+ Year Member



It is not only a smb networking limitation. It applies to any socket that opens a connection. We were trying to run Sun Java Systems Webserver on Win XP Pro, and Sun Microsystems confirmed this and asked us to move to a Windows Server edition ASAP to get around this tcp/ip stack limitation.

bcc1234

1:29 am on Aug 4, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Wow. I was going to upgrade my desktop to WinXP Pro, but now I guess I won't.

txbakers

3:20 am on Aug 4, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You shouldn't be hosting a professional website on a desktop edition of an OS anyway.

If you're concerned about the cost of the server OS license, you should probably host elsewhere.