ahuang14 has asked for the wisdom of the Perl Monks concerning the following question:
Hi all,
Do Perl programs automatically time out in a certain amount of time? I set it to parse a tailing file I captured with Snort but it stopped last night and I am not sure why. The Snort program is still running and capturing as we speak but the Perl program seemed to stop after about 30 minutes. I started it at 4:30 and it stopped at 5:03. I wanted it to parse everything overnight. Is there an explanation for this? I could show you the code but there is nothing in it to suggest a time out. I have a loop running:
while(defined ($line = $file -> read)){ ... }
so this should be running as long as new stuff comes in. Any help?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Do Perl Programs Timeout on Their Own
by JavaFan (Canon) on Jul 21, 2011 at 12:47 UTC | |
by ahuang14 (Novice) on Jul 21, 2011 at 13:25 UTC | |
by martell (Hermit) on Jul 21, 2011 at 14:26 UTC | |
|
Re: Do Perl Programs Timeout on Their Own
by DStaal (Chaplain) on Jul 21, 2011 at 12:50 UTC | |
by ahuang14 (Novice) on Jul 21, 2011 at 13:25 UTC | |
by locked_user sundialsvc4 (Abbot) on Jul 21, 2011 at 14:55 UTC |