Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • How about ulimit -a
    On my linux box, I get

    core file size (blocks, -c) 0
    data seg size (kbytes, -d) unlimited
    file size (blocks, -f) unlimited
    max locked memory (kbytes, -l) unlimited
    max memory size (kbytes, -m) unlimited
    open files (-n) 1024
    pipe size (512 bytes, -p) 8
    stack size (kbytes, -s) 8192
    cpu time (seconds, -t) unlimited
    max user processes (-u) 2048
    virtual memory (kbytes, -v) unlimited
    • Nope - it was definitely a bug in my code. I just nailed it. Fortunately it was a simple procedure. It went something like this (imagine me counting this stuff manually):

      Number of "open" calls...1..2..3..4.
      Number of "close" calls...1..2..3...hmmmm..

      Five minutes later I had it fixed and created a little test with an FD counter to make sure. All better now. :)