Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Perl processes that never die

by AgentM (Curate)
on Apr 18, 2001 at 23:37 UTC ( #73633=note: print w/ replies, xml ) Need Help??


in reply to Perl processes that never die

There are a number of possiblities here

  • the server is doing something wrong or has been improperly configured
  • you have an infinite loop in your program that you don't know about
  • Netscape's handling of perl scripts is EVILLY flawed (?)
Since we can have no possible way of knowing what your script does, we cannot analyze it. I don't even know if the Netscape server runs the script persistently or not, so it's unlikely that you'll find a solution here. An ugly hack would be to throw in a alarm(x); at the top of your script where x is the maximum amount of time this entire script can take. That's bad- you probably don't want that. Instead, pull apart your code, especially looking at any loops for any bugs.

Related to the client pushing the STOP button? I dunno. Why don't you try it and find out?

AgentM Systems nor Nasca Enterprises nor Bone::Easy nor Macperl is responsible for the comments made by AgentM. Remember, you can build any logical system with NOR.


Comment on Re: Perl processes that never die
Re: Re: Perl processes that never die
by c-era (Curate) on Apr 18, 2001 at 23:42 UTC
    Just a quick FYI, alarm doesn't work on NT.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://73633]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (11)
As of 2015-07-03 08:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (49 votes), past polls