in reply to Help on crash in sleep() !
sleep can be interrupted by signals. Maybe your code (or some (C) library it uses) doesn't handle an incoming signal in a good way and the process ends that way?
Can you structure your process in a way that it can be easily restarted by a wrapping shell script or simply reimplement it as a cron job that is run every minute?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Help on crash in sleep() !
by pcouderc (Monk) on Oct 23, 2015 at 20:39 UTC | |
by Corion (Patriarch) on Oct 24, 2015 at 06:31 UTC |