Re: [zeromq-dev] Server Crashing due to ZMQ request

2011-11-07 Thread Ilja Golshtein
Hello, It is hard to deduce anything based on this code excerpt,especially for those who know nothing about C# (like me),but what about resource maintaining?Do you free Content every time and create another one or reuse it?Or may be create new ones again and again?What about closing 0mq

Re: [zeromq-dev] Server Crashing due to ZMQ request

2011-11-07 Thread lawillas4ever
Hi Ilja, I also suspected it might be because of the non-closing of the socket at the end of execution. So this means too many socket instances are left open without doing anything. I've searched everywhere for the syntax of how to close the socket in C# at the end of every execution but I

Re: [zeromq-dev] C# socket_close Syntax

2011-11-07 Thread Martin Sustrik
On 11/06/2011 09:50 PM, lanre lawal wrote: I'm sure this question is pretty trivial for the mailing list but I've searched everywhere in the documentation and examples section. I can't find the Syntax for closing a socket anywhere. Also is there a full documentation for the C# language that

Re: [zeromq-dev] NYSE OpenMAMA

2011-11-07 Thread Pieter Hintjens
2011/11/7 Daniel Cegiełka daniel.cegie...@gmail.com: An interesting article about AMQP, OpenMAMA and massaging market: OpenMAMA pitted against AMQP in battle system finance http://www.theregister.co.uk/2011/10/31/messaging_system_fight/ Meanwhile in the real world... -Pieter

Re: [zeromq-dev] C# socket_close Syntax

2011-11-07 Thread Ilja Golshtein
07.11.2011, 13:54, Martin Sustrik sust...@250bpm.com: However, adding the functionality is easy (have a look at other language bindings for inspiration), so I suggest you add the function yourself and ask clrzmq2 maintainers to merge it into the project. Not sure such an attempt to bypass GC

Re: [zeromq-dev] C# socket_close Syntax

2011-11-07 Thread Martin Sustrik
On 11/07/2011 11:17 AM, Ilja Golshtein wrote: 07.11.2011, 13:54, Martin Sustriksust...@250bpm.com: However, adding the functionality is easy (have a look at other language bindings for inspiration), so I suggest you add the function yourself and ask clrzmq2 maintainers to merge it into the

Re: [zeromq-dev] C# socket_close Syntax

2011-11-07 Thread Mikko Koppanen
On Mon, Nov 7, 2011 at 10:22 AM, Martin Sustrik sust...@250bpm.com wrote: Other bindings for languages with GCs do the same thing. See, for exmaple, here; https://github.com/zeromq/jzmq/blob/master/src/org/zeromq/ZMQ.java#L334 Hi, as far as I understand majority of the language with GC

Re: [zeromq-dev] C# socket_close Syntax

2011-11-07 Thread Martin Sustrik
On 11/07/2011 11:42 AM, Mikko Koppanen wrote: as far as I understand majority of the language with GC leave the closing to GC. Otherwise this would cause annoying issues where the object for the socket is valid but the underlying socket is invalid. There should be no need for explicit close

Re: [zeromq-dev] NYSE OpenMAMA

2011-11-07 Thread Martin Sustrik
On 11/07/2011 07:52 AM, Daniel Cegiełka wrote: An interesting article about AMQP, OpenMAMA and massaging market: OpenMAMA pitted against AMQP in battle system finance http://www.theregister.co.uk/2011/10/31/messaging_system_fight/ The article is a bit misguided as it presents OpenMAMA and

Re: [zeromq-dev] C# socket_close Syntax

2011-11-07 Thread Ilja Golshtein
07.11.2011, 14:46, Martin Sustrik sust...@250bpm.com: Think of, for exmaple, bound ports. If you close the socket you want the port to be available for new sockets immediately rather than lingering on. Sounds reasonable. Coming back to topicstarter's issue, I doubt the issue is caused by GC.

Re: [zeromq-dev] Server Crashing due to ZMQ request

2011-11-07 Thread lawillas4ever
Hi Guys, What do you suggest as a resource maintaining strategy? The issue is really persistent and I'm just wondering what could be the issue. Has anyone experienced this kind of issue before too? Please guys I need urgent help. Thanks Sent from my BlackBerry® wireless handheld from Glo

