radiac/mara

Limit of 1024 connections

radiac opened this issue · 0 comments

There's a limit of 1024 connections due to select:

server> Unknown error: filedescriptor out of range in select()

It seems to be a kernel-level limit. Need to handle the error and refuse connections when using select, and add poll/epoll support.