Pieter,

Do you have any example or instruction on how to property writing log to file 
file from C? We do not want to interrupt the libzmq on live production system.

Cheers,

Viet

On Jun24, 2012, at 1:21 PM, Pieter Hintjens wrote:

> Viet,
> 
> Sorry for the slow response.
> 
> To debug such problems we absolutely need a stack trace of some kind.
> 
> It should be possible to change the definition of zmq_assert in
> src/err.hpp to log the error properly, on Windows.
> 
> -Pieter
> 
> On Wed, Jun 20, 2012 at 4:48 AM, Viet Hoang (Quant Edge)
> <[email protected]> wrote:
>> We have a critical issue with ZMQ right now.
>> 
>> The connection type is ZMQ DEALER <=> ZMQ ROUTER
>> 
>> Our code structure is C#_BIZ <=> CZMQ <=> LIBZMQ. We wrote our own c# 
>> wrapper.
>> 
>> It works fine but out of nowhere causes assertion every day or two. We run 
>> as windows service so we could not log the assertion info out for debugging.
>> 
>> The system was fine with 200-250 connections, 400-500 messages per second 
>> (on router socket). Now concurrent connections are 500-600, total mps is 
>> 1000-1200 and it starts showing cracks.
>> 
>> The fail is at context level, as other workers running on the same server 
>> will stop working. We have to manually restart all services.
>> 
>> Cheers,
>> 
>> Viet
>> 
>> 
>> _______________________________________________
>> zeromq-dev mailing list
>> [email protected]
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>> 
> _______________________________________________
> zeromq-dev mailing list
> [email protected]
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to