“内核:无法读取proc文件系统:1 – 操作不允许” – 在OpenVZ VPS上,每分钟有数百万个这样的消息在kern.log中?

我看到我的OpenVZ Ubuntu 12.04服务器上的反复无休止的消息在kern.log中。

Mar 2 06:23:33 localhost kernel: Cannot read proc file system: 1 - Operation not permitted. Mar 2 06:24:04 localhost kernel: last message repeated 5082222 times Mar 2 06:25:05 localhost kernel: last message repeated 9939060 times Mar 2 06:26:06 localhost kernel: last message repeated 8501480 times Mar 2 06:27:07 localhost kernel: last message repeated 10177446 times Mar 2 06:28:08 localhost kernel: last message repeated 9813564 times Mar 2 06:29:09 localhost kernel: last message repeated 10017198 times Mar 2 06:30:10 localhost kernel: last message repeated 9156706 times Mar 2 06:31:11 localhost kernel: last message repeated 7069506 times Mar 2 06:32:12 localhost kernel: last message repeated 10223799 times Mar 2 06:33:13 localhost kernel: last message repeated 10452790 times Mar 2 06:34:14 localhost kernel: last message repeated 9716982 times Mar 2 06:35:15 localhost kernel: last message repeated 9178422 times Mar 2 06:36:16 localhost kernel: last message repeated 7886225 times Mar 2 06:37:17 localhost kernel: last message repeated 10261076 times Mar 2 06:38:18 localhost kernel: last message repeated 10283553 times Mar 2 06:39:19 localhost kernel: last message repeated 10110874 times 

有关如何解决这个问题的任何想法? Rsyslog默认没有安装在我的Ubuntu 12.04上。 当我安装Rsyslog,我的kern.log,syslog开始溢出这些消息。

编辑:

以下是我的主机对rsyslog所说的话:“你也不应该运行Rsyslog,而且对它没有太多要求”。

但是我相信这个问题并不是直接与Rsyslog本身有关的,由于广泛的日志logging,它只是消耗高CPU。 如果我删除Rsyslog,错误仍然会发生,但它不会被logging。

这与openVZ上的共享内核有关吗? 任何人有任何想法?

Rsyslog有在OpenVZ上使用100%CPU的倾向。 我通过SSH运行以下命令来解决问题

 service rsyslog stop sed -i -e 's/^\$ModLoad imklog/#\$ModLoad imklog/g' /etc/rsyslog.conf service rsyslog start 

或者,看看这里的解决方法。