stefanocasazza / ULib

C++ application development framework, to help developers create and deploy applications quickly and simply
GNU Lesser General Public License v3.0
943 stars 107 forks source link

Multiple ab -n 10000 -c 1000 test for calc.usp with error #38

Closed unisqu closed 6 years ago

unisqu commented 6 years ago

i did multiple ab -c 1000 -n 100000 tests, how do i resolve this? what should i put to handle multiple concurrent requests?

userver_tcp: DEBUG: 13/12/17 15:43:39 (pid 31729) Out of space on client image preallocation(129): num_connection(129) userver_tcp: WARNING: 13/12/17 15:43:39 (pid 31730) Polling mode suspect: cround = 2 nothing = 129 num_connection = 129

userver_tcp: DEBUG: 13/12/17 15:43:39 (pid 31730) It has returned below the client threshold(86): preallocation(129) num_connection(84) userver_tcp: DEBUG: 13/12/17 15:43:39 (pid 31731) It has returned below the client threshold(86): preallocation(129) num_connection(84) userver_tcp: DEBUG: 13/12/17 15:43:39 (pid 31729) It has returned below the client threshold(86): preallocation(129) num_connection(84) userver_tcp: DEBUG: 13/12/17 15:43:39 (pid 31728) It has returned below the client threshold(86): preallocation(129) num_connection(84) userver_tcp: DEBUG: 13/12/17 15:43:40 (pid 31731) It has passed the client threshold(86): preallocation(129) num_connection(85) userver_tcp: DEBUG: 13/12/17 15:43:40 (pid 31731) It has returned below the client threshold(86): preallocation(129) num_connection(84)


* ** *** **** * * * **

userver_tcp: NOT DIFFERENT

pid: 31731 file: notifier.cpp line: 624 function: static void UNotifier::waitForEvent(UEventTime*) assertion: "((handler_event->fd)!=(-1))"

stefanocasazza commented 6 years ago

Hi, I make a fix in the last pull. Consider that this kind of tests are better with a nodebug version...