python - multiprocessing in iPython: too many files open when I'm not opening any files? -


i have ipython notebook running multi-threaded , have changed on try , run on multiple processors. there substantial amount of code won't quote here unless thinks helpful @ specific portion of it. gist of i'm trying wrap load balancer around pyopencl need feed multiple independent queues-- partly solve specific problem (particle simulation) , partly learning exercise.

at no point intentionally opening files, yet it's crashing error:

traceback (most recent call last):    file "//anaconda/lib/python3.4/site-packages/ipython/core/interactiveshell.py", line 3035, in run_code    file "<ipython-input-23-d29c87aba720>", line 1, in <module>     co.convergestep(mags[3])    file "<ipython-input-17-0eac43f0bbbf>", line 62, in convergestep     evt=self.nlb.qtask(evtlist,(b,k),b.forces,k,out=b.forceaccum,out2=k.forceaccum,sum=true)  file "<ipython-input-13-0f26b8ae660e>", line 36, in qtask     t=stagingthread(waitlist,c,self.pool)    file "<ipython-input-10-549b980aea87>", line 7, in __init__     self.killme=mp.event()    file "//anaconda/lib/python3.4/multiprocessing/context.py", line 91, in event    file "//anaconda/lib/python3.4/multiprocessing/synchronize.py", line 336, in __init__    file "//anaconda/lib/python3.4/multiprocessing/context.py", line 76, in condition    file "//anaconda/lib/python3.4/multiprocessing/synchronize.py", line 215, in __init__    file "//anaconda/lib/python3.4/multiprocessing/context.py", line 81, in semaphore    file "//anaconda/lib/python3.4/multiprocessing/synchronize.py", line 127, in __init__    file "//anaconda/lib/python3.4/multiprocessing/synchronize.py", line 60, in __init__ oserror: [errno 24] many open files 

is there opening files in background i'm not considering?

it looks have 11 processes spawned @ time of failure. i'm running under os x 10.10.3, python 3.4.3, ipython 3.1. not using multiprocessing.pool (at least not intentionally). looks failure happening in event? there other exceptions occur while handling one, they're many files errors , traceback failures , other things they're result of 1 of above...


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -