[zeromq-dev] Hang on call to jzmq ZMQ.context(NUM_THREADS); ??
David Cheney
dcheney at peaxy.net
Thu Aug 15 02:05:28 CEST 2013
A followup on this problem... jzmq-2.2.0/src/Makefile.am needed:
libjzmq_la_LIBADD = -L$(libdir) -lzmq
Perhaps this is normally present, we do a few odd things in our build
environment.
The odd thing is that no error was thrown by zmq.jar or libjzmq.so ..
context() simply hung.
On Tue, Aug 13, 2013 at 7:29 PM, David Cheney <dcheney at peaxy.net> wrote:
>
> I have test code that works in a test scenario and from one server
> platform, but the same code's call to ZMQ.context(NUM_THREADS) simply
> blocks its thread on a different server platform. The difference is in the
> "flavor" of server for handling differing workloads. Any suggestions
> gratefully received.
>
> NUM_THREADS is 3 on an 8 processor system running CentOS 6.3.
>
> Java is 1.7 and environment is: java -cp /usr/hf/lib/*
> -Djava.library.path=/usr/lib64/ com.us.boot.ourServer
>
> Thanks,
> Dave
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130814/89e654db/attachment.htm>
More information about the zeromq-dev
mailing list