[zeromq-dev] [PATCH] Re: assertion failure with master
Martin Sustrik
sustrik at 250bpm.com
Wed Nov 10 10:45:14 CET 2010
Dhammika,
>Why do we generate so many commands anyway?
>Default linux sockbuf is 128K. Most commands are fixed length,
>assuming 32B we get 4096 commands.
The problem happens when there are many connections/disconnections at the
same time and the thread owning the corresponding socket is busy doing
some unrelated work. That way the notifications about
connections/disconnections are pushed into the socketpair, but the
application thread is not processing them.
Martin
More information about the zeromq-dev
mailing list