MapSuite Team,
I’m using WmsServer V10.6 to access WmsRasterLayer requests from our local client workstations and to then pass said requests on to our WMS Provider which is hosted on AWS. A very simple application proxy.
Our system has worked just fine for years until our provider upgraded their server applications and now our system is having issues due to high number of simultaneous requests that we send to them, which was also done with their old system.
There was no code change on our applications except to accommodate a new URL.
A major difference between their old and new systems is the old system did not do load sharing and the new system does load share. You can see this in the last lines of the netstat’s below.
This issue only arises when we have roughly 50+ outstanding requests sent to them. What we see in our system is an IIS Worker Process running at nearly 100% and high memory usage.
I’ve noticed that when we have high CPU and memory usage a netstat shows many connections in TIME_WAIT status (also have seen TIME_CLOSE). When the system is functioning normally there are rarely any TIME_WAIT’s. Below are two examples of our netstat command. The IP’s have been removed for security purposes.
The TIME_WAIT indicates to me that an HTTP connection is being kept open, but why would that be? Does this indicate waiting for a response from our WMS Provider?
Why are there ESTABLISHED Connections listed? Should it not be closed once the response is received?
Are you able to offer any hints as what this problem might be related to.
Thanks,
Dennis Berry
Local Address is our WmsServer. Foreign Address corresponds to client workstations on our LAN. Except the last two lines where it is our WMS Provider on the Internet.
This netstat occurred during 100% IIS Worker Process:
Proto Local Address Foreign Address State
TCP oo.oo.oo.oo:5049 10.3.1.106:57246 TIME_WAIT
TCP oo.oo.oo.oo:5049 10.3.1.113:49643 TIME_WAIT
TCP oo.oo.oo.oo:5049 10.3.1.129:64574 TIME_WAIT
TCP oo.oo.oo.oo:5049 10.3.1.130:60591 TIME_WAIT
TCP oo.oo.oo.oo:5049 10.3.1.136:65371 TIME_WAIT
TCP oo.oo.oo.oo:5049 10.3.1.140:65456 TIME_WAIT
TCP oo.oo.oo.oo:5049 10.3.1.161:55814 TIME_WAIT
TCP oo.oo.oo.oo:5049 10.3.1.174:54492 TIME_WAIT
TCP oo.oo.oo.oo:5049 10.3.1.189:59135 TIME_WAIT
TCP oo.oo.oo.oo:5049 10.3.1.220:56147 TIME_WAIT
TCP oo.oo.oo.oo:5049 10.3.3.123:54561 TIME_WAIT
TCP oo.oo.oo.oo:5049 10.3.3.125:50718 TIME_WAIT
TCP oo.oo.oo.oo:5049 10.3.3.131:56899 TIME_WAIT
TCP oo.oo.oo.oo:5049 10.3.3.213:63749 TIME_WAIT
TCP oo.oo.oo.oo:5049 10.3.3.213:63793 TIME_WAIT
TCP oo.oo.oo.oo:5049 10.3.3.223:57635 TIME_WAIT
TCP oo.oo.oo.oo:5049 10.3.5.35:57709 TIME_WAIT
TCP oo.oo.oo.oo:5049 203.3.16.102:54671 TIME_WAIT
TCP oo.oo.oo.oo:5049 203.3.16.104:59833 TIME_WAIT
TCP oo.oo.oo.oo:47908 10.3.3.188:60964 CLOSE_WAIT
TCP oo.oo.oo.oo:47908 10.3.3.188:60965 ESTABLISHED
TCP oo.oo.oo.oo:47908 10.3.5.31:61829 ESTABLISHED
TCP oo.oo.oo.oo:51769 server-xx-xx-xx-xx:https CLOSE_WAIT WMS Provider via AWS
TCP oo.oo.oo.oo:51777 server-xx-xx-xx-xx:https ESTABLISHED WMS Provider via AWS
This netstat shows what is looks like when everything is functioning normally:
Proto Local Address Foreign Address State
TCP oo.oo.oo.oo:5049 10.3.1.103:50206 ESTABLISHED
TCP oo.oo.oo.oo:5049 10.3.1.106:54443 ESTABLISHED
TCP oo.oo.oo.oo:5049 10.3.1.124:65069 ESTABLISHED
TCP oo.oo.oo.oo:5049 10.3.1.130:51647 ESTABLISHED
TCP oo.oo.oo.oo:5049 10.3.1.136:58355 ESTABLISHED
TCP oo.oo.oo.oo:5049 10.3.1.146:57037 ESTABLISHED
TCP oo.oo.oo.oo:5049 10.3.1.148:56306 ESTABLISHED
TCP oo.oo.oo.oo:5049 10.3.1.163:61172 ESTABLISHED
TCP oo.oo.oo.oo:5049 10.3.1.164:55635 ESTABLISHED
TCP oo.oo.oo.oo:5049 10.3.1.186:57084 ESTABLISHED
TCP oo.oo.oo.oo:5049 10.3.1.196:55399 ESTABLISHED
TCP oo.oo.oo.oo:5049 10.3.1.218:50353 ESTABLISHED
TCP oo.oo.oo.oo:5049 10.3.1.220:63986 ESTABLISHED
TCP oo.oo.oo.oo:5049 10.3.3.104:50341 ESTABLISHED
TCP oo.oo.oo.oo:5049 10.3.3.108:57702 ESTABLISHED
TCP oo.oo.oo.oo:5049 10.3.3.123:63737 ESTABLISHED
TCP oo.oo.oo.oo:5049 10.3.3.145:51796 ESTABLISHED
TCP oo.oo.oo.oo:5049 10.3.3.147:56940 ESTABLISHED
TCP oo.oo.oo.oo:5049 10.3.3.151:52293 ESTABLISHED
TCP oo.oo.oo.oo:5049 10.3.3.162:63251 ESTABLISHED
TCP oo.oo.oo.oo:5049 10.3.3.173:55128 ESTABLISHED
TCP oo.oo.oo.oo:5049 10.3.3.178:65027 ESTABLISHED
TCP oo.oo.oo.oo:5049 10.3.3.217:58853 ESTABLISHED
TCP oo.oo.oo.oo:5049 10.3.3.221:58095 ESTABLISHED
TCP oo.oo.oo.oo:47908 10.3.3.188:52594 ESTABLISHED
TCP oo.oo.oo.oo:52999 server-xx-xx-xx-xx:https ESTABLISHED WMS Provider via AWS
TCP oo.oo.oo.oo:53021 server-xx-xx-xx-xx:https TIME_WAIT WMS Provider via AWS
TCP oo.oo.oo.oo:53022 server-xx-xx-xx-xx:https ESTABLISHED WMS Provider via AWS