in reply to Buffer overflow
Here's my guess: You have a memory leak (perhaps from using global variables), or if you are opening files and not closing them, you will eventually reach the max limit on file descriptors.
Try calling your perl script from a shell script loop:
If that is not an option, you can also create another perl script that uses 'do' function to call this script:#!/bin/ksh TIMER=10 while : do perl script.pl sleep $TIMER done
/prakashmy $TIMER = 10; while (1) { do "/path/to/your/script.pl"; sleep $TIMER; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Buffer overflow
by mikeo (Initiate) on Jul 07, 2001 at 02:06 UTC | |
by ChemBoy (Priest) on Jul 07, 2001 at 10:39 UTC | |
by mikeo (Initiate) on Jul 09, 2001 at 18:37 UTC | |
by PrakashK (Pilgrim) on Jul 09, 2001 at 20:57 UTC |