Warning! Probably not the solution.
I've had this problem before and I don't think it's a DOS/UNIX test
problem. (Some years ago at a different company.)
However, see if the program operate differently if you type
$ perl program.pl
$ program.pl
With 5.6 on redhat 6.2 a Dos newline will run example #1,
but not #2. (bash command not found)
Back to the problem
It might be a system problem. Check your inode space. Do a df -i.
I don't think that's the case, but some other system resource is hanging you up.
The previous posts give good clues as well.
Is this a program that performs writes? I know I ran into this problem before and it was most likely with a program that opened multiple files and wrote out log files. This problem is really bugging me that I don't remember the solution.
Hopefully this will give you an area in which to look.
UPDATE: Another idea. Are you using Samba or maybe NFS? For some reason that's tickling the back of my brain.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.