moby/libcontainerd
Brian Goff 400126f869 Refresh containerd remotes on containerd restarted
Before this patch, when containerd is restarted (due to a crash, or
kill, whatever), the daemon would keep trying to process the event
stream against the old socket handles. This would lead to a CPU spin due
to the error handling when the client can't connect to containerd.

This change makes sure the containerd remote client is updated for all
registered libcontainerd clients.

This is not neccessarily the ideal fix which would likely require a
major refactor, but at least gets things to a working state with a
minimal patch.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2018-02-07 11:53:00 -05:00
..
client_daemon.go Refresh containerd remotes on containerd restarted 2018-02-07 11:53:00 -05:00
client_daemon_linux.go Use cio.FIFOSet.Close() to cleanup fifos 2018-01-09 12:00:28 -05:00
client_daemon_windows.go Use cio.FIFOSet.Close() to cleanup fifos 2018-01-09 12:00:28 -05:00
client_local_windows.go Use cio.FIFOSet.Close() to cleanup fifos 2018-01-09 12:00:28 -05:00
errors.go Move api/errdefs to errdefs 2018-01-11 21:21:43 -05:00
process_windows.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
queue.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
queue_test.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
remote_daemon.go Refresh containerd remotes on containerd restarted 2018-02-07 11:53:00 -05:00
remote_daemon_linux.go Remove solaris build tag and `contrib/mkimage/solaris 2017-11-02 00:01:46 +00:00
remote_daemon_options.go Update containerd to v1 beta3 2017-11-10 15:44:10 -05:00
remote_daemon_options_linux.go Update daemon code for containerd API changes 2017-11-30 09:55:03 -05:00
remote_daemon_windows.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
remote_local.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
types.go Remove libcontainerd.IOPipe 2018-01-09 12:00:28 -05:00
types_linux.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
types_windows.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
utils_linux.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
utils_windows.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
utils_windows_test.go Allow windows environment variables to contain = 2016-09-05 08:49:07 +10:00