Giter Site home page Giter Site logo

Comments (1)

jarovo avatar jarovo commented on May 27, 2024

The process child processes are zombies:

jhenner  3347498  3.2  0.5 296956 42672 pts/1    S    01:50   0:00 /home/jhenner/work/sat/broker/venv/bin/python venv/bin/py.test tests -v
jhenner  3347507  0.0  0.0      0     0 pts/1    Z    01:50   0:00 [py.test] <defunct>
jhenner  3347508  0.0  0.0      0     0 pts/1    Z    01:50   0:00 [py.test] <defunct>

The parent hangs when dealing with the Queue

(gdb) py-bt
Traceback (most recent call first):
  <built-in method read of module object at remote 0x7fd1114b9680>
  File "/usr/lib64/python3.9/multiprocessing/connection.py", line 384, in _recv
    chunk = read(handle, remaining)
  File "/usr/lib64/python3.9/multiprocessing/connection.py", line 419, in _recv_bytes
    buf = self._recv(4)
  File "/usr/lib64/python3.9/multiprocessing/connection.py", line 221, in recv_bytes
    buf = self._recv_bytes(maxlength)
  File "/usr/lib64/python3.9/multiprocessing/queues.py", line 103, in get
    res = self._recv_bytes()
  File "/home/jhenner/work/sat/broker/broker/broker.py", line 75, in _mp_split
    result.append(mp_queue.get())
  File "/home/jhenner/work/sat/broker/broker/broker.py", line 27, in wrapper
    return vmb_inst._mp_split(vmb_inst.checkout, count, **vmb_inst._kwargs)
  File "/home/jhenner/work/sat/broker/tests/test_broker.py", line 50, in test_mp_checkout

I started an attempt #53 to fix this using the concurrent.futures which I find easy to use and enough for many situations.

from broker.

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.