Re: [zeromq-dev] Weird whisper messages arriving with Pyre

2015-12-22 Thread Arnaud Loonstra
Default HWMs for recv and send are at 1000 so if there is a lot of traffic sockets can block. However background threads will be continuing. From this log you've send it looks like frames are getting messed up. If this happens very strange things could happen indeed. If this is really the case

Re: [zeromq-dev] Weird whisper messages arriving with Pyre

2015-12-22 Thread Pieter Hintjens
It looks like partial messages being delivered and/or incorrectly passed between layers. On Mon, Dec 21, 2015 at 11:36 PM, Axel Voitier wrote: > Well, no, it can't be the HWM settings. Pyre set them on DEALER and PAIR > sockets only, which should be blocking if they get

[zeromq-dev] Weird whisper messages arriving with Pyre

2015-12-21 Thread Axel Voitier
Hello, I observe an odd behaviour in my application which seems to relate to Pyre whisper messages being malformatted (incomplete and/or mixed). It is still difficult to reproduce as it happens randomly and when having quite some traffic between the two nodes. Here is an example: >

Re: [zeromq-dev] Weird whisper messages arriving with Pyre

2015-12-21 Thread Axel Voitier
Well, no, it can't be the HWM settings. Pyre set them on DEALER and PAIR sockets only, which should be blocking if they get full. Axel 2015-12-21 23:15 GMT+01:00 Axel Voitier : > Yes, the unittests pass. > > I kind of solved it by increasing the regular sleep I do to

Re: [zeromq-dev] Weird whisper messages arriving with Pyre

2015-12-21 Thread Arnaud Loonstra
I can have a look tomorrow although we'd be best helped with a reproducible error. In this case it seems messages are either malformed or getting mixed up. If some error happens somewhere in a node it is very hard to predict what will happen due to the asynchronous behaviour of pyre. Are the