排除debian 6服务器重启的故障

前一天我安装了Mono 2.10(对于C#4的支持)。 从那以后,服务器随机重新启动,只要C#应用程序运行时没有错误消息或任何东西。

uname -a

Linux ns3001599.ovh.net 3.2.13-grsec-xxxx-grs-ipv6-64 #1 SMP Thu Mar 29 09:48:59 UTC 2012 x86_64 GNU/Linux 

单-V

 Mono JIT compiler version 2.10.8.1 (Debian 2.10.8.1-4) Copyright (C) 2002-2011 Novell, Inc, Xamarin, Inc and Contributors. TLS: __thread SIGSEGV: altstack Notifications: epoll Architecture: amd64 Disabled: none Misc: softdebug LLVM: supported, not enabled. GC: Included Boehm (with typed GC and Parallel Mark) 

日志文件中的一些行重叠,我猜是因为在服务器重新启动之前它没有写完这行。

 Jul 23 07:09:01 ns3001599 postfix/qmgr[3154]: C91AD60122CJul 23 07:10:10 ns3001599 kernel: imklog 4.6.4, log source = /proc/kmsg started. Jul 23 07:10:10 ns3001599 rsyslogd: [origin software="rsyslogd" swVersion="4.6.4" x-pid="2407" x-info="http://www.rsyslog.com"] (re)start Jul 23 07:10:10 ns3001599 kernel: Initializing cgroup subsys cpuset Jul 23 07:10:10 ns3001599 kernel: Linux version 3.2.13-grsec-xxxx-grs-ipv6-64 ([email protected]) (gcc version 4.3.2 (Debian 4.3.2-1.1) ) #1 SMP Thu Mar 29 09:48:59 UTC 2012 Jul 23 07:10:10 ns3001599 kernel: Command line: BOOT_IMAGE=/boot/bzImage-3.2.13-xxxx-grs-ipv6-64 root=/dev/md1 ro quiet 

如果你需要更多的信息,告诉我。 谢谢。

更新

  • 从Debian存储库安装内核2.6.32。 问题仍然没有解决。
  • Memtest没有报告什么不好,testing通过。
  • 更新到官方testingDebian内核3.2似乎解决了问题。 (到目前为止几乎24小时正常运行,至less分配比以前更好)

我发现很难相信像mono那样的软件能够随机地使Linux内核崩溃。 我认为安装单声道之后,崩溃开始发生的只是一种假设。

您需要查看其他原因,如内存错误或磁盘错误。 或者可能是一个内核错误。 您似乎使用的内核看起来不像是从Debian存储库中获取的,是定制的吗? 尝试从Debian稳定的内核,看看是否有帮助。 也尝试做一个内存testing,看看你是否有任何错误,检查您的磁盘坏块。

一些使用的工具:

过热,随机崩溃和重新启动的另一个原因。