[Mono-list] mod_mono stability issues

Andrus kobruleht2 at hot.ee
Sat Jan 24 16:59:07 EST 2009


I'm testing simple asmx web service running with latest Apache, Mono SVN and 
mod_mono in localhost.

After reboot Mono server does not process asmx files. Apache error log 
contains:

[Sat Jan 24 23:23:13 2009] [warn] handler: mono
[Sat Jan 24 23:23:13 2009] [warn] config = 0xd70720
[Sat Jan 24 23:23:13 2009] [warn] dir_config = 0xd70718
[Sat Jan 24 23:23:13 2009] [warn] idx = -1
[Sat Jan 24 23:23:13 2009] [warn] Alias not found. Checking for 
auto-applications.
[Sat Jan 24 23:23:13 2009] [warn] try_connect: 0
[Sat Jan 24 23:23:13 2009] [warn] After setup_socket
[Sat Jan 24 23:23:13 2009] [warn] Sending init data
[Sat Jan 24 23:23:13 2009] [warn] Send init
[Sat Jan 24 23:23:13 2009] [warn] Initial data size: 540
[Sat Jan 24 23:23:13 2009] [warn] Accept: */*
[Sat Jan 24 23:23:13 2009] [warn] Content-Length: 322
[Sat Jan 24 23:23:13 2009] [warn] Content-Type: text/xml; charset=utf-8
[Sat Jan 24 23:23:13 2009] [warn] SOAPAction: 
"http://mycomp.com/Myapp/Login"
[Sat Jan 24 23:23:13 2009] [warn] UA-CPU: x86
[Sat Jan 24 23:23:13 2009] [warn] Accept-Encoding: gzip, deflate
[Sat Jan 24 23:23:13 2009] [warn] User-Agent: Mozilla/4.0 (compatible; MSIE 
7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.21022; .NET CLR 
3.5.30729; .NET CLR 3.0.30618)
[Sat Jan 24 23:23:13 2009] [warn] Host: localhost
[Sat Jan 24 23:23:13 2009] [warn] Connection: Keep-Alive
[Sat Jan 24 23:23:13 2009] [warn] Cache-Control: no-cache
[Sat Jan 24 23:23:13 2009] [warn] Loop
[Sat Jan 24 23:23:13 2009] [warn] Command received: DECLINE_REQUEST (9)
[Sat Jan 24 23:23:13 2009] [warn] Done. Status: -1

Stopping Apache, starting mod_mono_server manually and starting Apache again 
allows Mono to serve asmx file.

After few minutes of work, service calls start to time out.

Apache error log contains:

[Sat Jan 24 23:15:27 2009] [warn] handler: mono
[Sat Jan 24 23:15:27 2009] [warn] config = 0x990720
[Sat Jan 24 23:15:27 2009] [warn] dir_config = 0x990718
[Sat Jan 24 23:15:27 2009] [warn] idx = -1
[Sat Jan 24 23:15:27 2009] [warn] Alias not found. Checking for 
auto-applications.
[Sat Jan 24 23:15:27 2009] [warn] try_connect: 0
[Sat Jan 24 23:15:27 2009] [warn] After setup_socket
[Sat Jan 24 23:15:27 2009] [warn] Sending init data
[Sat Jan 24 23:15:27 2009] [warn] Send init
[Sat Jan 24 23:15:27 2009] [warn] Initial data size: 540
[Sat Jan 24 23:15:27 2009] [warn] Accept: */*
[Sat Jan 24 23:15:27 2009] [warn] Content-Length: 322
[Sat Jan 24 23:15:27 2009] [warn] Content-Type: text/xml; charset=utf-8
[Sat Jan 24 23:15:27 2009] [warn] SOAPAction: 
"http://mycomp.com/Myapp/Login"
[Sat Jan 24 23:15:27 2009] [warn] UA-CPU: x86
[Sat Jan 24 23:15:27 2009] [warn] Accept-Encoding: gzip, deflate
[Sat Jan 24 23:15:27 2009] [warn] User-Agent: Mozilla/4.0 (compatible; MSIE 
7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.21022; .NET CLR 
3.5.30729; .NET CLR 3.0.30618)
[Sat Jan 24 23:15:27 2009] [warn] Host: localhost
[Sat Jan 24 23:15:27 2009] [warn] Connection: Keep-Alive
[Sat Jan 24 23:15:27 2009] [warn] Cache-Control: no-cache
[Sat Jan 24 23:15:27 2009] [warn] Loop
[Sat Jan 24 23:15:27 2009] [warn] Command received: GET_SERVER_VARIABLES (1)
[Sat Jan 24 23:15:27 2009] [warn] GATEWAY_INTERFACE: CGI/1.1
[Sat Jan 24 23:15:27 2009] [warn] SERVER_PROTOCOL: HTTP/1.1
[Sat Jan 24 23:15:27 2009] [warn] REQUEST_METHOD: POST
[Sat Jan 24 23:15:27 2009] [warn] QUERY_STRING:
[Sat Jan 24 23:15:27 2009] [warn] REQUEST_URI: /StockService.asmx
[Sat Jan 24 23:15:27 2009] [warn] SCRIPT_NAME: /StockService.asmx
[Sat Jan 24 23:15:27 2009] [warn] CONTENT_LENGTH: 322
[Sat Jan 24 23:15:27 2009] [warn] CONTENT_TYPE: text/xml; charset=utf-8
[Sat Jan 24 23:15:27 2009] [warn] PATH: 
c:\\mono\\bin;c:\\tools;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Program 
Files\\Common Files\\Roxio Shared\\DLLShared\\;C:\\Program Files\\Common 
Files\\Roxio Shared\\10.0\\DLLShared\\
[Sat Jan 24 23:15:27 2009] [warn] SystemRoot: C:\\Windows
[Sat Jan 24 23:15:27 2009] [warn] COMSPEC: C:\\Windows\\system32\\cmd.exe
[Sat Jan 24 23:15:27 2009] [warn] PATHEXT: 
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
[Sat Jan 24 23:15:27 2009] [warn] WINDIR: C:\\Windows
[Sat Jan 24 23:15:27 2009] [warn] SERVER_SIGNATURE:
[Sat Jan 24 23:15:27 2009] [warn] SERVER_SOFTWARE: Apache/2.2.10 (Win32) 
mod_mono/1.9
[Sat Jan 24 23:15:27 2009] [warn] SERVER_NAME: localhost
[Sat Jan 24 23:15:27 2009] [warn] SERVER_ADDR: 127.0.0.1
[Sat Jan 24 23:15:27 2009] [warn] SERVER_PORT: 80
[Sat Jan 24 23:15:27 2009] [warn] REMOTE_ADDR: 127.0.0.1
[Sat Jan 24 23:15:27 2009] [warn] DOCUMENT_ROOT: 
I:/Web/SilverlightApplication4_Web
[Sat Jan 24 23:15:27 2009] [warn] SERVER_ADMIN: kobruleht2 at hotmail.com
[Sat Jan 24 23:15:27 2009] [warn] SCRIPT_FILENAME: 
I:/Web/SilverlightApplication4_Web/StockService.asmx
[Sat Jan 24 23:15:27 2009] [warn] REMOTE_PORT: 50536
[Sat Jan 24 23:15:27 2009] [warn] Command received: SHOULD_CLIENT_BLOCK (5)
[Sat Jan 24 23:15:27 2009] [warn] Command received: SET_CONFIGURATION (13)
[Sat Jan 24 23:15:27 2009] [warn] Command received: SETUP_CLIENT_BLOCK (6)
[Sat Jan 24 23:15:27 2009] [warn] Command received: GET_CLIENT_BLOCK (7)
[Sat Jan 24 23:15:27 2009] [warn] requested size == 322, actual size == 322


Any idea how to fix those issues ?

Andrus. 



More information about the Mono-list mailing list