On 1/28/2014 9:05 AM, Phil Stracchino wrote: > On 01/28/14 08:29, Kern Sibbald wrote: >> Hello, >> >> The next Windows version to be released by Bacula Systems roughly in >> June -- it will >> be version 8.0 tells the Windows OS not to suspend the SD during a job. >> >> For OSX, I don't know if an OS API exists to do this -- on Linux, it >> doesn't seem >> to have one, which means that it is not so simple. If anyone has some >> simple >> OS API call for Linux or Mac OSX that will do this, please let me know. > I've never seen Linux suspend with an active task running in the first > place.
All daemons are active tasks that are running any time a suspend happens, so any OS must handle daemons differently than foreground tasks in terms of determining whether it is active or inactive. The question is, how do you inform Linux and OSX that a daemon is to be considered active even if it would otherwise fall into the category of inactive because, say, there is an open TCP socket, but there has not been any network traffic in X amount of time? ------------------------------------------------------------------------------ WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users