geektron has asked for the wisdom of the Perl Monks concerning the following question:
but no. it's not fixed. after about 2 hours of extra debugging, including wrapping everything in eval loops to catch errors, the bloody thing still died. abruptly. with no error messages.
so i pulled the site to my local machine, and ran the databot, and everything worked like a charm.
which got me thinking -- the ISP's looking for 'runaway processes' and killing them.
so i'm wondering if it's feasible to try and catch $SIG{KILL} in the script and try to ignore it.
i tried this, to no avail:
an END block doesn't get executed when the script is killed. i tried:local $SIG{KILL} = \&killed; ### some code sub killed { print "I got killed\n"; }
but that didn't work eitherEND { print "I got killed! \n "; }
i have other ideas for getting around this apparent rate cap . . . but i would like to know that the script is dying because of REAL errors, and not getting killed by some other process.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: getting around an ISPs processing cap
by knobunc (Pilgrim) on May 09, 2001 at 16:20 UTC | |
by merlyn (Sage) on May 09, 2001 at 17:49 UTC | |
by geektron (Curate) on May 10, 2001 at 00:10 UTC | |
|
Re: getting around an ISPs processing cap
by busunsl (Vicar) on May 09, 2001 at 14:16 UTC | |
|
Re: getting around an ISPs processing cap
by clintp (Curate) on May 09, 2001 at 15:49 UTC | |
|
Re: getting around an ISPs processing cap
by zigster (Hermit) on May 09, 2001 at 15:50 UTC |