ray99 Posted October 24, 2008 Share Posted October 24, 2008 I setup apache server on windows xp pro sp3. Everything is running well except when the server become heavy load (said 10-15 peoples accessing my cgi-script at the same time), it take 4-8x longer time compared to normal non heavy load time (<15sec). My question is: 1) Does the 10 TCP connections limitation in Windows XP Pro limit the 10 concurrent access while leaving the rest in queue? 2) Is there any way to solve this in http.conf using ThreadPerChild and MaxRequestPerChild ? 3) I am trying mod_perl2 using perlrun but on experimental server to test out the compatibility of my script but it will only speed out the processing time but not overcoming the speed issue if more concurrent access is require. Please help out. Thank you Quote Link to comment Share on other sites More sharing options...
corbin Posted October 24, 2008 Share Posted October 24, 2008 1. I think the limit is on outbound connections, not inbound. Also, I think it limit attempts. And, you can easily change some registry key or something to make it greater than 10. 2. KeepAliveTimeout is most likely the culprit. 15 seconds default per connection..... That sucks. 3. Errrr, no idea x.x. Quote Link to comment Share on other sites More sharing options...
wcoleman Posted December 17, 2008 Share Posted December 17, 2008 Are you using Windows XP as a production web server? XP is going to limit the number of concurrent connections to your web server so you're better off upgrading to Windows Server. Otherwise, IIS 7 (major upgrade from IIS 6) is available in Vista and would be able to give you better diagnostic and troubleshooting capabilities. You can find a webcast on upgrade path from Windows XP & IIS 5.1 to IIS 7 here - "http://blogs.iis.net/chrisad/archive/2007/03/01/get-the-facts-on-windows-vista-iis-7-0-compatibility.aspx. Quote Link to comment Share on other sites More sharing options...
Gil Posted January 3, 2009 Share Posted January 3, 2009 it's easy enough to change the number of max connections in windows XP no matter what service pack you use, so even if this did pose a problem in some way, this is a microsoft service question, but not web hosting question altogether. I hope you are able to cure any problems you may have with such limitations if you come across them. Quote Link to comment Share on other sites More sharing options...
tomfmason Posted January 3, 2009 Share Posted January 3, 2009 I recommend the following things: EnableSendfile Off EnableMMAP Off Win32DisableAcceptEx lower keepalive timeout e.g. KeepAliveTimeout xx increase number of MPM workers That should help with many of the performance issues. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.