Use epoll instead of select on linux