Well I don't have enough information to actually run that snippet. I have no idea what dacts() does.

But my questions would start with, what does lsof say? Can you run the code on another machine which is not a test kernel, what does that do? (2.4.0 has a new VM, you may have hit a bad case for it. If you don't have another machine but are willing to post, you should be able to find someone who will run the experiment for you.) How much stack are you eating up?

But while I don't have any suggestions for your problem, I have an unrelated suggestion. You should not be calling srand, Perl does that for you and has for several versions now. It is actually counterproductive to call it again. (On Linux you will be exhausting your system's entropy.)


In reply to Re (tilly) 1: So is this a kernel limitation, a hardware limitation, or a perl limitation? by tilly
in thread So is this a kernel limitation, a hardware limitation, or a perl limitation? by deprecated

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.