[zeromq-dev] Stress test failed with assertion nbytes == sizeof (command_t) mailbox.cpp:78
Олег Севостьянов
oleg.sev at gmail.com
Wed Nov 24 12:46:37 CET 2010
Hi.
I do something like stress test.
Three client application create 40 threads, each thread connects with
own socket to server application (120 connections). The client use
ZMQ_REQ socket and send 300 bytes request to server. The server send
this request back to client. When server process over 500000 messages
it's fail with debug assertion "nbytes == sizeof (command_t) in
mailbox.cpp:78".
The server application sources here: http://pastebin.com/NhCVRr4s.
The client application sources here: http://pastebin.com/hUdtzZy3
0MQ sources: 2.1
Test platform: Windows 7, MSVC 2005 build.
--
С уважением,
Олег Севостьянов
JabberID: boojab at jabber.ru
More information about the zeromq-dev
mailing list