Re: [zeromq-dev] Server Crashing due to ZMQ request

2011-11-07 Thread Ilja Golshtein
We are ready to help, although there is not enough information about * how applications crashed (backtrace is preferrable, errno is acceptable, additional logging information is useful) * topology (who crashed, who crashes) * code (is the snippet provided inside code block? may be some references

Re: [zeromq-dev] Server Crashing due to ZMQ request

2011-11-07 Thread lawillas4ever
When I say the system crashes, I don't mean my system where I'm running the program from. I mean the system that my program is receiving the messages from. So is it that system I should get the errors from? Sent from my BlackBerry® wireless handheld from Glo Mobile. -Original Message-

Re: [zeromq-dev] Server Crashing due to ZMQ request

2011-11-07 Thread Ilja Golshtein
07.11.2011, 17:28, lawillas4e...@yahoo.com: When I say the system crashes, I don't mean my system where I'm running the program from. I mean the system that my program is receiving the messages from. So is it that system I should get the errors from? Exactly. Besides this, explain why you

Re: [zeromq-dev] Server Crashing due to ZMQ request

2011-11-07 Thread lawillas4ever
The thing is I watched the server for like an hour without running my program and it was up. Now I noticed that whenever I run my program, it runs fine for the first 10-20 minutes and all of a sudden the remote system crashes. This perhaps confirms that my program causes the system to crash.

Re: [zeromq-dev] Server Crashing due to ZMQ request

2011-11-07 Thread Ilja Golshtein
http://stackoverflow.com/questions/5115611/in-windows-does-the-exception-unknown-software-exception-0x4015-occurred suggests 0x4015 means abort. May be failed assertion? 07.11.2011, 17:51, lawillas4e...@yahoo.com: The thing is I watched the server for like an hour without running my

Re: [zeromq-dev] Fixes for AIX and HP-UX in 2.1.10

2011-11-07 Thread AJ Lewis
On Fri, Nov 04, 2011 at 09:10:52PM +0100, Pieter Hintjens wrote: Great, I've applied these to zeromq2-1 and pushed back to github. When I apply the patches to 3-0 there's a conflict (src/device.cpp is deleted). Any chance you can make a pull request for 3-0 as well? Sure, I should be able to.

Re: [zeromq-dev] Server Crashing due to ZMQ request

2011-11-07 Thread Martin Sustrik
Hi, The assertion reporting problem may have been solved by this commit (I assume Lenre is using 2.1.x): 19c865d3d7d6a4157205b4036e95e45955459a0b For details have a look here: https://github.com/zeromq/zeromq2-1/commit/19c865d3d7d6a4157205b4036e95e45955459a0b Can you either apply the patch to

Re: [zeromq-dev] Server Crashing due to ZMQ request

2011-11-07 Thread lanre lawal
Please how do I apply the patch? I've downloaded the 2files (src/err.cpp  src/err.hpp). Do i need to overwrite them somewhere or do I need to rebuild the ZMQ library after overwriting them. Please I need a guide on this. Thanks Guys   Regards, Olanrewaju Lawal Web Developer / Programmer

Re: [zeromq-dev] Server Crashing due to ZMQ request

2011-11-07 Thread Ilja Golshtein
Martin, we have 0x4015 already. May be via different path and may be without extra_info. 07.11.2011, 18:54, Martin Sustrik sust...@250bpm.com: Hi, The assertion reporting problem may have been solved by this commit (I assume Lenre is using 2.1.x): 19c865d3d7d6a4157205b4036e95e45955459a0b

Re: [zeromq-dev] Server Crashing due to ZMQ request

2011-11-07 Thread Ilja Golshtein
You need to overwrite these files before rebuild zmq library from sources (until someone is able to provide you with readymade binaries).To be honest I think you should get in touch with an experienced developer.07.11.2011, 19:00, "lanre lawal" lawillas4e...@yahoo.com:Please how do I apply the

Re: [zeromq-dev] Fixes for AIX and HP-UX in 2.1.10

2011-11-07 Thread AJ Lewis
On Mon, Nov 07, 2011 at 08:50:59AM -0600, AJ Lewis wrote: On Fri, Nov 04, 2011 at 09:10:52PM +0100, Pieter Hintjens wrote: Great, I've applied these to zeromq2-1 and pushed back to github. When I apply the patches to 3-0 there's a conflict (src/device.cpp is deleted). Any chance you can

Re: [zeromq-dev] Server Crashing due to ZMQ request

2011-11-07 Thread Martin Sustrik
Hi Ilja, we have 0x4015 already. You mean you have the patch applied already? What version are you using? It seems that the patch was not yet released in either 2-1 or 3-0 release. Martin ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org

Re: [zeromq-dev] Server Crashing due to ZMQ request

2011-11-07 Thread Ilja Golshtein
Hi Martin, I am not connected with topic starter, though he reported 0x4015 exception against [unknown] version he uses. 07.11.2011, 19:42, Martin Sustrik sust...@250bpm.com: Hi Ilja,  we have 0x4015 already. You mean you have the patch applied already? What version are you using?

Re: [zeromq-dev] Server Crashing due to ZMQ request

2011-11-07 Thread lawillas4ever
I'm using version 2.1.10. I've applied the patch now and I'll test my program and see if the crashing still occurs. Sent from my BlackBerry® wireless handheld from Glo Mobile. -Original Message- From: Ilja Golshtein ilej...@narod.ru Sender: zeromq-dev-boun...@lists.zeromq.org Date: Mon,

Re: [zeromq-dev] Server Crashing due to ZMQ request

2011-11-07 Thread lawillas4ever
Guys, The system still crashes even after I updated with the patch. What could be wrong now? Sent from my BlackBerry® wireless handheld from Glo Mobile. -Original Message- From: Ilja Golshtein ilej...@narod.ru Date: Mon, 07 Nov 2011 17:45:43 To: lawillas4e...@yahoo.com; ZeroMQ

Re: [zeromq-dev] Server Crashing due to ZMQ request

2011-11-07 Thread Martin Sustrik
On 11/07/2011 05:31 PM, lawillas4e...@yahoo.com wrote: The system still crashes even after I updated with the patch. What could be wrong now? The patch is meant to report the error in more Windows-friendly way. Have you got any more details from the crash now? Martin

Re: [zeromq-dev] Server Crashing due to ZMQ request

2011-11-07 Thread lawillas4ever
Ok I'll contact the guy in charge of the server to send the details. I'll post as soon as I have them. --Original Message-- From: Martin Sustrik To: lawillas4e...@yahoo.com To: ZeroMQ development list Cc: Ilja Golshtein Subject: Re: [zeromq-dev] Server Crashing due to ZMQ request Sent:

Re: [zeromq-dev] 0MQ/3.1

2011-11-07 Thread Martin Sustrik
On 11/06/2011 07:00 PM, MinRK wrote: Can I ask what the relationship of 3.0 and 3.1 is now? Is 3.0 deprecated, and 3.1 just the current dev version? I'm trying to figure out what I should be doing with pyzmq. I had integrated some support for the LABEL code, which remains in 3.0, but I

Re: [zeromq-dev] C# socket_close Syntax

2011-11-07 Thread gonzalo diethelm
as far as I understand majority of the language with GC leave the closing to GC. Otherwise this would cause annoying issues where the object for the socket is valid but the underlying socket is invalid. There should be no need for explicit close as usually object going out of scope

Re: [zeromq-dev] C# socket_close Syntax

2011-11-07 Thread lawillas4ever
I really don't have an Idea of how to add the function myself as you said. My core is not even C#, I'm just using it because of some restrictions to PHP. Sent from my BlackBerry® wireless handheld from Glo Mobile. -Original Message- From: gonzalo diethelm gdieth...@dcv.cl Sender:

Re: [zeromq-dev] Fixes for AIX and HP-UX in 2.1.10

2011-11-07 Thread Martin Sustrik
Hi AJ, Actually, everything compiles fine on AIX6.1 with zeromq3-0, provided that I define _H_LOCALEDEF in the CXXFLAGS: make CXXFLAGS+=-D_H_LOCALEDEF Without that I get: CXXlibzmq_la-connect_session.lo In file included from session.hpp:25, from

Re: [zeromq-dev] Fixes for AIX and HP-UX in 2.1.10

2011-11-07 Thread AJ Lewis
On Mon, Nov 07, 2011 at 06:29:20PM +0100, Martin Sustrik wrote: Hi AJ, Actually, everything compiles fine on AIX6.1 with zeromq3-0, provided that I define _H_LOCALEDEF in the CXXFLAGS: make CXXFLAGS+=-D_H_LOCALEDEF Without that I get: CXXlibzmq_la-connect_session.lo In file

Re: [zeromq-dev] Fixes for AIX and HP-UX in 2.1.10

2011-11-07 Thread Martin Sustrik
On 11/07/2011 08:46 PM, AJ Lewis wrote: namespace zmq { class msg_t; struct i_engine { ... It does not Hm. When experimentally trying to define global typedef for msg_t, the above patch solved the issue with gcc compiler. What compiler are you using? Martin

Re: [zeromq-dev] 0MQ/3.1

2011-11-07 Thread MinRK
On Mon, Nov 7, 2011 at 08:51, Martin Sustrik sust...@250bpm.com wrote: On 11/06/2011 07:00 PM, MinRK wrote: Can I ask what the relationship of 3.0 and 3.1 is now? Is 3.0 deprecated, and 3.1 just the current dev version? I'm trying to figure out what I should be doing with pyzmq. I had

Re: [zeromq-dev] 0MQ/3.1

2011-11-07 Thread Martin Sustrik
On 11/07/2011 09:24 PM, MinRK wrote: Being of simple mind, and little experience on internal 0MQ topics, what I really want is the diff of this page: http://www.zeromq.org/docs:3-0 for 3.0 and 3.1. Here's the page: http://www.zeromq.org/docs:3-1 Martin

[zeromq-dev] showcase, case studies, anything...?

2011-11-07 Thread Boris Wolf
Hi, I've been reading about zeromq, playing around with some code examples and think it's great. Love it even. Moving forward I'm now considering this as the technology of choice for a bigger project. I'm wondering, are there any showcases of large-scale deployments of the zeromq technology? I

Re: [zeromq-dev] Fixes for AIX and HP-UX in 2.1.10

2011-11-07 Thread Martin Sustrik
On 11/07/2011 10:05 PM, AJ Lewis wrote: $ gcc --version gcc (GCC) 4.2.0 Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Maybe I need to

Re: [zeromq-dev] 0MQ/3.1

2011-11-07 Thread Pieter Hintjens
On Tue, Nov 8, 2011 at 1:51 AM, Martin Sustrik sust...@250bpm.com wrote: It's up to Pieter whether he wants to maintain 3-0 further. Pieter, what do you think? /me was expecting this to bounce back to me. I'm going to bounce this back to the community since the only rationale for maintaining a

Re: [zeromq-dev] 0MQ/3.1

2011-11-07 Thread Joshua Foster
Option 2. I never really got far enough with 3.0 since I couldn't see a forward path from 2.1 to 3.0 to 4.0. Joshua On Nov 7, 2011, at 6:17 PM, Pieter Hintjens wrote: On Tue, Nov 8, 2011 at 1:51 AM, Martin Sustrik sust...@250bpm.com wrote: It's up to Pieter whether he wants to maintain 3-0

Re: [zeromq-dev] 0MQ/3.1

2011-11-07 Thread Phil Stanhope
i have nothing in production ... but would want a path from 2.1 to 3.1 and predictable path (to the extent possible) going forward. So ... option 2. On Tue, Nov 8, 2011 at 7:51 AM, Joshua Foster jhaw...@gmail.com wrote: Option 2. I never really got far enough with 3.0 since I couldn't see a

Re: [zeromq-dev] C# socket_close Syntax

2011-11-07 Thread Paul Betts
I don't believe this is correct, the correct way to close a Socket in C# is to Dispose() it. On Mon, Nov 7, 2011 at 2:22 AM, Martin Sustrik sust...@250bpm.com wrote: On 11/07/2011 11:17 AM, Ilja Golshtein wrote: 07.11.2011, 13:54, Martin Sustriksust...@250bpm.com: However, adding the