[libmicrohttpd] Server reached connection limit. Closing inbound connection. how to increase the limits?

2018-01-20 Thread Menaxerius
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

Re: [libmicrohttpd] Server reached connection limit. Closing inbound connection. how to increase the limits?

2018-01-20 Thread Christian Grothoff
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 yo