Bug #62480
closedI/O is hang while I try to write to a file with two processes, maybe due to metadata corruption
0%
Description
I have 3 clients mounted to a cephfs.
There is a file named 'GOKU_yplzmcdzkl_1692173797.mym', and I use a python script to write data to it by two concurrent processes with the following command:
'os.open('GOKU_yplzmcdzkl_1692173797.mym',1)'.
The processes hang and the writing is stuck too. I tried to open the file with vim and the vim also hangs. The ps aux command shows that the two processes' states are S and D.
Besides, I find that the size of that file is 0. Afterwards, I try to check the status of that file by each client, and the first two clients show that the file has a size of 0, while when I check the third client, using the ll command, it shows the file has a size of 210MB. And after that ll command, the writing is not stuck.
I would like to know how and why this happens. Thank you!!
Files
Updated by Venky Shankar 7 months ago
- Related to Bug #63013: I/O is hang while I try to write to a file with two processes, maybe due to metadata corruption added
Updated by Venky Shankar 7 months ago
- Status changed from New to Duplicate
Duplicate of https://tracker.ceph.com/issues/63013