Docker service freezes with no logs

980 views Asked by At

I have a consumer written in Go which consumes messages from RabbitMQ then connects two different DBs and does some work. I am using docker-compose to run my consumer. Generally it works fine.

But sometimes it so happens that the docker logs <container_id> command shows nothing and the RabbitMQ UI shows that no consumers are running on the queue. All this happens while the Docker container is still up. I then just stop and start the container and everything goes normal.

I am not able to debug this. Has anyone encountered this before or has an idea about this issue?

0

There are 0 answers