Coder Social home page Coder Social logo

evolutionary's People

Contributors

huizerd avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

fedepare

evolutionary's Issues

OSError: [Errno 24] Too many open files

The multiprocessing package is throwing the following error when running main.py (even with processes=1):

Traceback (most recent call last):
  File "main.py", line 292, in <module>
  File "main.py", line 91, in main
  File "/usr/lib/python3.6/multiprocessing/pool.py", line 266, in map
  File "/usr/lib/python3.6/multiprocessing/pool.py", line 644, in get
  File "/usr/lib/python3.6/multiprocessing/pool.py", line 424, in _handle_tasks
  File "/usr/lib/python3.6/multiprocessing/connection.py", line 206, in send
  File "/usr/lib/python3.6/multiprocessing/reduction.py", line 51, in dumps
  File "/home/fede/.local/lib/python3.6/site-packages/torch/multiprocessing/reductions.py", line 333, in reduce_storage
RuntimeError: unable to open shared memory object </torch_8033_2588382653> in read-write mode
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 674, in exec_module
  File "<frozen importlib._bootstrap_external>", line 780, in get_code
  File "<frozen importlib._bootstrap_external>", line 832, in get_data
OSError: [Errno 24] Too many open files: '/usr/lib/python3/dist-packages/apport/__init__.py'

Original exception was:
Traceback (most recent call last):
  File "main.py", line 292, in <module>
  File "main.py", line 91, in main
  File "/usr/lib/python3.6/multiprocessing/pool.py", line 266, in map
  File "/usr/lib/python3.6/multiprocessing/pool.py", line 644, in get
  File "/usr/lib/python3.6/multiprocessing/pool.py", line 424, in _handle_tasks
  File "/usr/lib/python3.6/multiprocessing/connection.py", line 206, in send
  File "/usr/lib/python3.6/multiprocessing/reduction.py", line 51, in dumps
  File "/home/fede/.local/lib/python3.6/site-packages/torch/multiprocessing/reductions.py", line 333, in reduce_storage
RuntimeError: unable to open shared memory object </torch_8033_2588382653> in read-write mode
Traceback (most recent call last):
  File "/usr/lib/python3.6/multiprocessing/util.py", line 262, in _run_finalizers
  File "/usr/lib/python3.6/multiprocessing/util.py", line 186, in __call__
  File "/usr/lib/python3.6/shutil.py", line 482, in rmtree
  File "/usr/lib/python3.6/shutil.py", line 480, in rmtree
OSError: [Errno 24] Too many open files: '/tmp/pymp-lvhtjcav'

Any idea about it?

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.