![“upstart” 有大量日志文件,且 CPU 使用率高达 100%](https://linux22.com/image/871020/%E2%80%9Cupstart%E2%80%9D%20%E6%9C%89%E5%A4%A7%E9%87%8F%E6%97%A5%E5%BF%97%E6%96%87%E4%BB%B6%EF%BC%8C%E4%B8%94%20CPU%20%E4%BD%BF%E7%94%A8%E7%8E%87%E9%AB%98%E8%BE%BE%20100%25.png)
我刚刚安装了 Ubuntu 14.10,还安装了一些程序,比如 MATLAB、Chromium、Evolution 和其他相当无害的东西。然而,最近我遇到了一些麻烦。
该文件的/home/MYUSERNAME/.cache/upstart/dbus.log
大小变得非常大(超过 12 GB!),然后我的系统就彻底崩溃了,因为我正在处理一个很小的分区,因为我把所有文件都存储在另一个磁盘上,所以它会完全填满磁盘,然后系统当然会变得没有响应。此外,该upstart
过程占用了一个核心的 100% CPU,所以我笨重的联想 W520 也会很快过热。
什么可能导致此行为?我该如何解决它?
我在日志文件上运行了head
一个:tail
Head
myusername@myusername:~/.cache/upstart$ head dbus.log
(process:2372): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.42.1/./gobject/gsignal.c:3101: signal id '20' is invalid for instance '0x1a43550'
(ubuntu-geoip-provider:2409): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.42.1/./gobject/gsignal.c:3101: signal id '29' is invalid for instance '0x2007620'
(process:2547): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.42.1/./gobject/gsignal.c:3101: signal id '47' is invalid for instance '0x1b0f370'
(ubuntu-geoip-provider:2409): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.42.1/./gobject/gsignal.c:3101: signal id '29' is invalid for instance '0x2007620'
(process:2372): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.42.1/./gobject/gsignal.c:3101: signal id '20' is invalid for instance '0x1a43550'
Tail
:
myusername@myusername:~/.cache/upstart$ tail dbus.log
(process:8147): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.42.1/./gobject/gsignal.c:3101: signal id '47' is invalid for instance '0x1b52790'
(process:7836): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.42.1/./gobject/gsignal.c:3101: signal id '20' is invalid for instance '0x1ae2dd0'
(process:7836): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.42.1/./gobject/gsignal.c:3101: signal id '20' is invalid for instance '0x1ae2dd0'
(process:8147): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.42.1/./gobject/gsignal.c:3101: signal id '47' is invalid for instance '0x1b52790'
(ubuntu-geoip-provider:7859): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.42.1/./gobject/gsignal.c:3101: signal id '29' is invalid for instance '0x2429e40'
(process:7836): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.42.1/./gobject/gsignal.c:3101: signal id '20' is invalid for instance '0x1ae2dd0'
(process:7836): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.42.1/./gobject/gsignal.c:3101: signal id '20' is invalid for instance '0x1ae2dd0'
(process:8147): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.42.1/./gobject/gsignal.c:3101: signal id '47' is invalid for instance '0x1b52790'
(ubuntu-geoip-provider:7859): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.42.1/./gobject/gsignal.c:3101: signal id '29' is invalid for instance '0x2429e40'