Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Networking Forum > Networking Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Networking Support General Networking Support Forum

Reply
 
LinkBack Thread Tools
Old 08-08-2008, 09:20 AM   #1 (permalink)
Registered User
 
Join Date: Aug 2008
Posts: 143
OS: Windows XP SP3


Send a message via AIM to rlaserra
TCP/IP Connections

I am running a windows XP Pro machine with Apache server. I've tweaked the system to allow 40 max connections. This is strictly a webserver that is used to host pictures so a thread opens for each specific picture, downloads it and goes to TIME_WAIT and I need to know how to tweak the registry or apache, to kill the TIME_WAIT because once it gets to 40 then the webserver halts.

Please I really would not like to hear by windows 2003 server because I do not have the money for that and I am sure there is a way! Thanks
rlaserra is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 08-08-2008, 11:33 AM   #2 (permalink)
Registered User
 
Join Date: Jun 2008
Posts: 180
OS: win xp, vista, linux


Re: TCP/IP Connections

I Dont think that TIME_WAIT is causing your server to Halt. All it Should do is after a session reaches the default time, start default close of that connection.When your system reaches it maximum open sessions, it will force the oldest session closed. PHP scripts have been known to cause this kind of behavier.
Read here http://httpd.apache.org/docs/1.3/misc/perf-tuning.html might help you.
NeilF is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-08-2008, 02:18 PM   #3 (permalink)
Registered User
 
Join Date: Aug 2008
Posts: 143
OS: Windows XP SP3


Send a message via AIM to rlaserra
Re: TCP/IP Connections

Yes what i am looking for is how to change the default settings so it closes the connections quicker....
rlaserra is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-10-2008, 03:39 AM   #4 (permalink)
Registered User
 
Join Date: Jun 2008
Posts: 180
OS: win xp, vista, linux


Re: TCP/IP Connections

TIME_WAIT is controlled by the windows registry,
System Key: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
Value Name: TcpTimedWaitDelay
Data Type: REG_DWORD (DWORD Value)
Value Data: 30-300 seconds (decimal)
This small programm might help you http://www.lvllord.de/download.php?u...tch223d-en.zip
NeilF is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-11-2008, 07:01 AM   #5 (permalink)
Registered User
 
Join Date: Aug 2008
Posts: 143
OS: Windows XP SP3


Send a message via AIM to rlaserra
Re: TCP/IP Connections

ive already used and ran that program. I also turned off windows update so that it would not get over written. I have 50 max connections allowed. I dident have the value data of TcpTimedWaitDelay in decimal value I had it binary. So i changed it, lets see how this works out. I cant go any lower then 30 seconds?
rlaserra is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-11-2008, 07:21 AM   #6 (permalink)
Registered User
 
Join Date: Aug 2008
Posts: 143
OS: Windows XP SP3


Send a message via AIM to rlaserra
Re: TCP/IP Connections

30 does not seem to do it. Do you think I've hit a barrier that there is nothign I can to improve the performance of xp pro. A suggestion that I got was to install SP1 and do not make any update, there is not any limits with that version. Then you run into problems with SP1. I need to make it kill the connections almost immediatly after finishing transmitting the data. Any more suggestions would be wonderful! but thanks for your help neilf!
rlaserra is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-11-2008, 12:07 PM   #7 (permalink)
Registered User
 
Join Date: Jun 2008
Posts: 180
OS: win xp, vista, linux


Re: TCP/IP Connections

try changing KeepAlive from on to off. Try raising the max clients (both are towards top of httpd.conf )
NeilF is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-11-2008, 03:24 PM   #8 (permalink)
Registered User
 
Join Date: Aug 2008
Posts: 143
OS: Windows XP SP3


Send a message via AIM to rlaserra
Re: TCP/IP Connections

ok i will play thanks for the help. I will post my results hopefully with sucess. If you come up with anything else let me know.
rlaserra is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-11-2008, 10:32 PM   #9 (permalink)
Enthusiast
 
lazareth1's Avatar
 
Join Date: Jan 2005
Location: Hong Kong, previously Fife in Bonnie Scotland
Posts: 1,294
OS: Vista SP1, Ultimate

My System

Re: TCP/IP Connections

Just one thing, why don't you have at least SP2 for XP? If your hosting a website then you definetly need it up to date against security loopholes. No buts.
__________________
lazareth1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-12-2008, 06:27 AM   #10 (permalink)
Manager, Networking Forums
 
johnwill's Avatar
 
Join Date: Sep 2002
Location: S.E. Pennsylvania, US
Posts: 41,720
OS: Windows 7, XP-Pro, Vista, Linux


Blog Entries: 1
Re: TCP/IP Connections

I'm curious as to what problems you think you have with SP1, or for that matter, SP2 and SP3? I have SP3 on several machines here, I don't know of any problems because of the service packs.
__________________
If TSF has helped you, Tell us about it! or Donate to help keep the site up!

Microsoft MVP - Windows Desktop Experience
johnwill is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-12-2008, 07:44 AM   #11 (permalink)
Registered User
 
Join Date: Aug 2008
Posts: 143
OS: Windows XP SP3


Send a message via AIM to rlaserra
Re: TCP/IP Connections

lol, I have sp3 on it right now. The issue with sp2 and sp3 they set limitations on the TCP/IP connections so that people are forced to purchase the server edition. Sp1 so I am told does not have any limitations on that, I am thinking of downgrading and giving it a shot, but I heard it has issues.... going sp1 and staying was a suggestion as i stated above :P
rlaserra is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-12-2008, 06:13 PM   #12 (permalink)
Manager, Networking Forums
 
johnwill's Avatar
 
Join Date: Sep 2002
Location: S.E. Pennsylvania, US
Posts: 41,720
OS: Windows 7, XP-Pro, Vista, Linux


Blog Entries: 1
Re: TCP/IP Connections

Actually, that's totally false. You can have a maximum of 10 client connections on XP-Pro at any service pack level from none through SP3. The limits are 5 for XP-Home across the same spectrum.
__________________
If TSF has helped you, Tell us about it! or Donate to help keep the site up!

Microsoft MVP - Windows Desktop Experience
johnwill is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-12-2008, 07:55 PM   #13 (permalink)
Enthusiast
 
lazareth1's Avatar
 
Join Date: Jan 2005
Location: Hong Kong, previously Fife in Bonnie Scotland
Posts: 1,294
OS: Vista SP1, Ultimate

My System

Re: TCP/IP Connections

Ok that sorts that out! Can you move this to the web development/design section of the forum johnwill, so it can get the attention needed?
__________________
lazareth1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 11:07 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85