mod_mono每分钟以文件更改为理由重新启动服务器进程

mod_mono每分钟以文件更改为理由重新启动服务器进程,mono,apache2,mod-mono,fedora16,Mono,Apache2,Mod Mono,Fedora16,在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

在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

如果您能提供导致问题的原因或如何解决问题的任何线索,我们将不胜感激。

我的mono/fedora安装似乎有问题。我删除了网站上的所有代码,服务器仍然在循环。我将该站点复制到同一硬件上的新制作的fedora17/mono安装,复制了apache配置文件,新服务器没有同样的问题。