Re: [Mono-dev] NancyFX self hosting (HttpListener) locking up on linux

2013-08-05 Thread Alfred Hall
Getting similar issues when using FastCGI/XSP proxied via Nginx using tcp and 
unix sockets (tried both). After hammering it with jmeter it ends up locking 
up. I'm wondering if other mono webapps have this issue. Would be useful if 
someone else here could do a similar loadtest using jmeter  and let me know if 
it happens to them.

-Original message-
From: Alfred Hall ah...@ahall.org
Sent: Sunday 4th August 2013 17:41
To: Nikita Tsukanov kek...@gmail.com; mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] NancyFX self hosting (HttpListener) locking up on linux

 
Hi Nikita.

Full thread dump:

threadpool thread tid=0x0x7fc4ad29d700 this=0x0x7fc4ad584c70 thread handle 
0x80f state : not waiting owns ()


IO Threadpool worker tid=0x0x7fc4ad25c700 this=0x0x7fc4ad584dd0 thread handle 
0x810 state : interrupted state owns ()


IO Threadpool worker tid=0x0x7fc4a7567700 this=0x0x7fc4a741d350 thread handle 
0x845 state : interrupted state owns ()


Threadpool worker tid=0x0x7fc4ac39a700 this=0x0x7fc4a6192270 thread handle 
0x837 state : interrupted state owns ()
  at unknown 0x
  at (wrapper managed-to-native) object.__icall_wrapper_mono_gc_alloc_vector 
(intptr,intptr,intptr) 0x
  at (wrapper alloc) object.AllocVector (intptr,intptr) 0x
  at System.Net.HttpConnection.BeginReadRequest () 0x0003a
  at System.Net.EndPointListener.OnAccept (object,System.EventArgs) 0x00357
  at System.Net.Sockets.SocketAsyncEventArgs.OnCompleted 
(System.Net.Sockets.SocketAsyncEventArgs) 0x0002e
  at System.Net.Sockets.SocketAsyncEventArgs.AcceptCallback 
(System.IAsyncResult) 0x00336
  at System.Net.Sockets.SocketAsyncEventArgs.DispatcherCB (System.IAsyncResult) 
0x0010f
  at (wrapper runtime-invoke) Module.runtime_invoke_void__this___object 
(object,intptr,intptr,intptr) 0x


I then tried the same again and only got this in my trace:

Full thread dump:

threadpool thread tid=0x0x7f31b8ac5700 this=0x0x7f31b8da4c70 thread handle 
0x80e state : not waiting owns ()


IO Threadpool worker tid=0x0x7f31b8a84700 this=0x0x7f31b8da4dd0 thread handle 
0x80f state : interrupted state owns ()

Not sure why I'm not getting any dump here. Any more debugging I can do on 
there?

What seems to happen is its coping well initially with the requests and then in 
all of a sudden it stops accepting connections and existing connections dont 
die off.

Cheers,
Alf
-Original message-
From: Nikita Tsukanov kek...@gmail.com
Sent: Sunday 4th August 2013 16:13
To: mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] NancyFX self hosting (HttpListener) locking up on linux

Alfred, please, try to send SIGQUIT to mono (i. e. kill -SIGQUIT {PID}) when it 
stops processing requests. It will force mono to write thread stack traces to 
stdout. Grab them and post here, I suspect that the issue is simular to one 
experienced by me.


2013/8/4 Nikita Tsukanov kek...@gmail.com mailto:kek...@gmail.com 
Alfred, please, try to send SIGQUIT to mono (i. e. kill -SIGQUIT
{PID}) when it stops processing requests. It will force mono to write
thread stack traces to stdout. Grab them and post here, I suspect that
the issue is simular to one experienced by me.


___

Mono-devel-list mailing list

Mono-devel-list@lists.ximian.com

http://lists.ximian.com/mailman/listinfo/mono-devel-list




___

Mono-devel-list mailing list

Mono-devel-list@lists.ximian.com

http://lists.ximian.com/mailman/listinfo/mono-devel-list



___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] New Property on System.Web.Hosting.HostingEnvironment

2013-08-05 Thread Martin Thwaites
I'm not sure of the best place to raise this, it's not a bug really, but a
property that seems to be new to the framework.

System.Web.Hosting.HostingEnvironment has the property
InClientBuildManager and it looks like it was added in 3.5.

The reason I think it's an important thing to get added soon is the fact
that WebActivatorEx uses it, and it's part of just about every NuGet
package for MVC.  So if people want to move over to mono, this could be a
major issue.

On the plus side, WebActivatorEx handles it well, so you just get an
exception on first run.

http://msdn.microsoft.com/en-us/library/system.web.hosting.hostingenvironment.inclientbuildmanager(v=vs.100).aspx
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list