[zeromq-dev] load issue with 2.1.7

Pieter Hintjens ph at imatix.com
Tue Jun 14 16:15:57 CEST 2011


On Tue, Jun 14, 2011 at 3:01 PM, Andrew Hume <andrew at research.att.com> wrote:

> Assertion failed: new_sndbuf > old_sndbuf (mailbox.cpp:183)

The assertion is annoyingly useless, IMO the code should at least say
something like "Insufficient socket buffer space available" before
dying.

The problem is that the OS isn't providing enough buffer space for the
socketpair used for internal mailbox communications. Linux does set
its limits automatically but RHEL6 might be not doing this. Here's a
page that may help:
http://www.psc.edu/networking/projects/tcptune/#Linux

The problem is more typically seen on BSD systems (Mac OS/X and
FreeBSD): http://www.zeromq.org/docs:tuning-zeromq

-Pieter



More information about the zeromq-dev mailing list