in reply to Re: waitpid stalling on one particular file
in thread waitpid stalling on one particular file
I did an strace -f on the command, and here's the end of the output (path edited out):
[pid 24623] stat("/path/65.db.psq", {st_mode=S_IFREG|0666, st_size=811 +5, ...}) = 0 [pid 24623] open("/path/65.db.psq", O_RDONLY) = 6 [pid 24623] mmap(NULL, 8115, PROT_READ, MAP_PRIVATE, 6, 0) = 0x7f78165 +73000 [pid 24623] write(1, "AT5G51490.1.CDS\tAT4G00190.1\t46.0"..., 1340) = +1340 [pid 24623] write(1, "AT2G26450.1.CDS\tAT1G53830.1\t40.5"..., 1615) = +1615 [pid 24623] write(1, "AT1G11580.1.CDS\tAT3G14310.1\t50.1"..., 1286) = +1286 [pid 24623] write(1, "AT2G45220.1.CDS\tAT4G00190.1\t52.6"..., 1279) = +1279 [pid 24623] write(1, "AT3G14310.1.CDS\tAT3G14310.1\t100."..., 1270) = +1270 [pid 24623] write(1, "AT5G55590.1.CDS\tAT5G55590.1\t100."..., 1452 <un +finished ...>
I guess this isn't a perl question, but it doesn't make sense to me that writing to a file would freeze.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: waitpid stalling on one particular file
by salva (Canon) on Sep 25, 2014 at 16:16 UTC | |
by seaver (Pilgrim) on Sep 25, 2014 at 17:17 UTC | |
by salva (Canon) on Sep 25, 2014 at 19:41 UTC |