[zeromq-dev] REQ/REP pair died with 'No buffer space available'

Serg Gulko s.gulko at gmail.com
Mon Feb 27 00:06:28 CET 2012


Hello!

I have two tools which communicating with each other using ZMQ. Before
today I was using two pairs of PUB/SUB sockets to send commands and
received answers but decided to try REQ/REP.
For some strange reasons I start getting 'No buffer space available' error
when size of output message exceeds several megabytes.
I have server app running on Windows 2003 server and client on Linux box.
Windows server build using C++, Linux client - Perl.
On both machines I have ZeroMQ 2.1.11.

When tools works in same LAN everything works fine but once I tried to
separate them(like we using on production) and place on different machines
I start getting described error.
I changed ZMQ_SNDBUG on Win machine and set it to 20 * 1024 * 1024(I
checked, value really assigned to socket) but this not really helps.
Here is links of simplified code:
Server(C++): http://pastebin.com/zJJFQsAh
Client(Perl): http://pastebin.com/Wyfv262w

Any idea what is wrong?

Serg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120226/88671ac5/attachment.htm>


More information about the zeromq-dev mailing list