Closed dedsxc closed 9 months ago
Update on this issue:
After disabling the audit socket device, the vault has no more latency. I activated the audit socket device to integrate with Elasticsearch SIEM. But the SIEM is no more running on our K8S cluster, so I think the audit socket device was trying to contact the elastic agent in a loop. Not sure as I don't have any logs about that .. But disabling the audit socket device solve my issue.
Note: Can you integrate logs about audit device ?
Describe the bug I have deployed a HashiCorp Vault HA cluster with Raft storage approximately three months ago. Recently, I have noticed a significant latency when accessing the Vault UI interface. Upon investigation, I observed that the number of Goroutines being created has exceeded 270.
Despite the high Goroutine count, there is no notable activity in terms of incoming connections. Additionally, I enabled debug mode in the Vault logs, but there are no error logs or other remarkable entries that could explain the latency issue.
This issue is impacting the usability and performance of the Vault cluster, and I am seeking assistance in diagnosing and resolving the underlying cause. Any insights or suggestions for troubleshooting would be greatly appreciated.
PS: I tried to increase the resource request on the pod without any effect
To Reproduce Steps to reproduce the behavior: Deploy a raft storage cluster with 3 replicas with version 1.15.5
Expected behavior Accessing to the UI interface with no latency.
Environment:
vault status
):1.15.5
vault version
):Vault v1.15.5 (0d8b67ef63815f20421c11fe9152d435af3403e6), built 2024-01-26T14:53:40Z
Kubernetes cluster (Linux/amd64)
Vault server configuration file(s):
Additional context
debug logs
pprof output