So... if the problem was locked memory (I think there might be some other restrictions that mkie either doesn't know about or didn't think of) then how would a perl user know that it had been exceeded? I'm hoping that more sysadminly people will know the answer since while this isn't a problem I have - it might happen later since you never know when you're going to end up with a restrictive environment. Some form of signal trapping?

mikeirw - that's an idea worth trying. Install some signal traps and see if you can find out what's killing your process that way. Check out the perlipc for more details on the how that works. I'm thinking that if you can just do something like $SIG{SOMETHING} = sub { print "SIGSOMETHING triggered" } to minimally instrument your program.


In reply to Re: Re^6: Beating the system by diotalevi
in thread Beating the system by mikeirw

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.