[Mono-bugs] [Bug 522631] New: after heavy load, mod-mono server stops serving asmx based requests

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jul 16 06:48:59 EDT 2009


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


           Summary: after heavy load, mod-mono server stops serving asmx
                    based requests
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.4.x AddOn CD
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: kuanil at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


We are running iFolder server behind mod-mono server. It runs fine initially.
After couple of hours, almost 60 clients complete the connection to server and
start accessing the server concurrently. Clients request for data
synchronization and this request reaches iFolder server through mod-mono
server. Please note that there are 2 iFolder servers for this and all clients
are evenly distributed on both servers. 

When this is going on, try connecting either fresh clients or accessing a
web-service function thorugh UI, then server returns "500 error". But meanwhile
other 60 clients keep on getting the service from servers and they continue
their synchronization.

We observed that: The 60 clients which are successfully getting their request
served from server are using "ashx" as URL to communicate with server. e.g.
they send https://<IP>/SyncHandler.ashx...  as the URL to server. But new
clients or from UI, when it calls any web-service function from server, then it
sends "asmx" as the request URI. e.g. it uses
https://<IP>/DomainService.asmx... 

Same asmx based calls used to work when server was started in the beginning.

< Output of /var/log/apache2/access_log when server returns 500 error for asmx
based requests, Meanwhile you can see that requests with "ashx" passes with
200>

164.99.139.56 - - [16/Jul/2009:03:19:06 -0600] "GET /simias10/Simias.asmx
HTTP/1.1" 500 2891 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20"
10.200.33.19 - - [16/Jul/2009:03:19:19 -0600] "POST
/simias10/DiscoveryService.asmx HTTP/1.1" 500 2891
10.200.33.3 - - [16/Jul/2009:03:19:23 -0600] "POST
/simias10/DiscoveryService.asmx HTTP/1.1" 500 2891
10.200.33.59 - - [16/Jul/2009:03:19:26 -0600] "POST /simias10/SyncHandler.ashx
HTTP/1.1" 200 90
10.200.33.59 - - [16/Jul/2009:03:19:26 -0600] "POST /simias10/SyncHandler.ashx
HTTP/1.1" 200 680
10.200.33.59 - - [16/Jul/2009:03:19:26 -0600] "POST /simias10/SyncHandler.ashx
HTTP/1.1" 200 -
10.200.33.59 - - [16/Jul/2009:03:19:26 -0600] "POST /simias10/SyncHandler.ashx
HTTP/1.1" 200 1
10.200.33.59 - - [16/Jul/2009:03:19:26 -0600] "POST /simias10/SyncHandler.ashx
HTTP/1.1" 200 -
10.200.33.59 - - [16/Jul/2009:03:19:26 -0600] "POST /simias10/SyncHandler.ashx
HTTP/1.1" 200 -
10.200.33.59 - - [16/Jul/2009:03:19:26 -0600] "POST /simias10/SyncHandler.ashx
HTTP/1.1" 200 -
10.200.33.59 - - [16/Jul/2009:03:19:26 -0600] "POST /simias10/SyncHandler.ashx
HTTP/1.1" 200 -
10.200.33.59 - - [16/Jul/2009:03:19:26 -0600] "POST /simias10/SyncHandler.ashx
HTTP/1.1" 200 -
10.200.33.59 - - [16/Jul/2009:03:19:26 -0600] "POST /simias10/SyncHandler.ashx
HTTP/1.1" 200 17
10.200.33.59 - - [16/Jul/2009:03:19:26 -0600] "POST /simias10/SyncHandler.ashx
HTTP/1.1" 200 1


<This is the 500 error shown on UI when we try to access a web-service with
"asmx" request>

Server Error in '/simias10' Application

System.InvalidOperationException: Unsupported request format.
  at System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler
(System.Web.HttpContext context, System.String verb, System.String url,
System.String filePath) [0x00000] 
  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context,
System.String url, Boolean ignoreContextHandler) [0x00000] 
  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context,
System.String url) [0x00000] 
  at System.Web.HttpApplication+<Pipeline>c__Iterator2.MoveNext () [0x00000]   

----------------------------------------------------------------------------

We have modified the conf file so that the MonoMaxActiveRequests and
MonoMaxWaitingRequests is 250. We also kept looking these entries through
mod-mono control panel and number of these requests did not cross more than 28.

Once this problem comes, then there is no other way than restarting the server
to get fresh client connected.

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


More information about the mono-bugs mailing list