-
Notifications
You must be signed in to change notification settings - Fork 0
alpha api old, alpha api issues
anandkumarpatel edited this page Jul 30, 2015
·
3 revisions
one of our servers is doing the funky dance, how do we get it to stop?
do this when you see a service on the box is out of memory
- redeploy with ansible
this is normally due to the docker deamon eating up all the memory. to fix:
- restart the docker deamon
sudo service docker restart
- redeploy optimus and mavis
- ensure navi, charon, detention restarted, if not redeploy them as well
- need to relaunch weave
sudo weave launch -password <FIND_FROM_SAURON_CONFIG>
- connect network to charon
sudo weave attach 10.255.248.144/24 <CHARON_CONTAINER_ID>
- connect weave to peer
sudo weave connect 10.0.1.10
find out where most of the disk is getting used by using du
the usual suspects are /var/log
or /docker
- clean up logs
- remove old containers ``sudo docker rm `docker ps -aq```
- if that does not free enough remove old images
sudo docker images
- look for old tags or
<none>
and remove them withdocker rmi <IMAGE_ID>
- look and disk of running containers
du -d 1 -h /docker/aufs/diff/
- redeploy any which are using too much and remove old container