Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Container hangs on log rotate #59

Open
kigsmtua opened this issue Jan 11, 2018 · 3 comments
Open

Container hangs on log rotate #59

kigsmtua opened this issue Jan 11, 2018 · 3 comments

Comments

@kigsmtua
Copy link

kigsmtua commented Jan 11, 2018

When logrotate is configured with the copy truncate option enabled , The sumologic container stops shipping logs

This though works on earlier versions of docker

Any help on this ?

@maimaisie
Copy link
Collaborator

Hi @kigsmtua , thank you for reporting the issue. What version of Docker are you using currently? We have seen this issue before and it is a Docker bug moby/moby#23913 that should be fixed in Docker 1.13

@kigsmtua
Copy link
Author

Hi @maimaisie this on Docker version 17.03.2-ce, build 7392c3b/17.03.2-ce

@maimaisie
Copy link
Collaborator

And which collector version are you on? Can you confirm you have not upgraded/downgraded collector before the issue started and the only change is the Docker version?

One thing I would suggest is to use the latest collector image to get all the bug fixes in collector. If you are already on latest version, we will need some logs from the collector to do further investigations. To get the collector logs:

  1. Open a bash shell with the running collector container
    docker exec -ti <container_id or name> /bin/bash
  2. Find the log file located at /opt/SumoCollector/logs/collector.log
  3. You can then upload this file to this thread and our engineers will inspect the logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants