Hi Pascal, There are several "limits" that may apply.
(1) MHD_OPTION_CONNECTION_LIMIT -- usually 1020 (or FD_SETSIZE - 4) is likely the first one you may hit. You can pass a different value to MHD_start_daemon() in the varargs; (2) FD_SETSIZE is another limit you are likely to hit if you use the select() event loop; tricky to bump, you ought to switch to poll/epoll instead. (3) ulimit (-n) may also impose a 1024 limit on your process Happy hacking! Christian On 01/20/2018 08:56 AM, Menaxerius wrote: > Hello, I'm using microlibhttpd for our Miningpool Server application. > > So far so good. But due to more and more active miners is reaching I > start reaching this limit. > > Can someone explain me where those limit is set and how to increase it? > > Thanks in advance. > > Regards > > Pascal
signature.asc
Description: OpenPGP digital signature