Re: script keeps getting "terminated" after about 6 minutes
- From: ebenZEROONE@xxxxxxxxxxx (Hactar)
- Date: Thu, 23 Oct 2008 00:07:57 -0400
In article <a88a938f-7dbc-4458-9d67-6771a5ec3a71@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Bennett Haselton <bennett@xxxxxxxxxxxxx> wrote:
On Oct 22, 5:50 pm, Unruh <unruh-s...@xxxxxxxxxxxxxx> wrote:
Bennett Haselton <benn...@xxxxxxxxxxxxx> writes:
scripts that I'm pretty sure I've seen run for more than 6 minutes
without getting killed. I wonder if the VPS "knows" that this script
is sending mail and that's why it kills it. (Perhaps as some bone-
headed measure to stop customers "spamming"? But obviously that
wouldn't do any good, since I can stop and restart the script as many
times as I need to, to send the mails!)
It is possible. What signal is it receiving?
How would I tell?
You could make a bunch of traps, one for INT, one for TERM, and so on,
that do nothing more than print "Received TERM signal" (or whatever) and
the time. That would actually solve two problems at once -- it'd tell
you what the signal is, and it wouldn't die.
--
The powers in charge keep us in a continuous stampede of patriotic
fervor with the cry of national emergency. Always there has been some
terrible evil to gobble us up if we did not furnish the sums demanded.
Yet these disasters seem never to have been quite real. -- MacArthur (attr)
.
- References:
- script keeps getting "terminated" after about 6 minutes
- From: Bennett Haselton
- Re: script keeps getting "terminated" after about 6 minutes
- From: Unruh
- Re: script keeps getting "terminated" after about 6 minutes
- From: Bennett Haselton
- script keeps getting "terminated" after about 6 minutes
- Prev by Date: Re: script keeps getting "terminated" after about 6 minutes
- Next by Date: Re: bash's mail-checking values
- Previous by thread: Re: script keeps getting "terminated" after about 6 minutes
- Next by thread: Re: script keeps getting "terminated" after about 6 minutes
- Index(es):
Relevant Pages
|