The number of open files is limited by the operating system. On linux you can type
ulimit -n
to see what the limit is. If you are root, you can type
ulimit -n 2048
now your program will run ok (as root) since you have lifted the limit to 2048 open files
More Related Contents:
- how to merge a number of lists in to one list [duplicate]
- How do I print curly-brace characters in a string while using .format?
- What does __all__ mean in Python?
- Aren’t Python strings immutable? Then why does a + ” ” + b work?
- Why does on_message stop commands from working?
- Python: count repeated elements in the list [duplicate]
- TypeError: ‘dict’ object is not callable
- Python requests.exceptions.SSLError: EOF occurred in violation of protocol
- How can I get the version defined in setup.py (setuptools) in my package?
- Difference between Variable and get_variable in TensorFlow
- converting string to tuple
- Python: Sharing global variables between modules and classes therein
- How to replace the first occurrence of a regular expression in Python?
- MATLAB-style find() function in Python
- Python REPL tab completion on MacOS
- Efficient method to calculate the rank vector of a list in Python
- Duplicate each member in a list [duplicate]
- What is the difference between calling function with parentheses and without in python? [duplicate]
- How to get Network Interface Card names in Python?
- Python serializable objects json [duplicate]
- Cannot open “.mp4” video files using OpenCV 2.4.3, Python 2.7 in Windows 7 machine
- Change the facecolor of boxplot in pandas
- Creating sublists [duplicate]
- Django ‘AnonymousUser’ object has no attribute ‘_meta’
- Can’t execute shell script from python subprocess: permission denied
- Python Unicode string stored as ‘\u84b8\u6c7d\u5730’ in file, how to convert it back to Unicode?
- How can I combine dictionaries with the same keys?
- re.split() gives empty elements in list
- How to sort a list of dictionaries by a value of the dictionary in Python?
- What is the best way to structure a Tkinter application?