[zeromq-dev] (py)zmq PUSH/PULL, freebsd, kqueue error
Gábor Farkas
gabor.farkas at gmail.com
Wed Oct 26 10:00:44 CEST 2011
On Mon, Oct 17, 2011 at 3:43 PM, Chuck Remes <cremes.devlist at mac.com> wrote:
>
> On Oct 17, 2011, at 3:59 AM, Gábor Farkas wrote:
>
>> hi,
>>
>> i have an application in python, using PUSH/PULL zmq sockets, on freebsd.
>>
>> sometimes the process with the PUSH socket dies with this message:
>>
>> Exception zmq.core.error.ZMQError: ZMQError() in
>> <zmq.core.socket.Socket object at 0x80d0c12b8> ignored
>> Bad file descriptor
>> rc != -1 (kqueue.cpp:67)
>
> Rebuild the library and force the use of poll(). That cures the issue (obviously, since we are no longer using the kqueue code paths).
>
> export CXXFLAGS=-DZMQ_FORCE_POLL
> ./configure
> make
ok, i'll try this.
is there any way to verify that the compiled zeromq does not use kqueue?
(i mean, is there any way to verify that i applied the switch correctly?)
thanks,
gabor
More information about the zeromq-dev
mailing list