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

Alfred Hall ahall at ahall.org
Tue Aug 6 19:32:12 UTC 2013


Yeah you're having exactly the same issues as I am. I'm surprised others haven't had this problem before. Not sure who works on this area of the mono codebase these days. If you got a minimal test case it may be worth us raising a Xamarin bug in bugzilla.
-----Original message-----
From: Nikita Tsukanov <keks9n at gmail.com>
Sent: Tuesday 6th August 2013 20:18
To: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] NancyFX self hosting (HttpListener) locking up on linux

Running with mono from master haven't helped.

And I'm not sure what the hell is going on, but I cann't reproduce the issue when running under... Monodevelop's debugger. It runs perfectly under it, but when I try to run the same binary from console (even with --debug option) it locks up or segfaults. Does anyone know what does it mean?


2013/8/6 Nikita Tsukanov <keks9n at gmail.com <mailto:keks9n at gmail.com> >
Great. It locked up with my more complex logic. 
Funny fact: NancyFx increases request processing time from 2ms to 70ms with the same echo response.
Another funny fact: with MONO_DISABLE_AIO I've got segfault.

Now I'll try to use build patched mono. Not sure that it's the same issue, because in my case it never tries to read and write simultaneously  on the same socket.


2013/8/6 Greg Young <gregoryyoung1 at gmail.com <mailto:gregoryyoung1 at gmail.com> >
There are many cases the patch we provided does not affect eg no overlap in io between send/receive


On Tuesday, August 6, 2013, Nikita Tsukanov wrote:
Interesting... I've written a simple server using only Socket.BeginRecieve and Socket.BeginSend. It just reads 100 bytes and then sends hardcoded HTTP response. Now jmeter is working for 5 minutes and it still responds with "Lorem ipsum ..." perfectly. I'll try to "port" my SCGI server logic from NetworkStream to Socket and see what will happen.


2013/8/6 "Andrés G. Aragoneses" <knocte at gmail.com>
On 06/08/13 18:42, Nikita Tsukanov wrote:
Ubuntu 13.04, Mono JIT compiler version 3.2.0 (tarball Tue Jul 30
21:08:00 UTC 2013)

Mono 3.2.0 does *not* have Yuri's patch.



_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list <http://lists.ximian.com/mailman/listinfo/mono-devel-list> 



-- 
Le doute n'est pas une condition agréable, mais la certitude est absurde.



_______________________________________________

Mono-devel-list mailing list

Mono-devel-list at lists.ximian.com

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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130806/7c326a8e/attachment.html>


More information about the Mono-devel-list mailing list