Commit graph

701 commits

Author SHA1 Message Date
Richard Frith-Macdonald
bcdb6d8c5f Rewrites of EcCommand.m and remove unnecessary code in EcProcess registration 2020-06-26 19:59:55 +01:00
Richard Frith-Macdonald
9934bbbdf2 Rewrite launching to make the LaunchInfo instances control most of the work and to use individual timers for each instance with the aim of simplifying launch and shutdown logic and alarms 2020-06-24 13:26:31 +01:00
Richard Frith-Macdonald
48d84025c4 Add current compress/delete setting information to status report 2020-05-28 10:49:26 +01:00
Richard Frith-Macdonald
9382195eb6 Add -ecUpdateRegisteredDefaults 2020-05-18 12:34:43 +01:00
Richard Frith-Macdonald
52043568cc Fix bug loading Alerter config ... should use the value from Control.plist if
AlertConfig.plist is not present
2020-04-06 12:36:06 +01:00
Richard Frith-Macdonald
6d73abdd40 attempt to make restart of a process more reliable in the case where it stopped
responding to the Command server for a while.
2020-04-04 11:03:26 +01:00
Richard Frith-Macdonald
fc3dcb37b4 fixup incorrect copy 2020-03-23 13:40:51 +00:00
Richard Frith-Macdonald
69e3ccd27e Add config sharing for cooperating processes 2020-03-23 13:35:58 +00:00
Richard Frith-Macdonald
85dfbfa006 deprecate old error/alert methods 2020-01-27 15:27:57 +00:00
Richard Frith-Macdonald
aecd4f8323 reset inter-launch delay when a task is launched from the Console 2019-11-08 09:22:36 +00:00
Richard Frith-Macdonald
fa6728fff0 further simplification of restart code 2019-11-01 16:27:29 +00:00
Richard Frith-Macdonald
97b124f865 Add some comments and further simplify task shutdown. 2019-11-01 14:16:04 +00:00
Richard Frith-Macdonald
634b013efb don't kill connection when we have a succesful unregister ... the remote end
needs it to stay alive for the response.
2019-11-01 13:12:27 +00:00
Richard Frith-Macdonald
40b2c6fa7d Simplify and fix task restart issues. 2019-11-01 12:53:46 +00:00
Richard Frith-Macdonald
5af129001e Changes to improve restart and suspend of tasks in the event that a task crashes 2019-10-29 14:56:27 +00:00
Richard Frith-Macdonald
1a8d6f6195 improve reporting of debug status 2019-10-05 15:43:58 +01:00
Richard Frith-Macdonald
d73852fbad avoid compiler warning 2019-10-04 11:03:49 +01:00
Richard Frith-Macdonald
94413442c3 another tweak for shutdwns 2019-10-04 11:02:07 +01:00
Richard Frith-Macdonald
00eb294e4a fix typo 2019-10-04 10:49:39 +01:00
Richard Frith-Macdonald
829fe1e5ce Improve restarting flag to better reflect the state of a task 2019-10-04 10:47:18 +01:00
Richard Frith-Macdonald
a91184d959 improve clean shutdown 2019-10-03 14:36:26 +01:00
Richard Frith-Macdonald
eb6f2ccbb7 rename to avoid conflict with superclass 2019-09-25 14:22:12 +01:00
Wolfgang Lux
a1347ffc90 Fix status command not working for abbreviated process names 2019-09-25 14:38:30 +02:00
Richard Frith-Macdonald
5ebd62e8d8 Make the delay for live process check longer 2019-08-23 15:20:03 +01:00
Richard Frith-Macdonald
3eeac6e114 correction to last change 2019-08-23 15:14:34 +01:00
Richard Frith-Macdonald
3662db65da Make testing for live processes more robust 2019-08-23 15:05:16 +01:00
Richard Frith-Macdonald
c872e2dabc fix typo 2019-08-11 13:39:02 +01:00
Richard Frith-Macdonald
0491c5df00 nother alarm setting for memory 2019-08-11 13:35:10 +01:00
Richard Frith-Macdonald
e908f86e25 improve memory usage reporting etc 2019-08-10 10:19:16 +01:00
Richard Frith-Macdonald
e308fccddc Report whether we are quitting in status 2019-08-09 12:34:58 +01:00
Richard Frith-Macdonald
f2b0a9a874 Avoid creating huge numbers of alarm clears 2019-08-06 14:43:37 +01:00
Richard Frith-Macdonald
8cd2ff9fab more shutdown tweaks (better control over time allowed) 2019-07-15 10:10:05 +01:00
Richard Frith-Macdonald
76077a56a4 Improve clean shutdown 2019-07-15 09:30:40 +01:00
Richard Frith-Macdonald
8a27be3872 Twaek for improved flexiblity when shutting down 2019-07-12 10:56:04 +01:00
Richard Frith-Macdonald
b3e7848177 fixup for nil return value 2019-07-05 16:55:23 +01:00
Richard Frith-Macdonald
0e92bea5e0 Make ecConfigurationError: use varargs 2019-07-05 15:53:39 +01:00
Richard Frith-Macdonald
a3300b57e6 cmment out unneccessary log 2019-06-27 13:46:21 +01:00
Richard Frith-Macdonald
1c561f02ca Make checking of timeouts more robust by testing to see if they are invalidated 2019-06-16 09:40:51 +01:00
Richard Frith-Macdonald
4336887163 Pass debug settings to child 2019-06-07 09:20:15 +01:00
Richard Frith-Macdonald
3ab558d078 remove excess logging 2019-06-05 17:25:16 +01:00
Richard Frith-Macdonald
8f9eb1c4f3 Use Total memory type by default 2019-06-01 15:52:07 +01:00
Richard Frith-Macdonald
242f60f7f1 ensure memType is set 2019-06-01 15:49:13 +01:00
Richard Frith-Macdonald
e3c8059dea improve logging 2019-06-01 15:44:32 +01:00
Richard Frith-Macdonald
80bafed48f fix logic inversion 2019-06-01 15:35:53 +01:00
Richard Frith-Macdonald
5530cc207d Control type of memory tracked 2019-06-01 15:28:21 +01:00
Richard Frith-Macdonald
8ee4d54ea1 improvements for Command startup 2019-05-31 17:33:53 +01:00
Richard Frith-Macdonald
1cd0f6c5f9 stream alarm info to console 2019-05-28 16:57:44 +01:00
Richard Frith-Macdonald
25bd79af54 tweak wording of help 2019-05-28 16:17:03 +01:00
Wolfgang Lux
c4fa449c4c Fix syntax errors inside macro 2019-05-28 15:53:20 +02:00
Richard Frith-Macdonald
526f2072ea Minor tweaks to exception APIs and documentation 2019-05-28 10:16:54 +01:00