envoyproxy / envoy

Cloud-native high-performance edge/middle/service proxy
https://www.envoyproxy.io
Apache License 2.0
24.91k stars 4.79k forks source link

When I run multiple envoy containers in docker and restart hot one of them, the envoy can't find the shm file, "envoy_shared_memory_60 check user permissions. Error: No such file or directory" #36713

Open AMagnolia opened 1 day ago

AMagnolia commented 1 day ago

If you are reporting any crash or any potential security issue, do not open an issue in this repo. Please report the issue via emailing envoy-security@googlegroups.com where the issue will be triaged appropriately.

Title: When I run multiple envoy containers in docker and restart hot one of them, the envoy can't find the shm file.

Description:

When I run multiple envoy containers in docker and restart hot one of them, the envoy can't find the shm file. The logs :[source/server/hot_restart_impl.cc:44] panic: cannot open shared memory region /envoy_shared_memory_60 check user permissions. Error: No such file or directory. I have used the "--base-id" for every envoy container, and when I check the path, "/var/lib/docker/containers/7dc2aa931d5aba0c25ff107ad4f9ce7f10ce11f79a87b334b4c3b3061ba6f775/shm" which is the target container's shm path, the envoy_shared_memory_60 exits. Thanks for help.

[optional Relevant Links:]

Any extra documentation required to understand the issue.

AMagnolia commented 1 day ago

@phlax @danzh2010 could you please give me some help?