You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I wasn't able to reproduce this memory leak behavior locally on Ubuntu 22.04.5. On my machine I just get the same error reported in the issue (execute: template: :4:12: executing \"\" at <writeToFile \"key.pem\" \"\" \"\" \"0600\">: error calling writeToFile: open key.pem: permission denied") but no memory increase at all (monitored it over 1 h with pidstat -r -p <agent-pid>> 5 > memory_log.txt). Can you share more about your system, like which OS you're using? How is the agent being configured beyond the template field? Do you still see the issue using this same script I used to try to reproduce it? Any chance you have GOGC=off?
Describe the bug
Unbounded memory growth when DAC unix permissions prevent file to be written to disk.

Noticeable CPU usage growth:

To Reproduce
Steps to reproduce the behavior:
/etc/vault_agent/private_key.pem
is actually configured aschmod 0400
.Expected behavior
Failure to write to disk and no memory leak or CPU spike.
Environment:
vault status
):Vault v1.17.5
vault version
):Vault v1.17.5
unix
Vault server configuration file(s):
Additional context
Error:
The text was updated successfully, but these errors were encountered: