If you execute any docker command, you will report an error segmentation fault. There have been no similar errors when using docker before. After troubleshooting, it was found that the available memory was only 110m. It was speculated that the memory was not enough, so the command to clean the memory was executed, but the parameters were changed to 1, 2 and 3, which could not clean the memory.
sync echo 1 > /proc/sys/vm/drop_caches
The solution is found on GitHub. First enter
The output is 0, and then change the parameters
At this time, the application that occupies a lot of memory has been restarted automatically. If not, execute the above cleaning command.
- How to Solve Redis Cluster Build Error
- [Solved] redis Error: Can‘t save in background fork Cannot allocate memory
- [Solved] Kibana Error: Kibana server is not ready yet
- [Solved] NPM Error: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed
- [Solved] Error(22) WARNING: IPv4 forwarding is disabled. Networking will not work.
- [Solved] Docker Startup Error: panic: runtime error: invalid memory address or nil pointer dereference
- [Solved] CentOS build a docker error: job for docker.service failed….
- [Solved] error during connect: This error may indicate that the docker daemon is not running
- How to Solve Docker failed to initialize Error
- [Solved] Docker Error: Failed to connect to bus: Host is down
- How to Solve k8s Nodal issues: /sys/fs/cgroup/memory/docker: no space left on device\““: unknown.
- [Solved] At least one of these environment variable is needed to run this program
- [Solved] ambiguous import: found package github.com/spf13/cobra/cobra in multiple modules
- How to Fix ERROR Couldn’t connect to Docker daemon at http+docker://localunixsocket
- [Solved] standard_init_linux.go:190: exec user process caused “exec format error“
- [Solved] Elasticsearch 7.10 Startup Error: bootstrap checks failed
- [Solved] kubelet Startup Error: cannot find network namespace for the terminated container
- MAC: How to modify the docker container error [screen is terminating]
- Docker service startup error: Job for docker.service failed because the control process exited with error code.
- [Solved] ElasticSearch startup error: bootstrap checks failed