in reply to Re^2: Ulimit makes program hang
in thread Ulimit makes program hang
I strongly suspect that, if you re-insert the sleep before shelling out, your results will be modified since the perl process won't otherwise have enough time to complete the print.
Have you tried the fork/exec approach ?
Have you tried an even lower limit and running the program using truss (or is it strace on linux) ?
As an afterthought, I do wonder if you've uncovered a bug in perl...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Ulimit makes program hang
by memo2005 (Initiate) on Aug 13, 2008 at 15:50 UTC | |
by Bloodnok (Vicar) on Aug 13, 2008 at 16:50 UTC |