-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leak in client #605
Comments
Yikes. Are there any network configuration changes that have happened lately? This just happened out of nowhere? Best thing to do will be to get a set of logs to share, assuming you're comfortable with that and assuming it's reproducible. If it's NOT reproducible, just collect a feedback zip and send to us to inspect. If you can reproduce the issue:
|
So, I have been doing some investigation. You mentioned if any network changes, so have been doing some experimentation. It seems to go balistic when I have virtual box open. This is what is repeating in the logs (UI log) when I have Virtual Box machine open
|
That sure looks like a tight loop bug... Strange. Is the virtual box also running windows perhaps? Can you also look at the service log when this happens? Here, the UI is responding to IPC events from the tunneler running on this machine. I'm wondering if the vm is also running ZDEW or not, and I'm wondering what the service/data portion of ZDEW is doing. It's the one sending these IPC events to the UI. Still, the UI should not be growing it's memory uncontrollably. When this happens I expect you'll see one full cpu used by the Thanks for digging in. If you're feeling up to it, I would wonder how the preview/new UI would behave in this situation. https://github.com/openziti/desktop-edge-ui/releases/tag/3.2.3 |
It is a Windows VM, without ziti in it. It is running a VPN client inside it. I have sent a help file through to help at openziti.... It is a bitwarden send link due to its size etc. |
Thanks. those logs confirm that the tunneler is sending IPC messages repeatedly and it's in a tight loop. It looks like the tunneler was last restarted on Jun 11 (the day you filed this issue) and this problem manifests immediately on startup and happens around 10 times every second "forever". I'd recommend you:
Nothing changed on the network side, but did you perhaps 'forget' an identity or tear an older network down? If you look at the file in the logs you sent named
are those identities all expected to work properly? It seems (looking at the logs) only one identity is working? Maybe it's some kind of bug on an unused network/improperly removed identity or something like that... If you expect all three identities to work, let's do this:
I expect one of the identities has 'gone bad' and is exposing some kind of bug |
Thanks. Yes it was pegging the CPU on a core. It was the 'KelvinWorkLaptop.json' that was causing the problem. I noticed that I had an identity with a long name - like GUID which was my original identity when starting to play around with Ziti. That went in, but had no services, then I found that my certs had expired on my main overlay network. Anyway, so the issue here was a bad identity. I have not deep dived further into the bad identity as my own overlay down is more important! |
Last night I noticed that my ZDEW client was consuming a vast amount of memory and was a bit unresponsive. So, I crashed out of it, and then restarted. Tonight I checked back in, and it was back being high again. I have not used the ZDEW for anything. The laptop has been put to sleep a few times, but that is it. Just by watching the Task Manager over 5-10 minutes I can see the memory usage increasing.
App version is 2.1.16.0
How can I help to produce any data for this.
The text was updated successfully, but these errors were encountered: