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.


In reply to Re^2: waitpid stalling on one particular file by seaver
in thread waitpid stalling on one particular file by seaver

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.