[zeromq-dev] Test case for the "Assertion failed: nbytes == sizeof (command_t)" error.

Pieter Hintjens ph at imatix.com
Sun Jun 12 20:01:37 CEST 2011

On Sun, Jun 12, 2011 at 7:56 PM, Luc Heinrich <luc at honk-honk.com> wrote:

> Looks like the problem was really specific to my OS at this specific moment.
> I started to bump the net.inet.tcp.sendspace and net.inet.tcp.recvspace values using sysctl and it started to work as expected. So I changed one of the two values back to its initial value and it still worked. So I changed the other value to its initial state, and IT STILL WORKED!
> So I rebooted to make sure I was in a "normal" state, and for the life of me, I can't reproduce the problem at all anymore.

It looks like buffer exhaustion that's fixed by rebooting or setting a
higher value.

Worth noting on the tips page, since this'll probably bite other Mac OS/X users.


More information about the zeromq-dev mailing list