OCS Unix Agent runs in Daemon mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OCS Inventory: Unified Unix Agent |
Fix Released
|
Medium
|
mortheres |
Bug Description
The OCS Unix agent version 2.0rc3 and previous versions run in "daemon" mode. This is something that is not supposed to be done by processes launched by the launchd system. The launchd system will take care of launching a process at periodic intervals, launching after sleep etc. The periodicity of running the OCS agent should be set in the launchd.plist file not within the forked daemon. This allows the system to manage processes effectively.
From the manual page for launchd.plist, to exectute a process periodically. The launchd.plist should have something like this included
to start every 2 hours. But it also allows some of use to use the key "StartCalendarI
Changed in ocsinventory-unix-agent: | |
importance: | Undecided → Medium |
Changed in ocsinventory-unix-agent: | |
status: | New → In Progress |
Hi Scott,
Thanks a lot for you report. You are right, using the OCS agent in daemon mode is really weird because it's uses too much persistent memory. If the MacOSX launchd deamon could do it for us, it will be really better :) :).
We are currently updating,debugging and enhnacing the MacOSX part of the OCS Unix agent and your idea about using launchd daemon will help us and should be implemented.
We will give some news when the new MacOSX agent will be commited and released.
Kind regards,
Guillaume