The CPU usage of the OPCUA client driver in the runtime gradually increases over time

The CPU usage of the OPCUA client driver in the runtime gradually increases over time

Summary

The CPU usage of the OPCUA client driver in the runtime gradually increases over time. When using multiple OPCUA client drivers, the system may eventually stop responding when all CPU cores are running on full load.

Description

The CPU usage of the OPCUA client driver in the runtime gradually increases over time. When using multiple OPCUA client drivers, the system may eventually stop responding when all CPU cores are running on full load.

Solution

An issue has been addressed in the OPCUA client driver where a map of available sequence numbers was not correctly emptied and grew forever larger. Parsing this map consumed more CPU resources as the list grew, which resulted in the higher CPU usage of the driver.

Now available sequence numbers are correctly removed from the map when they are acknowledged and the CPU usage no longer gradually increases over time.

Information

With a single driver receiveing a datachange notification every 50ms, the increase in CPU usage was at about 1% after approximately 10 days of continous runtime.



Issue Number: 31142
Fixed on Date: 17.1.2014
Versions: 7.10 0 BUILD 9760 | 7.11 0 BUILD 10238