docker-zabbix
docker-zabbix copied to clipboard
After a while container will not start anymore
After I did some stops and starts it'll exit immediately after starting the conainer. Had this multiple times on multiple plattforms.
I use this container often for testing purposes, or onetime tests but if i stop/start too often i can only throw away...
Best regards
Seems to be an ubuntu networkmananger issue
Nope. I started a new instance on a fresh ubuntu and let it run for 21 hours. The next day i stopped it and couldn't start it anymore.
Reproduced: started a new instance, set up a cron to stop/start it every 5 minutes and after a half an hour it doesn't start anymore
Thanks @Franselbaer I am currently running it on a CentOS. Could you please share with me which version of Ubuntu and Docker you are using?
Hey @berngp. Thanks for the response. I tested with ubuntu 14.10 and debian 7 with docker taken from repository (I think 1.2). Unfortunately you cannot get inside if it doesn't start anymore therefore I couldn't investigate more yet. If I find the time the next days I'll try to let the container write logs to an outside location.
Thank you @Franselbaer, I do my due diligence to replicate the issue. We can have mounts where the logs would be written to, I was planning on doing this anyway for MySQL too.
@Franselbaer the monit & AppArmor issue referenced in #13 was causing the syslogs to grow very quickly and might be related. Could you please run the container with the following flags.
--cap-add SYS_PTRACE --security-opt apparmor:unconfined
@Franselbaer let me know if the changes above helped you out.
Hi @berngp , I'm having the same problem. I already add the flags that you suggested but the problem still occurs. I'm running it on Centos 6.6.
@meltonpineda we need to move out of monit, is already causing several stability issues. As reference #22
@azurewraith I am migrating to supervisord but haven't yet finished. I'll push a labeled image that we can test out and see if supervisord helps out on stabilizing the container.
@berngp Thanks, that would be helpful. I'm assuming there is a supervisord branch as well?
@azurewraith sorry for the late reply. I have the feature/22-supervisord to address the migration from monit to supervisor. It still not working but will keep track to such effort through that branch.