Code Monkey home page Code Monkey logo

Comments (8)

minrk avatar minrk commented on May 18, 2024

Can you give a bit more information about the context (pyzmq/zeromq/python/OS versions)?

from pyzmq.

commandodev avatar commandodev commented on May 18, 2024

Ah yes, novice error! Sorry about that :-)

I last worked on this a couple of weeks ago and I wasn't having the error then. This is on snow leopard and pyzmq is installed in a virtualenv of python 2.6.3. Last commit I've got from pyzmq is 199b0fe (23rd sept) and zeromq2 version is be159b (13th sept). Let me fetch all the latest updates and try it on a different OS and give you a better bug report.

Cheers,
Ben

from pyzmq.

minrk avatar minrk commented on May 18, 2024

Thanks,

I have reproduced the error in current master with OSX 10.6 system Python 2.6.1 with zeromq release 2.0.9, but only once in a few thousand runs. This is going to be a bit tricky to chase down.

from pyzmq.

ellisonbg avatar ellisonbg commented on May 18, 2024

Eeeew, that is going to be horrible. Did you see the error when using eventlet or just regular pyzmq? If you did see it with pyzmq alone, do you have a simple test case that fails. Ideally, it would be nice to run this using gdb, but it might be tough to catch.

from pyzmq.

minrk avatar minrk commented on May 18, 2024

I managed to make it happen in pure pyzmq, but only ~ 1 in a few thousand trials. I'll try to see if I can't catch it in a gdb session. I haven't so far.

from pyzmq.

commandodev avatar commandodev commented on May 18, 2024

I gave a wrong steer on the version I was using - I thought I was working off the checkout I gave you but I had actually installed zeromq via homebrew earlier and I think that was the one that pyzmq was being built against. It was version 2.0.6.

I've now updated to trunk and changed my tests to have some sleep statements in them before messing with the sockets (see https://bitbucket.org/boothead/eventlet/changeset/baa4ea7d5c60) and I'm not seeing any errors.

I haven't run it for thousands of times yet but it's a lot better that the 1 in 10 or so I was getting.

from pyzmq.

ellisonbg avatar ellisonbg commented on May 18, 2024

Yes, 2.0.6 is much more buggy than 2.0.9 is for sure.

from pyzmq.

minrk avatar minrk commented on May 18, 2024

With current master, I just ran my stress test, and it's past 1.4M now without seeing the issue, so I'm convinced it's resolved.

issue 33 stress test

There is a new issue mentioned in the comments on the gist, but I'm not convinced it's not peculiar to my computer.

from pyzmq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.