[Mono-bugs] [Bug 472732] mod-mono crashes after timeout

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Feb 10 18:15:01 EST 2009


https://bugzilla.novell.com/show_bug.cgi?id=472732

User bassam at symform.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=472732#c12





--- Comment #12 from Bassam Tabbara <bassam at symform.com>  2009-02-10 16:15:00 MST ---
I now have a better idea of what is happening and good repro. The problem seems
to be related to MonoAutoRestartMode=Request. I've set that to 100 request, and
sure enough after 100 request I run into the problem described above.

I would appreciate your help fixing the problem.

Repro:
1) on a linux box that has apache2 and mod-mono-server2 installed. I am using
Debian(etch) Linux 2.6.26, Apache/2.2.9 and mono 2.0-1.
2) create a directory (~/test) that has the attached files (Default.aspx and
web.config). Chown -R www-data:www-data ~/test.
3) Add the attached "test" file to /etc/apache2/sites-enabled
4) verify that you are able to see the default page. From a web browser go to
http://machine_name. You should see "Hello mod-mono".
5) Now run the following "ab -n 1000 -c 50 http://machine_name/"

Results:
- ab will timeout.
- there are many mod-mono process started (see ps aux)
- /var/log/apache2/errors.log has many errors (attached).
- accessing the page results in 503 errors.
- after the failure every new request results in apache spawning new mod-mono
processes.
- /etc/init.d/apache2 stop will not stop the mod-mono-server2 processes.

Expected:
- ab to complete successfully.
- no errors in the log file.

Notes:
- the per process FD limit was set to 32768 in this test.
- there is plenty of memory on the machine.

Thanks!

-- 
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