[Bug-tar] "Cannot open: Too many open files" extraction error with --fil
From:
Ed Leaver
Subject:
[Bug-tar] "Cannot open: Too many open files" extraction error with --files-from option tar-1.15.90/91
Date:
Wed, 28 Jun 2006 23:10:06 -0600
Hi Sergey. I have been testing your --files-from option on tar-1.15.90 and tar-1.15.91. Last night I created a test tarfile that apparently causes a failure when extracting many small files to multiple directories in round-robin order. The source tarfile resides on disk.
To do this I have an externally stored table-of-contents for the tarfile, prepared in the order in which files were tarred when the tarfile was created. My extract command then looks like
Looking at the actual stderr, the errors look like
tar: html/group__pangommEnums.html: Cannot open: Too many open files
tar: Skipping to next header
tar: html/group__PatternMatching.html: Cannot open: Too many open files
tar: Skipping to next header
tar: html/group__Random.html: Cannot open: Too many open files
...and so on. I do not see this problem if I do not use --files-from and just extract everything to one directory. The problem also appears to be related to many small (1-10KB) files being extracted round-robin, so it may be a timing issue of some sort. I'm probably capable of doing a bit of test&debug myself, but would certainly appreciate a clue as to where to start. Thanks!
[Prev in Thread]
Current Thread
[Next in Thread]
[Bug-tar] "Cannot open: Too many open files" extraction error with --files-from option tar-1.15.90/91,
Ed Leaver<=