|
From: | Evgeny Grin |
Subject: | Re: [libmicrohttpd] Problem with Keep-Alive and MHD_OPTION_CONNECTION_TIMEOUT in MHD_USE_THREAD_PER_CONNECTION mode |
Date: | Tue, 08 Dec 2015 15:05:57 +0300 |
Hello, I have good news in the test 2, however in test 3 ...@Evg, do I need to change the `FD_SETSIZE` and the MHD source before compiling or in the `CMakeLists.txt` of my example?
But, make this small change in your JMeter config:https://dl.dropboxusercontent.com/u/135304375/snip1.png (I can send a new jmx file if you prefer)and in the MHD example:MHD_OPTION_CONNECTION_LIMIT, (unsigned int) 16000 * 2,1,84% erros. And a lot of: `Failed to create a thread: Not enough space`. OK, so I disabled the "thread per connection":
MHD_start_daemon(MHD_USE_SELECT_INTERNALLY | MHD_USE_DEBUG, PORT, NULL, NULL,&answer_to_connection, NULL,MHD_OPTION_CONNECTION_TIMEOUT, (unsigned int) 240,MHD_OPTION_CONNECTION_LIMIT, (unsigned int) 16000 * 2,MHD_OPTION_END);Samples: 27255.Error: 99,61%. LOLAnd it locks the last requests.Sorry for my ignorance, but MHD_USE_SELECT_INTERNALLY should be the more fast MHD option, then or I did something wrong in my test, or this MHD option has a small bug on Windows. :-/
[Prev in Thread] | Current Thread | [Next in Thread] |