vault kv put cli hangs/waits indefinitely when not enough memory available #14039
Labels
core/cli
core
Issues and Pull-Requests specific to Vault Core
devex
Developer Experience
enhancement
performance
resources/memory
Describe the bug
vault kv put
does not error, print any messages or time out when not enough memory is available, effectively blocking indefinitely. This is probably more generic occurrence for vault cli and not specific here.Discovered while running
vault kv put
from certbot deploy hook in docker container started by nomad task with 64mb memory limit:I did not get to experiment more with it yet but I am certain it did not get to the request context, hence normal timeout wouldn't be applied yet.
To Reproduce
TBD
Expected behavior
Probably an error trying to allocate memory or at least stderr message
Environment:
Vault server configuration file(s):
Additional context
docker stats
reported memory ashanging: 55.6MiB / 64MiB
working: 73.68MiB / 100MiB
Not sure if helpful. When chasing certbot old pipe issue I've seen one of those two outputs from lsof:
The text was updated successfully, but these errors were encountered: