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

Docker Container yamux deadline #81

Open
robbycuenot opened this issue Oct 24, 2023 · 0 comments
Open

Docker Container yamux deadline #81

robbycuenot opened this issue Oct 24, 2023 · 0 comments

Comments

@robbycuenot
Copy link

I'm not able to see the repo for the agent itself, so I am dropping the issue here.

I am running the agent using synology container manager. Once per day, around 1:30 AM Eastern Time, the container fails with the following logs:

2023/10/24 01:30:57,stdout,Graceful shutdown complete
2023/10/24 01:30:57,stdout,2023-10-24T05:30:56.411Z [WARN]  plugin: plugin failed to exit gracefully
2023/10/24 01:30:57,stdout,2023-10-24T05:30:56.411Z [WARN]  plugin: error closing client during Kill: err="connection is shut down"
2023/10/24 01:30:57,stdout,2023-10-24T05:30:56.411Z [INFO]  agent: Core plugin is shutting down
2023/10/24 01:30:57,stdout,2023-10-24T05:30:56.411Z [INFO]  agent: Shutting down
2023/10/24 01:30:57,stdout,2023-10-24T05:30:56.410Z [ERROR] agent: Failed checking core for errors: error="connection is shut down"
2023/10/24 01:30:54,stdout,2023-10-24T05:30:45.817Z [ERROR] agent: Failed handling job: error="unexpected EOF"
2023/10/24 01:30:47,stdout,2023/10/24 05:30:45 [ERR] yamux: keepalive failed: i/o deadline reached
2023/10/24 00:34:48,stdout,2023-10-24T04:34:48.268Z [INFO]  agent: Core version is up to date: version=1.13.0
2023/10/23 23:29:55,stdout,2023-10-24T03:29:55.804Z [INFO]  agent: Core version is up to date: version=1.13.0
2023/10/23 22:29:48,stdout,2023-10-24T02:29:47.749Z [INFO]  agent: Core version is up to date: version=1.13.0
2023/10/23 21:27:53,stdout,2023-10-24T01:27:53.249Z [INFO]  agent: Core version is up to date: version=1.13.0

I am guessing it is due to the yamux: keepalive failed: i/o deadline reached line. Yamux is managed by hashicorp and I know handles multiplexing for the container. Are there additional settings I should be specifying to prevent the container from dying every 24 hours?

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

1 participant