I have an Ubuntu 12.04 server that just crashed because of a very obvious cause: 30+ of
apt-check processes consuming all memory, the OOM killer kicking in, killing vital services. I'm not sure where the
apt-check processes come from, but I guess my Nagios/Icinga plugins
check_apt might use it, as well as the
byobu status line may want to display its output. I guess something locked up and all of the processes were just waiting, yet holding memory.
How can I prevent to have so many instances of
apt-check on the system? It doesn't make sense to me and it should just quit as soon as it can't get a read lock on the dpkg database.
It seems that I'm not the only one running into trouble here. All suggestions for
apt-check are pretty negative:
(clean browser, not logged in, no personalised search)