On 04.11.2011 08:19, Torello Querci wrote: > Hi al, > > trying to handle more that 1024 handle file I got an exception even if > I increase the max number of file limit using "setrlimit". The example > source code below. > Of course mono have the right pcap permission.
This is a bug in Mono's io-layer: https://github.com/mono/mono/blob/master/mono/io-layer/handles.c#L251 getdtablesize() is returning the max count of possible open file descriptors *at start-up*, so any later setrlimit has no effect. Please file a bug at bugzilla.xamarin.com. Meanwhile, you could just increase the open files limit with "ulimit -S -H 20000", so don't mark the bug as super critical ;) Robert _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list