Menu

#3 A resonable delay is needed when restarting programs

v0.*
open
Kostik
Overal (4)
5
2006-06-18
2006-06-18
Kostik
No

When the piper should start ssh tunnel to a machine
which is not currently online, the ssh returns almost
emidiately and piper restarts it with no delay causing
high CPU usage.

A better solution would be like this:

- try to start program
- if this fails, wait 10 seconds and retry
- if 3 attempt are failed, wait for another 5 minutes

And a better solution is to make values of "10 seconds"
and "5 minutes" configurable.

Discussion

  • Kostik

    Kostik - 2006-06-18
    • assigned_to: nobody --> pokotilenko
     
  • Kostik

    Kostik - 2006-06-18
    • priority: 9 --> 5
     

Log in to post a comment.