Re: [libmicrohttpd] connections reply nothing when using libmicrohttpd

2017-10-21 Thread Yatong Zhang
Yes I am using 'select' in event loop. After my tests, your diagnosis and solutions are definitely right. I fixed the issue by changing select to epoll. Thank you very much! And thank you all for the hard work of this great project:) Best regards, Yatong Zhang On Sat, Oct 21, 2017 at 4:45 PM, Chr

Re: [libmicrohttpd] connections reply nothing when using libmicrohttpd

2017-10-21 Thread Christian Grothoff
Hi, Might it be that you are using 'select()' in your event loop? (The rest of the answer does not apply if you do not, but it is almost certain that this is your problem). There, the FD_SIZE limit applies (not just the ulimit), so once you hit near 1000 FDs open from mmap, the server won't be ab