[Mono-bugs] [Bug 681164] New: OutputCacheAttribute in MVC causes 100% CPU usage and mono to stop responding

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Mar 21 03:20:46 EDT 2011


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

https://bugzilla.novell.com/show_bug.cgi?id=681164#c0


           Summary: OutputCacheAttribute in MVC causes 100% CPU usage and
                    mono to stop responding
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.10.x
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: rupurt at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=420397)
 --> (http://bugzilla.novell.com/attachment.cgi?id=420397)
MVC project with scripts using wget to request action which triggers crash

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.16
(KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16

When using the OutputCacheAttribute in MVC it causes mono to stop responding
after several requests. I have tested the issue on both MVC 2 and 3 as well as
applying the attribute controller wide and only to the action.

I have tried the OutputCache property in webforms and it DOES NOT cause the
same issue.

It is always repeatable however the number of requests which cause the problem
is not constant. These are not simultaneous connections. The problem occurs
after serving 1 request at a time, which is the simplest possible case.



Reproducible: Always

Steps to Reproduce:
1. Running on mono 2.10.1 with apache and mod-mono-server with mono-server4
2. Make several repeated requests to the same controller action
3. After a while mono hangs and uses 100% CPU
Actual Results:  
After a few requests (10-100) mono hangs and stops responding

Expected Results:  
Mono should keep servicing requests

Run the nocrash.sh script to request an MVC action 200 times without any
problems using wget

Run the crash.sh script to request and MVC action 200 times. After a few
requests (10-100) mono will hang and stop responding.

NOTE: You may need to change the hostname you are requesting in the scripts. By
default it is set to 127.0.0.1

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