Interrupted system call error in dataloader

I got the following error during iteration from MNIST dataloader. I could not find any solution anwhere. Can anyone point me what might be wrong?

for batch_idx, (inps, targs) in enumerate(trainloader):

File “/usr/local/lib/python2.7/dist-packages/torch/utils/data/”, line 195, in next
idx, batch = self.data_queue.get()
File “/usr/lib/python2.7/multiprocessing/”, line 376, in get
return recv()
File “/usr/local/lib/python2.7/dist-packages/torch/multiprocessing/”, line 22, in recv
return pickle.loads(buf)
File “/usr/lib/python2.7/”, line 1382, in loads
return Unpickler(file).load()
File “/usr/lib/python2.7/”, line 858, in load
File “/usr/lib/python2.7/”, line 1133, in load_reduce
value = func(*args)
File “/usr/local/lib/python2.7/dist-packages/torch/multiprocessing/”, line 68, in rebuild_storage_fd
fd = multiprocessing.reduction.rebuild_handle(df)
File “/usr/lib/python2.7/multiprocessing/”, line 157, in rebuild_handle
new_handle = recv_handle(conn)
File “/usr/lib/python2.7/multiprocessing/”, line 83, in recv_handle
return _multiprocessing.recvfd(conn.fileno())
OSError: [Errno 4] Interrupted system call


I also got this error for my own dataloader.
Anyone encounter the similar situation?