Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 surveying the Monastery: (13)
As of 2014-07-23 07:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (136 votes), past polls