Soft limit starts as : 256
Soft limit changed to : 4
Traceback (most recent call last):
File "/Users/gaufung/anaconda/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2881, in run_code
File "<ipython-input-3-c5d94b513c7e>", line 12, in <module>
random = open('/dev/random', 'r')
OSError: [Errno 24] Too many open files: '/dev/random'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/gaufung/anaconda/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 1821, in showtraceback
AttributeError: 'OSError' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/gaufung/anaconda/lib/python3.6/site-packages/IPython/core/ultratb.py", line 1132, in get_records
File "/Users/gaufung/anaconda/lib/python3.6/site-packages/IPython/core/ultratb.py", line 313, in wrapped
File "/Users/gaufung/anaconda/lib/python3.6/site-packages/IPython/core/ultratb.py", line 358, in _fixed_getinnerframes
File "/Users/gaufung/anaconda/lib/python3.6/inspect.py", line 1454, in getinnerframes
File "/Users/gaufung/anaconda/lib/python3.6/inspect.py", line 1411, in getframeinfo
File "/Users/gaufung/anaconda/lib/python3.6/inspect.py", line 666, in getsourcefile
File "/Users/gaufung/anaconda/lib/python3.6/inspect.py", line 695, in getmodule
File "/Users/gaufung/anaconda/lib/python3.6/inspect.py", line 679, in getabsfile
File "/Users/gaufung/anaconda/lib/python3.6/posixpath.py", line 374, in abspath
OSError: [Errno 24] Too many open files