Hello,

I wrote an app that was crashing in c-ares due to fds being bigger than 1024. While c-ares might be using around 30 fds it is unable to use fds above 1024.

I looked into using getsock but it is capped at 16 sockets (although could be worked around by building c-ares myself and tweaking the constant).

Is there any other way or suggestion? I thought of initializing c-ares at the startup phase so I always get smallish fds but it is a bit dodgy :D My program uses many many sockets

Thanks!

David

Reply via email to