![]() ![]() See also this question on the Visual Studio forums, which explains: #Magic packet sender only one usage of each socket codeRun a bit of code to do the above registry edit without regedit.Reduce the time the system wants connections to spent in TIME_WAIT through registry editing.Increase the dynamic port range through registry editing.How many concurrent users are you dealing with here? ![]() In other words, you've run out of ports in the dynamic range. Make 16 web service calls per second for 4 minutes you will exhaust all the ports. If you use all of them in 4 minutes - meaning roughly you What happens is that when you don't bind a port in the range 1024-5000 is used. The local IP, remote IP and remote PORT are also typically fixed. In this case, the protocol is fixed - TCP goes into a TIME_WAIT state for 240 seconds by default. ![]() When a connection is closed, on the side that is closing the connection the 5 tuple The error isn't actually coming from MySQL, but from Windows itself: I've looked on google and even on Xampp forums but most people experience this issue prior to launching Apache, but Apache is running fine for me when users are experiencing this error. My Site is running on Windows XP SP3, Xampp 1.7.7, Quad Core, 4gigs of RAM, 1TB HD, Specs for php/mysql:Īpache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1Īny help on what I should change in any of my configurations to make this go away would be greatly appreciated. This seems to be totally random and when I monitor my worker threads for Apache, there are typically lots of idle workers available to accept new connections/requests. Only one usage of each socket address (protocol/network address/port) My issue is that after apache is running some of my users that are connected to our php/mysql website will receive this error: PHP Warning: mysql_connect() : I couldn't find a solution to this already on stackoverflow, most other related topics had to do with Apache not starting first and getting this error. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |