locka99 / opcua

A client and server implementation of the OPC UA specification written in Rust
Mozilla Public License 2.0
501 stars 131 forks source link

CPU use issue on client kill/crash #168

Open EmmanuelP opened 2 years ago

EmmanuelP commented 2 years ago

Using the simple-server and simple-client examples, after successfully launched the server and the client, if the client is killed (using Ctrl+C for example), the CPU consumption goes up to more than 100% of one CPU.

Before:

image

After client is killed:

image

I can not tell if it is the same as #4

This happens running master, with server.conf modified as explained here: https://github.com/locka99/opcua/issues/164#issuecomment-1044805157