I had the same problem using sockets in multiple threads (same error).
On Friday, March 21, 2014 8:48 PM, Mařík Miloslav
wrote:
Hi,
Here is the test scenario and the patch.
How to test
- compile zmq_server.cpp (you need boost and zmq)
- run zmq_server
- run several instances of client
Hi,
Here is the test scenario and the patch.
How to test
- compile zmq_server.cpp (you need boost and zmq)
- run zmq_server
- run several instances of clients
- wait a second or two, never more
- you get "Assertion failed: ok (mailbox.cpp:84)" or "segfault" or "Resource
not available"
Please
If you have a patch for an issue on a stable version then (a) great!
:-) and (b) we ask for an issue and a test case that shows the
before/after situation.
If you're not comfortable with the fix as-is, show us the code (attach
it to the issue, for instance).
We'd want to double check the issue is
Hi,
Two years ago, there was a thread with exactly the same name. I met the same
problem yesterday with ZMQ 3.2.4. The test scenario was pretty simple a server
is fed by n clients. Everything is ok when n is equal to one, but the server
crashes within several seconds with assertion listed in th
On Sat, Feb 11, 2012 at 7:40 AM, Marcin Olak wrote:
> Hi guys,
>
> In my system under heavy load and heavy socket creation/destruction an
> assertion
> in mailbox.cpp:84 (zeromq-2.1.11) aborts the program. Any clues why this might
> hapenning?
Sounds like a race condition on the pipe code. I bac
If an amount of sockets reduce to 500-1000, the error remains?
2012/2/11 Marcin Olak :
> Hi,
>
>> If you on linux system, run your program with strace: strace
>> executable -o logfile.log
>
> Last two requests processed by the worker thread that aborted the program:
>
>
>
> 10759 fcntl64(1847, F_
Hi,
> If you on linux system, run your program with strace: strace
> executable -o logfile.log
Last two requests processed by the worker thread that aborted the program:
10759 fcntl64(1847, F_GETFL
10759 <... fcntl64 resumed> ) = 0x2 (flags O_RDWR)
10759 fcntl64(1847, F_SETFL, O_RDW
Hi,
If you on linux system, run your program with strace: strace
executable -o logfile.log
niXman.
2012/2/11 Marcin Olak :
> Hi guys,
>
> In my system under heavy load and heavy socket creation/destruction an
> assertion
> in mailbox.cpp:84 (zeromq-2.1.11) aborts the program. Any clues why this
Hi guys,
In my system under heavy load and heavy socket creation/destruction an
assertion
in mailbox.cpp:84 (zeromq-2.1.11) aborts the program. Any clues why this might
hapenning?
Setup I have is this:
* 1400 threads, each owning a single REQ socket connected via inproc to queue
device that i