[Mono-dev] Problem handling more the 1024 file handle
robertj at gmx.net
Fri Nov 4 08:26:16 EDT 2011
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:
getdtablesize() is returning the max count of possible open
file descriptors *at start-up*, so any later setrlimit has
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 ;)
More information about the Mono-devel-list