Sometimes the Docker container where Memgraph is running just stops working or says that the process was aborted with exit code 137. How can I fix this?
1 Answers
You should check the Memgraph logs, where you'll probably find the reason why the process was aborted.
Since you said that you're using Memgraph with Docker, there are two options:
If you run Memgraph with Docker using the volume for logs, that is with
-v mg_log:/var/log/memgraph
, thenmg_log
folder usually can be found at\\wsl$\docker-desktop-data\version-pack-data\community\docker\volumes\
(Windows) or/var/lib/docker/volumes/
(Linux and macOS).If you run Memgraph without using the volume for logs, then you need to enter the Docker container. In order to do that, first you have to find out the container ID by running
docker ps
. Then you have to copy the container ID and rundocker exec -it <containerID> bash
. For example, if container ID is83d76fe4df5a
, then you rundocker exec -it 83d76fe4df5a bash
. Next, you need find the folder where logs are located. You can do that by runningcd /var/log/memgraph
. To read the logs, runcat <memgraph_date>.log
, that is, if you have log filememgraph_2022-03-02.log
located inside the log folder, then runcat memgraph_2022-03-02.log
.
Hopefully, when you read the logs, you'll be able to fix your problem.

- 611
- 1
- 12