[Mono-aspnet-list] mod_mono application hanging when process restarts

Daniel Lo Nigro lists at dan.cx
Sat Jul 6 08:51:03 UTC 2013


You could try mod_fastcgi + Mono FastCGI rather than mod_mono. Don't have
to switch the whole server to Nginx just to use FastCGI :)


On Fri, Jul 5, 2013 at 6:27 PM, Marco Ridoni <m.ridoni at gmail.com> wrote:

> I had several problems with mod_mono (application hanging, slow response
> times, etc.). I switched to nginx+mono/FastCGI and never looked back.
> Unfortunately I don't know if this is an option for you.
>
> m.
>
>
> 2013/7/5 Patrick Epstein <Patrick.Epstein at gmx.de>
>
>> Hello,
>>
>> I switched to a new opensuse 12.3 server recently and installed the mono
>> 3.0.4 package with mod_mono 2.10-11.1.1. the application was running fine
>> for over a year before on the old server.
>>
>> In order to run the application on the new server, I had to fix the
>> mod_mono_server path like described here
>> http://stackoverflow.com/questions/14244779/unable-to-run-an-asp-net-4-5-app-on-xsp-on-mono-3
>> .
>> Then it all looked nice, webapp worked, until I noticed at some point the
>> application won't reply to my requests.
>>
>>
>> I tried different appache server tuning settings and mono restart
>> settings.  Then I noticed that the app crashs exactly when mono trys to
>> restart it either by the "Time" or "MonoAutoRestartRequests" setting.
>>
>> I set the limit then to 150 requests, checked with the mono control panel
>> page and after 150 requests it stopped working.
>> Any ideas how to fix that? Can I provide more info?
>>
>> The only thing I see in the apache error log is this entry, multiple
>> times when restarting apache.
>>
>> [Fri Jul 05 10:00:21 2013] [warn] child process XXXX still did not exit,
>> sending a SIGTERM
>>
>> Best Regards
>> Patrick
>>
>> _______________________________________________
>> Mono-aspnet-list mailing list
>> Mono-aspnet-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>>
>>
>
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20130706/53a407f8/attachment.html>


More information about the Mono-aspnet-list mailing list