High CPU load due to RCF AMI thread

RCF support and general discussion.
Post Reply
Volker
Posts: 26
Joined: Wed May 23, 2012 3:27 pm

High CPU load due to RCF AMI thread

Post by Volker »

Hi Jarl,

we're observing that one of the threads in our process starts occupying one core of our CPU. This happens after stopping the process hosting the server. As our clients mainly need to become informed about new events from the server the clients instantiate a server on their own to establish a callback connection. After destroying this 'callback server' in the client process the thread starts his phase of high load. Interestingly this has no influence on the functionality of our application.

As this thread calls itself "RCF AMI" my first bet is that RCF started this thread. We tried to extract something valuable from the callstack of this thread but without success. Our workaround is that we no longer destroy the 'callback server' but reuse it.

Regards,

Volker

jarl
Posts: 238
Joined: Mon Oct 03, 2011 4:53 am
Contact:

Re: High CPU load due to RCF AMI thread

Post by jarl »

Hi Volker,

I've had a look at this, and found a shutdown problem with a timer on the AMI thread. I've fixed that and will email you a copy of the source code to verify whether it fixes the problem you've observed.
Kind Regards

Jarl Lindrud
Delta V Software
http://www.deltavsoft.com

Post Reply