mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-25 23:47:53 +00:00
parallel: test of $TMPDIR running full.
This commit is contained in:
parent
e817c6d7f5
commit
3a6be8a6ec
|
@ -4927,7 +4927,9 @@ sub print {
|
|||
my $pos = tell $in_fd;
|
||||
print $in_fd "x"x8193;
|
||||
if(tell $in_fd == $pos) {
|
||||
::error("Cannot append to buffer file in \$TMPDIR. Disk full?\n");
|
||||
::error("Output is incomplete. Cannot append to buffer file in \$TMPDIR. Is the disk full?\n");
|
||||
::error("Change \$TMPDIR with --tmpdir.\n");
|
||||
::wait_and_exit(255);
|
||||
}
|
||||
truncate $in_fd, $pos;
|
||||
# Seek to start
|
||||
|
|
|
@ -10,6 +10,11 @@ echo '### Test if we can deal with output > 4 GB'
|
|||
|
||||
echo '**'
|
||||
|
||||
echo "### Test --tmpdir running full. bug #40733 was caused by this"
|
||||
stdout parallel -j1 --tmpdir /run/shm cat /dev/zero ::: dummy
|
||||
|
||||
echo '**'
|
||||
|
||||
echo "### Test Force outside the file handle limit, 2009-02-17 Gave fork error"
|
||||
(echo echo Start; seq 1 20000 | perl -pe 's/^/true /'; echo echo end) | stdout parallel -uj 0 | egrep -v 'processes took|adjusting'
|
||||
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
### Test if we can deal with output > 4 GB
|
||||
46a318993dfc8e2afd71ff2bc6f605f1 -
|
||||
**
|
||||
### Test --tmpdir running full. bug #40733 was caused by this
|
||||
parallel: Error: Output is incomplete. Cannot append to buffer file in $TMPDIR. Is the disk full?
|
||||
parallel: Error: Change $TMPDIR with --tmpdir.
|
||||
**
|
||||
### Test Force outside the file handle limit, 2009-02-17 Gave fork error
|
||||
parallel: Warning: Only enough file handles to run 506 jobs in parallel.
|
||||
Raising ulimit -n or /etc/security/limits.conf may help.
|
||||
|
|
Loading…
Reference in a new issue