我看到在我的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
关于如何解决这个问题的任何想法?默认情况下,我的ubuntu 12.04上没有安装Rsyslog.当我安装Rsyslog时,我的kern.log,syslog开始溢出这些消息.
编辑:
以下是我的主持人对rsyslog所说的内容:“你也不应该运行Rsyslog,并且没有太多要求”.
但我认为问题不在于Rsyslog本身,而是由于广泛的日志记录而消耗高cpu.如果我删除Rsyslog,错误仍然会发生,但它不会被记录.
这与openVZ上的共享内核有关吗?任何人都有任何想法?