[Mono-bugs] [Bug 472732] mod-mono spawns many process and fails to respond when using AutoRestartMode

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 11 12:15:59 EST 2009


User bassam at symform.com added comment

--- Comment #15 from Bassam Tabbara <bassam at symform.com>  2009-02-11 10:15:58 MST ---
Marek, thanks for the explanation. I'm happy for this to be a configuration
issue on my part, and I would happily offer to document it on the mod-mono wiki
once its setteled :-)

A couple of clarifications:
* We are using MPM worker
* I've set the hard and soft per proccess FD limits to 32768. When I check the
limits of the backend process using /proc/BACKENDPID/limits it shows 32768 on
both soft and hard limits. I'm not clear about your comment of this limit being
set on a group of processes.
* I've set the autorestart request limit to 100 only for the repro. It was set
to 10,000 on our servers.
* The repro is most basic ASP.NET app with a single default.aspx page. Shutdown
of this application should be pretty fast.

If I understand your explanation, you are proposing that I size up the request
limits, etc. to *avoid* this issue. It seems that there is a window here where
apache/mod-mono could start a large number of processes and consume a large
number of FD. This window happens when backend are shutdown and restarted and
is a result of the synchornous operations that are performed. Is this correct?

My issues is that I'm unomfortable running without any limits (time or request)
based, and I've yet been able to find the right configuration to avoid this
issue when a limits is reached. I've observed that by setting the request limit
to 10,000 (and having the FD descriptor limit set to a high number) this
prolongs the lock-up issue but it still happens.

The cronjob approach might be the most robust approach at this point.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list