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

Stop Container Settings #289

Open
rmshnair opened this issue Aug 31, 2020 · 4 comments
Open

Stop Container Settings #289

rmshnair opened this issue Aug 31, 2020 · 4 comments

Comments

@rmshnair
Copy link

Container is killed by 5 mins or 10 mins automatically irrespective of values in stop container settings. unable to increase the container stop timout more than 10 mins

@KostyaSha
Copy link
Owner

Does UI load a value after you set it and reload page?

@rmshnair
Copy link
Author

rmshnair commented Sep 1, 2020

image
it loads, however, the container is killed in 5 or 10 mins exactly while the container still busy serving its master

@KostyaSha
Copy link
Owner

Could you enable debug in daemon and check what value is send to daemon? That will very help

@rmshnair
Copy link
Author

rmshnair commented Sep 4, 2020

looking deeper into this problem, it is not a timeout issue. due to some issues, one of the thread is dead. this usually happens anywhere from 5 mins from job, more frequently around 10 mins. i could run successfully once 15 mins just after a restart, which is my best case.

A thread (Thread-3592/4897) died unexpectedly due to an uncaught exception, this may leave your Jenkins in a bad way and is usually indicative of a bug in the code.
java.io.IOException: Write end dead
at java.io.PipedInputStream.read(PipedInputStream.java:310)
at java.io.PipedInputStream.read(PipedInputStream.java:377)
at java.io.InputStream.read(InputStream.java:101)
at com.github.kostyasha.yad_docker_java.com.github.dockerjava.netty.NettyInvocationBuilder$1.read(NettyInvocationBuilder.java:245)
Caused: java.lang.RuntimeException
at com.github.kostyasha.yad_docker_java.com.github.dockerjava.netty.NettyInvocationBuilder$1.read(NettyInvocationBuilder.java:247)
at com.github.kostyasha.yad_docker_java.com.github.dockerjava.netty.NettyInvocationBuilder$1.run(NettyInvocationBuilder.java:257)
at java.lang.Thread.run(Thread.java:748)

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