Skip to content Skip to sidebar Skip to footer

Python Multiprocessing Pool Oserror: Too Many Files Open

I have to check how much time do_something() takes in total for a pair of lists containing 30k elements. Below is my code def run(a, b, data): p = datetime.datetime.now() v

Solution 1:

You can use ulimit -u 2048 to raise the process limit.

Use ulimit -a to check the current limits.

Post a Comment for "Python Multiprocessing Pool Oserror: Too Many Files Open"