Re: [zeromq-dev] Exceptions Stressing ZMQ (JeroMQ)

2013-09-27 Thread Gonzalo Vasquez
error and not related to zeromq. It typically means the process on the other side and the error is raised to inform you of that. -Michel On Thu, Sep 26, 2013 at 11:44 AM, Gonzalo Vasquez gvasq...@altiuz.cl wrote: Hi everybody! Testing our implementation under extended periods of time

[zeromq-dev] Exceptions Stressing ZMQ (JeroMQ)

2013-09-26 Thread Gonzalo Vasquez
Hi everybody! Testing our implementation under extended periods of time of constant load exposes several problems (exceptions) using the JeroMQ java implementation. Right now I'm facing these two issues: java.lang.NullPointerException at zmq.YQueue.front_pos(YQueue.java:87) at

[zeromq-dev] What am I doing wrong?

2013-09-10 Thread Gonzalo Vasquez
Folks, I thought my code was OK, but yesterday I put a Junit Test under ContiPerf annotiations to stress the zmq link and booom!!! Several problems arose. On the client side I have: try { req = (Socket) socketPool.borrowObject();

[zeromq-dev] Validating ZMQ Java Sockets

2013-04-18 Thread Gonzalo Vasquez
I've created an object pool using apache-pool (1.5.4), and I've only been able to implementmakeObject anddestroyObjectmethods as I don't know how to validate if sockets are valid/working or not, and don't know if there's really anything to be implemented in the activate/passivate

Re: [zeromq-dev] ZMQ hanged :(

2013-04-11 Thread Gonzalo Vasquez
frequent socket creation. jzmq also showed a 4~5 secs blocking at a stress but it resumed again but jeromq didn't resume after blocking. I'll looking into this issue further. Thanks Min On Apr 11, 2013, at 5:14 AM, Gonzalo Vasquez gvasq...@altiuz.cl wrote: I'm using JeroMQ. I've updated

Re: [zeromq-dev] ZMQ hanged :(

2013-04-11 Thread Gonzalo Vasquez
://github.com/steve-o/jeromq and related discussion http://comments.gmane.org/gmane.network.zeromq.devel/18528. But it might require the latest pull request patch. Thanks Min On Apr 11, 2013, at 8:29 PM, Gonzalo Vasquez gvasq...@altiuz.cl wrote: https://github.com/zeromq/jeromq/pull/57

[zeromq-dev] ZMQ hanged :(

2013-04-10 Thread Gonzalo Vasquez
After a while stressing this setup the connector side hangs in line 480:byte[] data = "">It seems that there's no answer from the server, but on the server log I can see everything has been "answered".This is running in Windows 2008 Server R2 Datacenter with JEROMQ (jero-0.3.0-SNAPSHOT.jar)After

Re: [zeromq-dev] ZMQ hanged :(

2013-04-10 Thread Gonzalo Vasquez
Wolf, Yes, almost 100% unresponsive, even closing windows is extremely slow. The server component is terminated by a single CTRL-C, i.e. it's interruptedas the main is invoked in a black cmd window. I've also realized that I also had to the terminate the client side to recover 100%

Re: [zeromq-dev] ZMQ hanged :(

2013-04-10 Thread Gonzalo Vasquez
El 10-04-2013, a las 13:36, Wolfgang Richter w...@cs.cmu.edu escribió: So you've noticed 100% CPU usage on this server or high memory usage when it's running (thus, the unresponsiveness?)? -- Wolf On Wed, Apr 10, 2013 at 11:38 AM, Gonzalo Vasquez gvasq...@altiuz.cl wrote: Wolf

Re: [zeromq-dev] ZMQ hanged :(

2013-04-10 Thread Gonzalo Vasquez
exclusive. I've seen problems with antivirus programs attempting to scan inbound and outbound network connections for possible threats. Are you running any form of antivirus on the server? On Wed, Apr 10, 2013 at 12:14 PM, Gonzalo Vasquez gvasq...@altiuz.cl wrote: Nope, no cpu nor high

Re: [zeromq-dev] ZMQ hanged :(

2013-04-10 Thread Gonzalo Vasquez
uz.cl http://www.altiuzreports.com El 10-04-2013, a las 15:03, Eric Hill e...@ijack.net escribió:"netstat -ano" would be an interesting metric to look at.On Wed, Apr 10, 2013 at 1:02 PM, Gonzalo Vasquez gvasq...@altiuz.cl wrote: No Antivirus is installed on the server. I can think of a sock

Re: [zeromq-dev] ZMQ hanged :(

2013-04-10 Thread Gonzalo Vasquez
ports. Realize that there's only 65000 local ports for making outgoing connections... Eric On Wed, Apr 10, 2013 at 1:30 PM, Gonzalo Vasquez gvasq...@altiuz.cl wrote: Please see attached file for netstat -ano output Gonzalo Vásquez Sáez Gerente Investigación y Desarrollo (RD) Altiuz

Re: [zeromq-dev] ZMQ hanged :(

2013-04-10 Thread Gonzalo Vasquez
into a separate jar for testing outside of WAS? On Wed, Apr 10, 2013 at 2:37 PM, Gonzalo Vasquez gvasq...@altiuz.cl wrote: Dear Eric, 1.- Process 2472 actually is IBM WAS, where my client code runs. 2.- I attached the code on the first email, nevertheless here is the client side: private byte

Re: [zeromq-dev] JeroMQ or ZeroMQ Java Binding for Java 1.5?

2013-03-26 Thread Gonzalo Vasquez
-03-2013, a las 19:58, Steven McCoy steven.mc...@miru.hk escribió: 2013/3/25 Gonzalo Vasquez gvasq...@altiuz.cl Is there any version of JeroMQ which builds/works on Java 1.5 ant not 1.6? JeroMQ master builds with JDK 7 and setting -source 1.5, -target 1.5. Is that considered the same

Re: [zeromq-dev] JeroMQ or ZeroMQ Java Binding for Java 1.5?

2013-03-26 Thread Gonzalo Vasquez
, Las Condes - CP 7550099 +56 2 335 2461 gvasq...@altiuz.cl http://www.altiuz.cl http://www.altiuzreports.com El 26-03-2013, a las 17:09, Steven McCoy steven.mc...@miru.hk escribió: On 26 March 2013 12:41, Gonzalo Vasquez gvasq...@altiuz.cl wrote: Nobody else? Ideas please. Try this, https

[zeromq-dev] JeroMQ or ZeroMQ Java Binding for Java 1.5?

2013-03-25 Thread Gonzalo Vasquez
Is there any version of JeroMQ which builds/works on Java 1.5 ant not 1.6? If not JeroMQ, perhaps ZeroMQ Java Binding? 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

[zeromq-dev] Compiling Java Bindings in AIX

2013-03-14 Thread Gonzalo Vasquez
Environment: AIX 6.1 Power 7 Tried, both with a normal user and with root access, and with jzqm v2.1.2 and the also the latest from the master branch in the git repo. autogen.sh works ok ./configure works ok with the following params: ./configure --with-zeromq=/usr/local But, make fails

Re: [zeromq-dev] Compiling Java Bindings in AIX

2013-03-14 Thread Gonzalo Vasquez
...@gmail.com escribió: Did you try manually removing one of the $ in the the makefile? On Thu, Mar 14, 2013 at 4:11 PM, Gonzalo Vasquez gvasq...@altiuz.cl wrote: Environment: AIX 6.1 Power 7 Tried, both with a normal user and with root access, and with jzqm v2.1.2 and the also the latest from

[zeromq-dev] ZeroMQ in AIX: native base compiled ok / java bindings fail

2013-03-13 Thread Gonzalo Vasquez
Dear fellows, I've successfully built ZMQ (v3.2.2) in a Power 7 AIX 6.1 environment. After installing the specified prerequisites (automake, autoconf, etc), the only extra needed step was to force the use of IBM's XLC C++ compiler by issuing the following statement: export CXX=xlc Now I have

Re: [zeromq-dev] ZeroMQ in AIX: native base compiled ok / java bindings fail

2013-03-13 Thread Gonzalo Vasquez
You did it! That single case change solved my problem. Thank Ivan! 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

Re: [zeromq-dev] ZeroMQ in AIX: native base compiled ok / java bindings fail

2013-03-13 Thread Gonzalo Vasquez
Sorry, my mistake...I built something else not the zmq java binding. Still not able to compile it as the ./configure doesn't find the zmq.h file, but that's not included in the jzmq lib, but in the zmq lib, do I have to copy those files somewhere else? Gonzalo Vásquez Sáez Gerente

[zeromq-dev] zmq java binding compilation issue

2013-03-13 Thread Gonzalo Vasquez
I've tried both the current master from the github repo and the 2.1.2 snapshot, both give me the same error: make: 1254-002 Cannot find a rule to create target org/zeromq/ZMQontext.class from dependencies. But ZMQontext class does not exist, it's been mispelled, any ideas? Gonzalo Vásquez Sáez

Re: [zeromq-dev] zmq java binding compilation issue

2013-03-13 Thread Gonzalo Vasquez
trying to compile on? On Wed, Mar 13, 2013 at 11:28 AM, Gonzalo Vasquez gvasq...@altiuz.cl wrote: I've tried both the current master from the github repo and the 2.1.2 snapshot, both give me the same error: make: 1254-002 Cannot find a rule to create target org/zeromq/ZMQontext.class

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 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
queue device. Here is my WIP for the queue device: https://github.com/trevorbernard/jzmq/commit/8ff283764340758159ab915afcbbe87894882a31 This is completely untested but I intend to finalize it over the weekend. Warmest regards, Trev On Fri, Mar 8, 2013 at 7:57 AM, Gonzalo Vasquez gvasq

Re: [zeromq-dev] Frequent error messages

2013-03-08 Thread Gonzalo Vasquez
, 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 tool is a minimal (I can't

Re: [zeromq-dev] Frequent error messages

2013-03-07 Thread Gonzalo Vasquez
com 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 software, I'm getting TWO repeated errors every now and then, they are: Hi Gonzalo,A

[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