Re: [zeromq-dev] Frequent error messages

2013-03-12 Thread Gonzalo Vasquez
Yes, it's in the Mac side.- Gonzalo Vásquez Sáez Gerente Investigación y Desarrollo (RD) Altiuz Soluciones Tecnológicas de Negocios Ltda. Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099 +56 2 335 2461 gvasq...@altiuz.cl http://www.altiuz.cl http://www.altiuzreports.com El 11-03-2013, a

Re: [zeromq-dev] Frequent error messages

2013-03-12 Thread Gonzalo Vasquez
That worked liked a charm! I moved the context into the following line: private Context ctx = ZMQ.context(1); And commented out this line: //ctx.term(); How being too clean would harm the context creation/termination process? In this new scenario the context will never be

Re: [zeromq-dev] Frequent error messages

2013-03-12 Thread Trevor Bernard
That worked liked a charm! Awesome! How being too clean would harm the context creation/termination process? It seems there is something awry but someone more experienced with libzmq would have to chime in. In this new scenario the context will never be terminated as it'll linger idle in

Re: [zeromq-dev] Frequent error messages

2013-03-12 Thread Gonzalo Vasquez
Shutdown hook.....I'll have to check on that. I'll keep stressing the app and reports if there are any more hiccups around ;) Thanks! Gonzalo Vásquez Sáez Gerente Investigación y Desarrollo (RD) Altiuz Soluciones Tecnológicas de Negocios Ltda. Av. Nueva Tajamar 555 Of. 802, Las Condes - CP

Re: [zeromq-dev] Frequent error messages

2013-03-11 Thread Gonzalo Vasquez
I've just downloaded a new ZIP from the GIT repository, and found out that the pom.xml file says 2.1.3-snapshot. Used diff to compare files with the prior version I had and the output was the following: diff jzmq-master jzmq-master 2 Only in jzmq-master: .DS_Store diff jzmq-master/INSTALL

Re: [zeromq-dev] Frequent error messages

2013-03-11 Thread Trevor Bernard
So aside, from a version number increase, and few changed comments, there doesn't seem be any real software upgrade, i.e. no src files modified, am I wrong? There should have been a few files changed:. This is the diff from the v2.1.2 tag with master:

Re: [zeromq-dev] Frequent error messages

2013-03-11 Thread Trevor Bernard
In your private byte[] getByte(...), I see that you create and destroy our context each time it's called. I would try creating only one context for your client process and see if that helps your reliability. http://zguide.zeromq.org/page:all#Getting-the-Context-Right -Trev On Mon, Mar 11, 2013

Re: [zeromq-dev] Frequent error messages

2013-03-08 Thread Gonzalo Vasquez
Dear Min, File pom.xml inside jzmq-master.zip says 2.1.2-SNAPSHOT ZMQ is the latest, i.e. 3.2.2 Gonzalo Vásquez Sáez Gerente Investigación y Desarrollo (RD) Altiuz Soluciones Tecnológicas de Negocios Ltda. Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099 +56 2 335 2461 gvasq...@altiuz.cl

Re: [zeromq-dev] Frequent error messages

2013-03-08 Thread Trevor Bernard
Hi Gonzalo, Can you try building the latest from jzmq master? Not knowing what 2.1.2-SNAPSHOT you have, I can't be certain which fixes are included in your version. These issues might be contributing to your stability problems that have since been resolved: -

Re: [zeromq-dev] Frequent error messages

2013-03-08 Thread Gonzalo Vásquez
Trevor, That snapshot was downloaded last week, nevertheless, I'll do as instructed. Regards, Gonzalo Enviado desde mi iPhone El 08-03-2013, a las 12:06, Trevor Bernard trevor.bern...@gmail.com escribió: Hi Gonzalo, Can you try building the latest from jzmq master? Not knowing what

Re: [zeromq-dev] Frequent error messages

2013-03-07 Thread Gonzalo Vasquez
This is the client side code that I use to communicate with the server: private byte[] getByte(final String table, final String name, final int doc_off, final int doc_len, final int comp_off, final int comp_len, final char compressionType) throws Exception { File file = new File(cacheRoot,

Re: [zeromq-dev] Frequent error messages

2013-03-07 Thread Min
Hi, And what version of jzmq and libzmq did you use? Thanks Min 2013년 3월 7일 목요일에 Gonzalo Vasquez님이 작성: This is the client side code that I use to communicate with the server: private byte[] getByte(final String table, final String name, final int doc_off, final int doc_len, final int

[zeromq-dev] Frequent error messages

2013-03-05 Thread Gonzalo Vasquez
Hi there! Upon stressing a Java / ZMQ based piece of software, I'm getting TWO repeated errors every now and then, they are: Bad file descriptor (kqueue.cpp:76) Resource busy (./mutex.hpp:90) I'm using a request/reply schema from the client point of view (Mac OSX Darwin Kernel Version

Re: [zeromq-dev] Frequent error messages

2013-03-05 Thread Pieter Hintjens
On Tue, Mar 5, 2013 at 9:57 PM, Gonzalo Vasquez gvasq...@altiuz.cl wrote: Hi there! Upon stressing a Java / ZMQ based piece of software, I'm getting TWO repeated errors every now and then, they are: Hi Gonzalo, As with any error you're trying to report (to any project, I guess), the best

Re: [zeromq-dev] Frequent error messages

2013-03-05 Thread Gonzalo Vásquez
Ok, minimal might be a problem, but I'll try to achieve that Enviado desde mi iPhone El 05-03-2013, a las 18:19, Pieter Hintjens p...@imatix.com escribió: On Tue, Mar 5, 2013 at 9:57 PM, Gonzalo Vasquez gvasq...@altiuz.cl wrote: Hi there! Upon stressing a Java / ZMQ based piece of