1

在 Fedora 17 上运行 mod_mono server 4.0,每分钟,每分钟,mono 都会自行重启,并引用文件更改作为重启的原因,尽管事实上没有创建任何文件。

有时但并非总是如此,它会在循环过程中引发异常。示例日志如下:

Change: /var/www/html/mysite/script/dashboard/view
Change: /var/www/html/mysite/script/dashboard/controller
Change: /var/www/html/mysite/script/dashboard/model
Change: /var/www/html/mysite/script/dashboard/chart
Change: /var/www/html/mysite/script/dashboard
Change: /var/www/html/mysite/script
Change: Global.asax
Change: /var/www/html/mysite/script/dashboard/store
System.Threading.ThreadAbortException: Thread was being aborted
  at (wrapper managed-to-native) System.IO.MonoIO:GetFileAttributes (string,System.IO.MonoIOError&)
  at System.IO.MonoIO.ExistsDirectory (System.String path, System.IO.MonoIOError& error) [0x00000] in /builddir/build/BUILD/mono-2.10.8/mcs/class/corlib/System.IO/MonoIO.cs:254 
  at System.IO.Directory.Exists (System.String path) [0x00014] in /builddir/build/BUILD/mono-2.10.8/mcs/class/corlib/System.IO/Directory.cs:202 
  at Mono.WebServer.ModMonoWorkerRequest.TryDirectory () [0x00007] in /builddir/build/BUILD/xsp-2.10.2/src/Mono.WebServer.Apache/ModMonoWorkerRequest.cs:191 
  at Mono.WebServer.ModMonoWorkerRequest.GetRequestData () [0x00000] in /builddir/build/BUILD/xsp-2.10.2/src/Mono.WebServer.Apache/ModMonoWorkerRequest.cs:216 
  at Mono.WebServer.MonoWorkerRequest.ReadRequestData () [0x00000] in /builddir/build/BUILD/xsp-2.10.2/src/Mono.WebServer/MonoWorkerRequest.cs:334 
  at Mono.WebServer.BaseApplicationHost.ProcessRequest (Mono.WebServer.MonoWorkerRequest mwr) [0x0000e] in /builddir/build/BUILD/xsp-2.10.2/src/Mono.WebServer/BaseApplicationHost.cs:114 
  at Mono.WebServer.ModMonoApplicationHost.ProcessRequest (Int32 reqId, System.String verb, System.String queryString, System.String path, System.String protocol, System.String localAddress, Int32 serverPort, System.String remoteAddress, Int32 remotePort, System.String remoteName, System.String[] headers, System.String[] headerValues, System.Object worker) [0x0016d] in /builddir/build/BUILD/xsp-2.10.2/src/Mono.WebServer.Apache/ModMonoApplicationHost.cs:113 
  at (wrapper remoting-invoke-with-check) Mono.WebServer.ModMonoApplicationHost:ProcessRequest (int,string,string,string,string,string,int,string,int,string,string[],string[],object)
  at Mono.WebServer.ModMonoWorker.InnerRun (System.Object state) [0x0017d] in /builddir/build/BUILD/xsp-2.10.2/src/Mono.WebServer.Apache/ModMonoWorker.cs:239 
  at Mono.WebServer.ModMonoWorker.Run (System.Object state) [0x00000] in /builddir/build/BUILD/xsp-2.10.2/src/Mono.WebServer.Apache/ModMonoWorker.cs:92 
[Tue Mar 26 14:24:02 2013] [error] (70014)End of file found: read_data failed
[Tue Mar 26 14:24:02 2013] [error] Command stream corrupted, last command was 1
[Tue Mar 26 14:24:02 2013] [error] (104)Connection reset by peer: read_data failed
[Tue Mar 26 14:24:02 2013] [error] Command stream corrupted, last command was -1

任何有关导致问题的原因或如何解决问题的线索将不胜感激。

4

0 回答 0