Every time I launch Chrome, an additional keepassxc-proxy appears in Task Manager. So far I have 8 of them running. Each one also has its own conhost.exe and cmd.exe.
Either the old keepassxc-proxy should quit when I quit Chrome, or it should be reused next time I run Chrome.
Each launch of Chrome creates a new keepassxc-proxy process. This is in Windows 7 32 bit with Chrome 65.0.3325.181 (Official Build) (32-bit), KeePassXC 2.3.1 and KeePassXC-Browser 1.0.1
Probably best to reuse the old keepassxc-proxy process.
KeePassXC - Version 2.3.1
Revision: 2fcaeea
Libraries:
Operating system: Windows 7 SP 1 (6.1)
CPU architecture: i386
Kernel: winnt 6.1.7601
Enabled extensions:
Launching a new proxy for each chrome instance is by design, its what keeps native messaging secure. However, they should be killed when the browser closes. I suspect they may be left alive due to the chrome tasktray feature.
They should be killed yes. Multiple open processes does no harm though.
One more thing: using the old process is not possible. Native messaging always launches a new process on browser startup.
Multiple open processes does no harm though.
It does though:
I have seen this kind of behaviour before. For some reason Chrome doesn't kill the native messaging processes like Firefox does and they keep running in the background. Haven't solved this one yet. One thing that could be done is that every proxy process will be terminated when KeePassXC launches.
This sounds more like a chrome bug than a KeePassXC bug. We don't spawn or control the process...
What is your evidence for the claim of "KeepassXC was already put on blacklists because of this behavior in some companies"
Not sure if this is an instance of the same problem, but Chrome started behaving very strangely for me today, in particular being extremely slow and crashing, and menus for some of my extensions wouldn't come up. Meanwhile, had created 2000+ instances of keepassxc-proxy, which causes the rest of my system to bog down. I definitely did not launch it 2000 times.
I had hundreds of keepassxc-proxy processes running just now. I have Chromium and I've opened around 15 tabs. I had to kill the proxies as my 16GB Windows 7 PC already shut itself down because it ran out of memory today and prompted my investigation. Only had Chromium and my DAW (Reason 10) running.
This is an issue and will prevent me from using the browser integration unless fixed.
I have a few, but hundreds or thousands sounds very excessive.
As a workaround you may turn off proxy support in the settings and let Chrome manage your KeePassXC instance directly.
For the moment I've just removed the extension from Chrome. I use Chrome
just for work-related stuff, and we have Bitium, so I can just use that to
manage most of my work passwords and keep my personal passwords in
KeePassXC.
The problem is reliably reproducible, incidentally; approximately two
processes are getting created per second.
On Thu, May 10, 2018 at 12:55 PM, Janek Bevendorff <[email protected]
wrote:
I have a few, but hundreds sounds very excessive.
As a workaround you may turn off proxy support in the settings and let
Chrome manage your KeePassXC instance directly.—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/keepassxreboot/keepassxc/issues/1765#issuecomment-388166689,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKO-g0ZbM6d_c9LDBurPwXyvyPNoIT4ks5txJstgaJpZM4S1zJd
.
I tested it and the problem is caused by auto reload and the fact that Chrome on Windows doesn't properly shut down the proxy. You can avoid it by making sure that KeePassXC is always running in the background. As soon as you stop KeePassXC, the browser will start trying to reconnect and spawn processes which are not cleaned up properly.
Freshly booted PC, I had maybe 2 or 3 Chrome tabs open, my PC gets super sluggish all of a sudden. I open task manager and see this:

Keepassxc 2.3.3
We are working to fix this. As a workaround, leave KeePassXC running or disable the browser extension in Chrome.
@droidmonkey
Is there a work around or manual edit possible aside from disabling it? I found I had 326 of them running and 327 conhost.exe tasks. I only had 4 or so tabs open and maybe only for 10 minutes. My machine has been crashing a lot lately, I believe all these running keepassxc-proxy instances are consuming too many resources.
I unchecked the "use proxy application between KPXC and browser extension" and now i see it trying to spawn multiple KPXC instances. Though mostly it stops after one, but I had 5 at one point when I viewed the task bar.
KeePassXC-Browser Version: 1.1.2
KeePassXC Version: 2.3.1
@sheavner Until we have a new release available the only thing you can do is to keep KeePassXC open in the background when proxy is enabled.
We reverted the autoreconnect feature and uploaded a fixed version to the store.
Most helpful comment
Freshly booted PC, I had maybe 2 or 3 Chrome tabs open, my PC gets super sluggish all of a sudden. I open task manager and see this:

Keepassxc 2.3.3