# High (100%) CPU usage after connection to IIS

**URL:** https://talk.remobjects.com/t/high-100-cpu-usage-after-connection-to-iis/10885
**Category:** Remoting SDK
**Tags:** bug
**Created:** [October 3, 2016, 9:39am UTC](https://talk.remobjects.com/t/high-100-cpu-usage-after-connection-to-iis/10885 "2016-10-03T09:39:46Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![impet](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/i/7993a0/32.png) [@impet](https://talk.remobjects.com/u/impet)
#### Post date: [October 3, 2016, 9:39am UTC](https://talk.remobjects.com/t/high-100-cpu-usage-after-connection-to-iis/10885/1 "2016-10-03T09:39:47Z")

</div>

High (100%) CPU usage after connection to IIS site, that is not Remobject Server.  
Maybe bug will reproduce on other Web servers.

For test you can use your MegaClient for .NET to tcp://www.remobjects.com:80/bin as example.

 ![](https://talk.remobjects.com/uploads/default/original/2X/a/a863369a206d16365aaab9f12d9d3a4e2c3a4a8d.png)  
I tested with 9.0.95.1233  
2008 R2, 2012 R2;

Looks like bug is not reproduced, when PC/server is under NAT. Only when server/pc direct connected to the internet or IIS in local network.

---

<div class="post-metadata">

### Author: ![antonk](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/a/a5b964/32.png) [@antonk](https://talk.remobjects.com/u/antonk)
#### Post date: [October 3, 2016, 11:13am UTC](https://talk.remobjects.com/t/high-100-cpu-usage-after-connection-to-iis/10885/2 "2016-10-03T11:13:25Z")

</div>

Hello

Thanks for reporting this. Could you run thee client app under profiler to find out which exactly method gives the 100% CPU load?

Thanks in advance

---

<div class="post-metadata">

### Author: ![impet](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/i/7993a0/32.png) [@impet](https://talk.remobjects.com/u/impet)
#### Post date: [October 3, 2016, 1:41pm UTC](https://talk.remobjects.com/t/high-100-cpu-usage-after-connection-to-iis/10885/3 "2016-10-03T13:41:21Z")

</div>

Function Name Inclusive Samples Exclusive Samples Inclusive Samples % Exclusive Samples % Module Name  
RemObjects.InternetPack.Connection.DataSocketReceiveWhatsAvaiable 3,999 6 81.70 0.12 RemObjects.InternetPack.dll

Function Name Exclusive Samples Exclusive Samples % Inclusive Samples Inclusive Samples % Source Line Begin Source Character Begin Source Line End Source Character End  
[System.ni.dll] 4,015 82.02 4,015 82.02 0 0 0 0

Failed to load symbols for C:\WINDOWS\assembly\GAC\_MSIL\RemObjects.InternetPack\

---

<div class="post-metadata">

### Author: ![impet](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/i/7993a0/32.png) [@impet](https://talk.remobjects.com/u/impet)
#### Post date: [October 3, 2016, 3:10pm UTC](https://talk.remobjects.com/t/high-100-cpu-usage-after-connection-to-iis/10885/4 "2016-10-03T15:10:57Z")

</div>

Function Name RemObjects.InternetPack.Connection.DataSocketReceiveWhatsAvaiable   
Inclusive Samples 3,999   
Exclusive Samples 6   
Inclusive Samples % 81.70   
Exclusive Samples % 0.12   
Module Name RemObjects.InternetPack.dll

Function Name [System.ni.dll]   
Exclusive Samples 4,015   
Exclusive Samples % 82.02   
Inclusive Samples 4,015   
Inclusive Samples % 82.02

---

<div class="post-metadata">

### Author: ![impet](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/i/7993a0/32.png) [@impet](https://talk.remobjects.com/u/impet)
#### Post date: [October 3, 2016, 3:20pm UTC](https://talk.remobjects.com/t/high-100-cpu-usage-after-connection-to-iis/10885/5 "2016-10-03T15:20:46Z")

</div>

-\>public virtual int Sum(int A, int B)  
@\_\_LocalMessage.InitializeRequestMessage(@\_\_ClientChannel, “MegaDemoLibrary”, @\_\_GetActiveInterfaceName(), “Sum”);  
@\_\_LocalMessage.WriteInt32(“A”, A);  
@\_\_LocalMessage.WriteInt32(“B”, B);  
@\_\_LocalMessage.FinalizeMessage();  
freeze -\> @\_\_ClientChannel.Dispatch(@\_\_LocalMessage);

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [October 4, 2016, 7:46am UTC](https://talk.remobjects.com/t/high-100-cpu-usage-after-connection-to-iis/10885/6 "2016-10-04T07:46:26Z")

</div>

Thanks, logged as bugs://76336

---

<div class="post-metadata">

### Author: ![impet](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/i/7993a0/32.png) [@impet](https://talk.remobjects.com/u/impet)
#### Post date: [April 18, 2017, 9:13am UTC](https://talk.remobjects.com/t/high-100-cpu-usage-after-connection-to-iis/10885/7 "2017-04-18T09:13:10Z")

</div>

Hi, Any news? I’ve tested with newest 9.1.99.1273. Bug is reproduced.

This problem is very actual for us, because our Application work as Service and accumulate data from other Servers on different users sides. Any user can change port forwarding from RO server to their IIS by mistake, so one or more CPUs on our server are going to High (100%) state. We detect this situation, stop connection to this user as temp solution, notify users about wrong port mapping, wait answer, check port forwarding, restore connection to user.  
It is very uncomfortable. When this bug starts to be used specifically, this will be the end.

---

<div class="post-metadata">

### Author: ![antonk](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/a/a5b964/32.png) [@antonk](https://talk.remobjects.com/u/antonk)
#### Post date: [April 18, 2017, 2:40pm UTC](https://talk.remobjects.com/t/high-100-cpu-usage-after-connection-to-iis/10885/8 "2017-04-18T14:40:45Z")

</div>

Hello

sorry for the inconvenience.  
Could you please send a mail to support@ ?  
We’ll provide you a fixed build (unfortunately the fix didn’t pass to the release build because it needed more testing)

Regards

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [April 21, 2017, 10:28am UTC](https://talk.remobjects.com/t/high-100-cpu-usage-after-connection-to-iis/10885/9 "2017-04-21T10:28:20Z")

</div>

bugs://76336 got closed with status fixed.

---

<div class="post-metadata">

### Author: ![impet](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/i/7993a0/32.png) [@impet](https://talk.remobjects.com/u/impet)
#### Post date: [August 25, 2017, 8:29am UTC](https://talk.remobjects.com/t/high-100-cpu-usage-after-connection-to-iis/10885/10 "2017-08-25T08:29:34Z")

</div>

Version 9.2.103 (Build .1311) is ok. Thx

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [September 1, 2020, 5:15am UTC](https://talk.remobjects.com/t/high-100-cpu-usage-after-connection-to-iis/10885/11 "2020-09-01T05:15:11Z")

</div>

Logged as [bugs://i64238](https://www.remobjects.com/portal/bugs/?id=i64238).

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [September 1, 2020, 5:15am UTC](https://talk.remobjects.com/t/high-100-cpu-usage-after-connection-to-iis/10885/12 "2020-09-01T05:15:12Z")

</div>

[bugs://i64238](https://www.remobjects.com/portal/bugs/?id=i64238) was closed as fixed.
