[mono-android] Could not create epoll instance. errno=24

Goncalo Oliveira goncalo at minkan.net
Mon Nov 5 16:00:47 UTC 2012


It has nothing to do with code on receiver callback. I removed everything
except the log line and after something like 5 minutes, the same happens.
I added a new paste with the log, but again it says nothing (that I can see
as relevant).

Always Could not create epoll instance. errno=%d or Could not create wake
pipe. errno=%d.
errno is 24 - #define EMFILE 24 /* Too many open files */.

http://pastebin.com/NR06bWQD

Like I said earlier, a GC.Collect() fixes it. Any ideas?



On 5 November 2012 15:35, Goncalo Oliveira <goncalo at minkan.net> wrote:

> In this case it was fixed with a GC.Collect() but I still don't know what
> was happening. What wasn't being freed and why...
>
>
> On 5 November 2012 15:29, Jeremy A. Kolb - ARA/NED <jkolb at ara.com> wrote:
>
>> I see this sort of thing a lot... most of the time when there's an error
>> and it kills my app there's nothing in the logs.  It's frustrating to say
>> the least.
>>
>> -----Original Message-----
>> From: monodroid-bounces at lists.ximian.com [mailto:
>> monodroid-bounces at lists.ximian.com] On Behalf Of Jonathan Pryor
>> Sent: Monday, November 05, 2012 9:47 AM
>> To: Discussions related to Mono for Android
>> Subject: Re: [mono-android] Could not create epoll instance. errno=24
>>
>> On Nov 5, 2012, at 6:16 AM, Goncalo Oliveira <goncalo at minkan.net> wrote:
>> > Here's the logcat dump
>> > http://pastebin.com/WhVdbmRk
>>
>> The logcat dump doesn't include the crash. The start of Mono for Android
>> process execution starts with a message containing __mono_init__:
>>
>>
>> http://docs.xamarin.com/Android/Guides/Deployment%2C_Testing%2C_and_Metrics/Android_Debug_Log#Interesting_Messages
>>
>> You've captured the start of the process:
>>
>>         11-05 11:08:08.837: I/ActivityThread(5987): Pub
>> Frotcom.FMobile.mono.MonoRuntimeProvider.__mono_init__:
>> mono.MonoRuntimeProvider
>>
>> But there are no messages about how the process is exiting. More
>> information would be helpful.
>>
>> Thanks,
>>  - Jon
>>
>> _______________________________________________
>> Monodroid mailing list
>> Monodroid at lists.ximian.com
>>
>> UNSUBSCRIBE INFORMATION:
>> http://lists.ximian.com/mailman/listinfo/monodroid
>> _______________________________________________
>> Monodroid mailing list
>> Monodroid at lists.ximian.com
>>
>> UNSUBSCRIBE INFORMATION:
>> http://lists.ximian.com/mailman/listinfo/monodroid
>>
>
>
>
> --
> Gonçalo Oliveira
>



-- 
Gonçalo Oliveira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodroid/attachments/20121105/5771b048/attachment.html>


More information about the Monodroid mailing list