[Mono-dev] mod_mono, fast_cgi and configuration.

Ted Milker ted at dsndata.com
Wed May 9 08:55:25 EDT 2007


Joshua Tauberer wrote:
> Program output (stdout/stderr) should be redirected to something other 
> than the main server error log (root access only). Maybe viewable in the 
> control panel.
>   
This also reminds me of something else that happens.  When MonoDebug is 
present in apache's configuration file, true or false, it spams up the 
apache error log with:

[Fri May 04 08:33:20 2007] [error] Not running mod-mono-server.exe 
because no MonoApplications, MonoApplicationsConfigFile or 
MonoApplicationConfigDir specified.

If you remove MonoDebug, this message goes away.  There is some behavior 
in mod_mono that does something different when MonoDebug is present(even 
if set to false) that probably needs to be looked at.
> Something needs to be figured out about why we are forced into spawning 
> a dozen m-m-servers (one per Apache child process) at startup.
>   
I do not see this behavior on my setup:

www      76661  0.0  1.6 57696 32788  ??  Ss   Mon12PM   2:23.84 
/usr/local/bin/mono /usr/local/lib/mono/2.0/mod-mono-server2.exe 
--filename /tmp/mod_mo
www      50593  0.0  0.6 17036 12220  ??  I    10:46PM   0:01.92 
/usr/local/sbin/httpd -DNOHTTPACCEPT
www      70432  0.0  0.6 16420 11596  ??  I     3:00AM   0:01.77 
/usr/local/sbin/httpd -DNOHTTPACCEPT
root     72440  0.0  0.5 15444  9796  ??  Ss   Mon12PM   0:04.90 
/usr/local/sbin/httpd -DNOHTTPACCEPT
www      87866  0.0  0.6 16188 11356  ??  I     6:56AM   0:00.71 
/usr/local/sbin/httpd -DNOHTTPACCEPT
www      88766  0.0  0.5 16116 11288  ??  I     7:07AM   0:00.57 
/usr/local/sbin/httpd -DNOHTTPACCEPT
www      88887  0.0  0.6 17500 12672  ??  I     7:08AM   0:00.36 
/usr/local/sbin/httpd -DNOHTTPACCEPT
www      88888  0.0  0.5 16136 11300  ??  I     7:08AM   0:00.37 
/usr/local/sbin/httpd -DNOHTTPACCEPT
www      89046  0.0  0.5 15920 11088  ??  I     7:10AM   0:00.55 
/usr/local/sbin/httpd -DNOHTTPACCEPT
www      90005  0.0  0.5 15672 10708  ??  I     7:23AM   0:00.16 
/usr/local/sbin/httpd -DNOHTTPACCEPT
www      90006  0.0  0.5 16112 11264  ??  I     7:23AM   0:00.25 
/usr/local/sbin/httpd -DNOHTTPACCEPT
www      90426  0.0  0.5 16116 11172  ??  I     7:29AM   0:00.38 
/usr/local/sbin/httpd -DNOHTTPACCEPT





More information about the Mono-devel-list mailing list