Whenever I try to use num_workers with a dataloader I always get this error
OSError: [Errno 16] Device or resource busy: '.nfs00000000087c7062000001de'
I tried googling for it but nothing came up which is always scary. Below is the full stacktrace.
Traceback (most recent call last):
File "/st2/jeff/anaconda3/envs/jeff/lib/python3.7/multiprocessing/util.py", line 277, in _run_finalizers
finalizer()
File "/st2/jeff/anaconda3/envs/jeff/lib/python3.7/multiprocessing/util.py", line 201, in __call__
res = self._callback(*self._args, **self._kwargs)
File "/st2/jeff/anaconda3/envs/jeff/lib/python3.7/multiprocessing/util.py", line 277, in _run_finalizers
finalizer()
File "/st2/jeff/anaconda3/envs/jeff/lib/python3.7/multiprocessing/util.py", line 110, in _remove_temp_dir
rmtree(tempdir)
File "/st2/jeff/anaconda3/envs/jeff/lib/python3.7/multiprocessing/util.py", line 201, in __call__
res = self._callback(*self._args, **self._kwargs)
File "/st2/jeff/anaconda3/envs/jeff/lib/python3.7/shutil.py", line 494, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/st2/jeff/anaconda3/envs/jeff/lib/python3.7/multiprocessing/util.py", line 110, in _remove_temp_dir
rmtree(tempdir)
File "/st2/jeff/anaconda3/envs/jeff/lib/python3.7/shutil.py", line 452, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/st2/jeff/anaconda3/envs/jeff/lib/python3.7/shutil.py", line 494, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/st2/jeff/anaconda3/envs/jeff/lib/python3.7/shutil.py", line 450, in _rmtree_safe_fd
os.unlink(entry.name, dir_fd=topfd)
File "/st2/jeff/anaconda3/envs/jeff/lib/python3.7/shutil.py", line 452, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/st2/jeff/anaconda3/envs/jeff/lib/python3.7/shutil.py", line 450, in _rmtree_safe_fd
os.unlink(entry.name, dir_fd=topfd)
OSError: [Errno 16] Device or resource busy: '.nfs00000000087c7066000001db'
OSError: [Errno 16] Device or resource busy: '.nfs00000000087c7064000001dc'
Traceback (most recent call last):
File "/st2/jeff/anaconda3/envs/jeff/lib/python3.7/multiprocessing/util.py", line 277, in _run_finalizers
finalizer()
File "/st2/jeff/anaconda3/envs/jeff/lib/python3.7/multiprocessing/util.py", line 201, in __call__
res = self._callback(*self._args, **self._kwargs)
File "/st2/jeff/anaconda3/envs/jeff/lib/python3.7/multiprocessing/util.py", line 110, in _remove_temp_dir
rmtree(tempdir)
File "/st2/jeff/anaconda3/envs/jeff/lib/python3.7/shutil.py", line 494, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/st2/jeff/anaconda3/envs/jeff/lib/python3.7/shutil.py", line 452, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/st2/jeff/anaconda3/envs/jeff/lib/python3.7/shutil.py", line 450, in _rmtree_safe_fd
os.unlink(entry.name, dir_fd=topfd)
OSError: [Errno 16] Device or resource busy: '.nfs00000000087c7055000001dd'
Traceback (most recent call last):
File "/st2/jeff/anaconda3/envs/jeff/lib/python3.7/multiprocessing/util.py", line 277, in _run_finalizers
finalizer()
File "/st2/jeff/anaconda3/envs/jeff/lib/python3.7/multiprocessing/util.py", line 201, in __call__
res = self._callback(*self._args, **self._kwargs)
File "/st2/jeff/anaconda3/envs/jeff/lib/python3.7/multiprocessing/util.py", line 110, in _remove_temp_dir
rmtree(tempdir)
File "/st2/jeff/anaconda3/envs/jeff/lib/python3.7/shutil.py", line 494, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/st2/jeff/anaconda3/envs/jeff/lib/python3.7/shutil.py", line 452, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/st2/jeff/anaconda3/envs/jeff/lib/python3.7/shutil.py", line 450, in _rmtree_safe_fd
os.unlink(entry.name, dir_fd=topfd)
OSError: [Errno 16] Device or resource busy: '.nfs00000000087c7062000001de'