[Mono-bugs] [Bug 559470] New: mono webserver2 is eating cpu

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Dec 1 05:27:59 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=559470

http://bugzilla.novell.com/show_bug.cgi?id=559470#c0


           Summary: mono webserver2 is eating cpu
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: GC
        AssignedTo: lupus at novell.com
        ReportedBy: avkekem at hotmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


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

I have running xsp2 or mod-mono-server2, where i start my webapplication. After
some request, after a minute a thread is started which never stops. After
another minute another thread is started which never stops, and so on.
After a minute i did a thread dump on xsp2, which is shown below.

Please tell me what the problem is.

"<unnamed thread>" tid=0x0x7f6f1a005910 this=0x0x7f6f1b2a9b80 thread handle
0x41c state : interrupted state owns ()
  at (wrapper managed-to-native) System.IO.InotifyWatcher.ReadFromFD
(intptr,byte[],intptr) <0x0007d>
  at (wrapper managed-to-native) System.IO.InotifyWatcher.ReadFromFD
(intptr,byte[],intptr) <0x0007d>
  at System.IO.InotifyWatcher.Monitor () <0x0005f>
  at System.Threading.Thread.StartUnsafe () <0x0006b>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__
(object,intptr,intptr,intptr) <0x00051>

"<threadpool thread>" tid=0x0x7f6f196df910 this=0x0x7f6f1b414170 thread handle
0x425 state : interrupted state owns ()

"<unnamed thread>" tid=0x0x7f6f1eb91730 this=0x0x7f6f1ea02e60 thread handle
0x403 state : not waiting owns ()
  at (wrapper managed-to-native) System.IO.MonoIO.Read
(intptr,byte[],int,int,System.IO.MonoIOError&) <0x0005d>
  at (wrapper managed-to-native) System.IO.MonoIO.Read
(intptr,byte[],int,int,System.IO.MonoIOError&) <0x0005d>
  at System.IO.FileStream.ReadData (intptr,byte[],int,int) <0x00047>
  at System.IO.FileStream.ReadInternal (byte[],int,int) <0x0007b>
  at System.IO.FileStream.Read (byte[],int,int) <0x000ff>
  at System.IO.StreamReader.ReadBuffer () <0x00054>
  at System.IO.StreamReader.Read () <0x00037>
  at System.TermInfoDriver.ReadKeyInternal (bool&) <0x00121>
  at System.TermInfoDriver.ReadLine () <0x000bb>
  at System.ConsoleDriver.ReadLine () <0x00022>
  at System.Console.ReadLine () <0x000c3>
  at Mono.WebServer.XSP.Server.RealMain
(string[],bool,Mono.WebServer.IApplicationHost,bool) <0x01547>
  at (wrapper remoting-invoke-with-check) Mono.WebServer.XSP.Server.RealMain
(string[],bool,Mono.WebServer.IApplicationHost,bool) <0x0009b>
  at (wrapper xdomain-dispatch) Mono.WebServer.XSP.Server.RealMain
(object,byte[]&,byte[]&,string[],bool,bool) <0x002e7>
  at (wrapper xdomain-invoke) Mono.WebServer.XSP.Server.RealMain
(string[],bool,Mono.WebServer.IApplicationHost,bool) <0x00196>
  at (wrapper remoting-invoke-with-check) Mono.WebServer.XSP.Server.RealMain
(string[],bool,Mono.WebServer.IApplicationHost,bool) <0x00067>
  at Mono.WebServer.XSP.Server.RealMain
(string[],bool,Mono.WebServer.IApplicationHost,bool) <0x01337>
  at (wrapper remoting-invoke-with-check) Mono.WebServer.XSP.Server.RealMain
(string[],bool,Mono.WebServer.IApplicationHost,bool) <0x0009b>
  at Mono.WebServer.XSP.Server.Main (string[]) <0x0009b>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object
(object,intptr,intptr,intptr) <0x00054>

"<threadpool thread>" tid=0x0x7f6f190e3910 this=0x0x7f6f19d7bb80 thread handle
0x42a state : interrupted state owns ()

"<threadpool thread>" tid=0x0x7f6f1859f910 this=0x0x7f6f1b5e35c0 thread handle
0x4d6 state : interrupted state owns ()

"<threadpool thread>" tid=0x0x7f6f1a407910 this=0x0x7f6f1b5f4170 thread handle
0x417 state : interrupted state owns ()

"<threadpool thread>" tid=0x0x7f6f1b252910 this=0x0x7f6f1b5e3170 thread handle
0x410 state : interrupted state owns ()

"<threadpool thread>" tid=0x0x7f6f18c9f910 this=0x0x7f6f1b414b80 thread handle
0x4c8 state : interrupted state owns ()

"<threadpool thread>" tid=0x0x7f6f1a608910 this=0x0x7f6f1b5f4730 thread handle
0x414 state : interrupted state owns ()

"<threadpool thread>" tid=0x0x7f6f198e4910 this=0x0x7f6f1b414450 thread handle
0x423 state : interrupted state owns ()

"<threadpool thread>" tid=0x0x7f6f13a0d910 this=0x0x7f6f1b2a9730 thread handle
0x48f state : interrupted state owns ()

"<threadpool thread>" tid=0x0x7f6f1838a910 this=0x0x7f6f1b2a9a10 thread handle
0x44a state : interrupted state owns ()

"<threadpool thread>" tid=0x0x7f6f1a206910 this=0x0x7f6f1b414e60 thread handle
0x418 state : interrupted state owns ()
  at System.Web.Caching.Cache.ExpireItems (object) <0x000af>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this___object
(object,intptr,intptr,intptr) <0x0005c>

"<threadpool thread>" tid=0x0x7f6f19c71910 this=0x0x7f6f1b31d000 thread handle
0x41e state : interrupted state owns ()

"<threadpool thread>" tid=0x0x7f6f1ae4c910 this=0x0x7f6f1b5e3450 thread handle
0x40d state : interrupted state owns ()

"<threadpool thread>" tid=0x0x7f6f1ac47910 this=0x0x7f6f1b5e32e0 thread handle
0x40e state : interrupted state owns ()

"<threadpool thread>" tid=0x0x7f6f13fff910 this=0x0x7f6f1b2a98a0 thread handle
0x4cb state : interrupted state owns ()

"<threadpool thread>" tid=0x0x7f6f1a809910 this=0x0x7f6f1b5e3000 thread handle
0x412 state : interrupted state owns ()

"<threadpool thread>" tid=0x0x7f6f18a9a910 this=0x0x7f6f1b4145c0 thread handle
0x4b9 state : interrupted state owns ()

"Timer-Scheduler" tid=0x0x7f6f192e8910 this=0x0x7f6f19d7bcf0 thread handle
0x49f state : interrupted state owns ()
  at (wrapper managed-to-native) System.Threading.Monitor.Monitor_wait
(object,int) <0x0004b>
  at (wrapper managed-to-native) System.Threading.Monitor.Monitor_wait
(object,int) <0x0004b>
  at System.Threading.Monitor.Wait (object,int) <0x00043>
  at System.Threading.Timer/Scheduler.SchedulerThread () <0x00caf>
  at System.Threading.Thread.StartUnsafe () <0x0006b>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__
(object,intptr,intptr,intptr) <0x00051>


Reproducible: Always

Steps to Reproduce:
1.
2.
3.

-- 
Configure bugmail: http://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