* [LTP] dead loop of closing/removing tmp file when TMPDIR is on nfsv4
@ 2012-09-19 3:55 Simon Xu
0 siblings, 0 replies; only message in thread
From: Simon Xu @ 2012-09-19 3:55 UTC (permalink / raw)
To: ltp-list
Hi,
If nfsv4 filesystem is used for TMPDIR, some testcases will have dead
loop when closing/removing tmp dir or file, and LTP output file will
quickly reach several gigabytes in less than 10 seconds.
For example:
access02:
<<<test_output>>>
access02 1 TBROK : chown(/mnt/nfsv4/ltp-7QMNLSoD0z/accsjrpxj, -1,
0) failed: errno=EPERM(1): Operation not permitted
access02 2 TBROK : Remaining cases broken
access02 0 TWARN : tst_brk: Invalid Type: 4. Using TBROK
access02 3 TBROK : tmpdir_cleanup: no user cleanup function called
before exiting
access02 4 TBROK : unexpected signal 11 received (pid = 6283).
access02 5 TFAIL : close(test_file2) failed: errno=EBADF(9): Bad
file descriptor
access02 6 TFAIL : close(temp_file) failed: errno=EBADF(9): Bad
file descriptor
access02 7 TFAIL : close(temp_file) failed: errno=EBADF(9): Bad
file descriptor
access02 8 TFAIL : close(temp_file) failed: errno=EBADF(9): Bad
file descriptor
access02 9 TFAIL : close(temp_file) failed: errno=EBADF(9): Bad
file descriptor
access02 10 TFAIL : close(temp_file) failed: errno=EBADF(9): Bad
file descriptor
access02 11 TFAIL : close(temp_file) failed: errno=EBADF(9): Bad
file descriptor
access02 12 TFAIL : close(temp_file) failed: errno=EBADF(9): Bad
file descriptor
access02 13 TFAIL : close(temp_file) failed: errno=EBADF(9): Bad
file descriptor
access02 14 TFAIL : close(temp_file) failed: errno=EBADF(9): Bad
file descriptor
access02 15 TFAIL : close(temp_file) failed: errno=EBADF(9): Bad
file descriptor
.....
.....
access01:
access01 0 TWARN : tst_rmdir:
rmobj(/mnt/nfsv4/ltp-pGpmqg8e6y/acc8wRrm5) failed:
lstat(/mnt/nfsv4/ltp-pGpmqg8e6y/acc8wRrm5) failed; errno=2: No such file
or directory
access01 0 TWARN : tst_brk: Invalid Type: 4. Using TBROK
access01 6621 TBROK : tmpdir_cleanup: no user cleanup function called
before exiting
access01 0 TWARN : tst_rmdir:
rmobj(/mnt/nfsv4/ltp-pGpmqg8e6y/acc8wRrm5) failed:
lstat(/mnt/nfsv4/ltp-pGpmqg8e6y/acc8wRrm5) failed; errno=2: No such file
or directory
access01 0 TWARN : tst_brk: Invalid Type: 4. Using TBROK
access01 6622 TBROK : tmpdir_cleanup: no user cleanup function called
before exiting
access01 0 TWARN : tst_rmdir:
rmobj(/mnt/nfsv4/ltp-pGpmqg8e6y/acc8wRrm5) failed:
lstat(/mnt/nfsv4/ltp-pGpmqg8e6y/acc8wRrm5) failed; errno=2: No such file
or directory
access01 0 TWARN : tst_brk: Invalid Type: 4. Using TBROK
access01 6623 TBROK : tmpdir_cleanup: no user cleanup function called
before exiting
......
......
nfs mount option: (rw,vers=4,addr=192.168.1.15,clientaddr=192.168.1.137)
My first guess is that this has something to do with nfs silly
renaming. Any idea?
Thanks
Simon
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-09-19 3:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-19 3:55 [LTP] dead loop of closing/removing tmp file when TMPDIR is on nfsv4 Simon Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox