[Mono-bugs] [Bug 69117][Nor] New - mod_mono 1.0.4 on AMD64

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 4 Nov 2004 21:04:58 -0500 (EST)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by mmorano@mikeandwan.us.


--- shadow/69117	2004-11-04 21:04:58.000000000 -0500
+++ shadow/69117.tmp.2470	2004-11-04 21:04:58.000000000 -0500
@@ -0,0 +1,140 @@
+Bug#: 69117
+Product: Mono: Class Libraries
+Version: 1.1
+OS Details: Gentoo Linux (AMD64)
+Status: NEW   
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: mmorano@mikeandwan.us               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: mod_mono 1.0.4 on AMD64
+Description of Problem:
+When trying to run my web application with mono-1.1.2 and mod_mono-1.0.4 on
+AMD64, my processor spikes to 100% utilization for a about 1/2 minute or so
+before it gives up, and gives the following generic 503 error:
+Service Temporarily Unavailable
+The server is temporarily unable to service your request due to maintenance
+downtime or capacity problems. Please try again later.
+This also happened with mod_mono 1.0.2 for me on the AMD64 box, but did not
+have much time to look into it.  I was able to use mod_mono 1.0.1 on AMD64,
+and did not run into this error.
+Additionally, the site works just fine using mono-1.1.2 and XSP-1.0.4 on
+the AMD64.
+I have also been successful in using mod_mono 1.0.4 on x86, just not the
+AMD64 box.
+Steps to reproduce the problem (on the AMD64):
+1. apache2 -X -D MONO
+Actual Results:
+a. CPU spikes to 100% utilization (more than typical for page compilation
+on my system) for about .5 to 1 minute
+b. End up getting 503 error indicated above
+c. get the following output to the console:
+Adding applications from config file '/var/www/localhost/mono.webapp'
+Registering application:
+    Host:          www.mikeandwan.us
+    Port:          80
+    Virtual path:  /
+    Physical path: /var/www/localhost/mike_www
+Listening on: /tmp/mod_mono_server
+Root directory: /
+System.IO.IOException: Read failure --->
+System.Net.Sockets.SocketException: Operation on non-blocking socket would
+in <0x000b9> System.Net.Sockets.Socket:Receive_nochecks
+in <0x00145> System.Net.Sockets.Socket:Receive
+in <0x00179> System.Net.Sockets.NetworkStream:Read (byte[],int,int)
+--- End of inner exception stack trace ---
+in <0x001e8> System.Net.Sockets.NetworkStream:Read (byte[],int,int)
+in <0x000f9> System.IO.BinaryReader:FillBuffer (int)
+in <0x00024> System.IO.BinaryReader:ReadInt32 ()
+in <0x001d4> Mono.ASPNET.ModMonoRequest:GetInitialData ()
+in <0x00069> (wrapper remoting-invoke-with-check)
+Mono.ASPNET.ModMonoRequest:GetInitialData ()
+in <0x0016c> Mono.ASPNET.ModMonoRequest:.ctor
+in <0x0007e> (wrapper remoting-invoke-with-check)
+Mono.ASPNET.ModMonoRequest:.ctor (System.Net.Sockets.NetworkStream)
+in <0x00054> Mono.ASPNET.RequestReader:.ctor (System.Net.Sockets.NetworkStream)
+in <0x000a8> Mono.ASPNET.ModMonoWorker:Run (object)
+Expected Results:
+The site would load
+How often does this happen? 
+Additional Information:
+Gentoo Linux (64bit) (gentoo-dev-sources 2.6.9-r1)
+-- GLIBC --
+GNU C Library 20040808 release version 2.3.4, by Roland McGrath et al.
+Copyright (C) 2004 Free Software Foundation, Inc.
+This is free software; see the source for copying conditions.
+There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
+Compiled by GNU CC version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1,
+ssp-3.3.2-2, pie-8.7.6).
+Compiled on a Linux 2.6.6 system on 2004-10-23.
+Available extensions:
+        GNU libio by Per Bothner
+        crypt add-on version 2.1 by Michael Glad and others
+        linuxthreads-0.10 by Xavier Leroy
+        BIND-8.2.3-T5B
+        libthread_db work sponsored by Alpha Processor Inc
+        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
+Thread-local storage support included.
+For bug reporting instructions, please see:
+-- MONO --
+Mono JIT compiler version 1.1.2, (C) 2002-2004 Novell, Inc and
+Contributors. www.go-mono.com
+        TLS:           __thread
+        GC:            Included Boehm (with typed GC)
+        SIGSEGV      : normal
+        Globalization: ICU
+-- MOD_MONO --
+Apache/2.0.52 (Gentoo/Linux) mod_mono/1.0.4
+-- XSP --
+(c) 2002,2003 Ximian, Inc.
+(c) 2003,2004 Novell, Inc.
+Minimalistic web server for testing System.Web