Richard Frith-Macdonald
|
463f16c5cd
|
Report (if in debug mode) when we clear a client but the launch info has a different client set. Do not raise an exception.
|
2021-02-05 09:18:26 +00:00 |
|
Richard Frith-Macdonald
|
b7c165ff00
|
Fix bug checking MemoryType configuration which was resulting in the default type of memory monitoring being RSS rather than the process toal virtual memory. Add MemoryUnit setting to allow memory usage information to be displayed in MB or pages, not just KB. In status of process, report when the memory usage was last checked.
|
2021-01-30 12:11:16 +00:00 |
|
Richard Frith-Macdonald
|
b89e75357e
|
Every five minutes log all the launch information
|
2021-01-29 15:50:32 +00:00 |
|
Richard Frith-Macdonald
|
7149d8e821
|
Fix method name in some NSLog entries and add pid information in lanch info description
|
2021-01-29 14:51:23 +00:00 |
|
Richard Frith-Macdonald
|
354ea49f94
|
Make sure -restart: only operates on clients which are currently active (or hung) and provide information about when the restart is likely for hung clients. Also tweak resume so that the message about launching being resumed is sent beforemessages about new processes.
|
2021-01-29 11:44:18 +00:00 |
|
Richard Frith-Macdonald
|
c75d7bb402
|
Make -progress logs conditional upon the CommandDebug setting, rename a process for clarity, and change the running process listing to report 'stopping' in preference to 'hung' when a hung process is being shut down.
|
2021-01-29 10:54:52 +00:00 |
|
Richard Frith-Macdonald
|
b3562124d3
|
Document the fact that Terminate can be used to stop an individaul process
|
2021-01-28 17:47:28 +00:00 |
|
Richard Frith-Macdonald
|
37461100dd
|
Add -terminate method so that an individual process can be killed using the Terminate tool.
|
2021-01-28 17:43:15 +00:00 |
|
Richard Frith-Macdonald
|
ddf15e3626
|
Fix logic for raising an alarm on process stop. If the process was cleanly shut down and is not set to be 'Live' then we don't need an exception.
|
2021-01-28 17:21:12 +00:00 |
|
Richard Frith-Macdonald
|
0fe10f12ed
|
Calculate abortDate in one place. Make sure it takes the global terminate date (if any) into account. Fix bug clearing the global termination date (should never happen since, when that date is reached, the Command server should exit).
|
2021-01-28 16:57:16 +00:00 |
|
Richard Frith-Macdonald
|
1ee2997360
|
Fixes for process shutdown reliability and improved reporting and debug logging
|
2021-01-28 16:23:07 +00:00 |
|
Richard Frith-Macdonald
|
90e9670de4
|
Improve the memory command to report configured parameters and to allow
abbreviations.
|
2021-01-28 16:22:07 +00:00 |
|
Richard Frith-Macdonald
|
9289448a94
|
Log in every path whan stopping a process
|
2021-01-21 10:31:15 +00:00 |
|
Richard Frith-Macdonald
|
33522d10f6
|
Add a lot more debugging for progressing the state of a process. Log exceptions when we ask a process to reconnect to us.
|
2021-01-21 09:25:25 +00:00 |
|
Wolfgang Lux
|
19bcc31928
|
Fix memory all command
|
2021-01-15 15:51:00 +01:00 |
|
Richard Frith-Macdonald
|
e2a980231a
|
Fix a leak and some dead assignments.
|
2021-01-14 09:14:32 +00:00 |
|
Richard Frith-Macdonald
|
154f4f7a2d
|
Add check that we do not launch a task while we already have one recorded.
|
2021-01-07 11:20:47 +00:00 |
|
Richard Frith-Macdonald
|
bad8e8e5b3
|
Fix default value for alarm alerting threshold and add status information about the number of alarms which generated alerts or were ignored due to the threshold.
|
2020-12-07 10:15:28 +00:00 |
|
Richard Frith-Macdonald
|
8626bd1823
|
With debug, report each event having rules applied
|
2020-12-01 17:45:35 +00:00 |
|
Richard Frith-Macdonald
|
68b560b62b
|
Improve tolerance (and logging) of re-entrancy in -starting: method.
|
2020-11-24 01:26:55 +00:00 |
|
Richard Frith-Macdonald
|
f54012db83
|
Don't force the prefix to be used for the ProgramName and Instance
|
2020-11-17 10:30:03 +00:00 |
|
Richard Frith-Macdonald
|
86f84e101f
|
Add configuration to permit easy running of processes under valgrind and to
manage the valgrind logs (in the debug area in a subdirectory 'Valgrind').
|
2020-11-14 11:39:25 +00:00 |
|
Richard Frith-Macdonald
|
5879c8eef9
|
Report any error on the smtp conenction in status
|
2020-11-13 02:34:41 +00:00 |
|
Richard Frith-Macdonald
|
561dfbf88c
|
fix minor leak
|
2020-11-13 01:05:13 +00:00 |
|
Richard Frith-Macdonald
|
34c1af884f
|
Fix typo in default repair text
|
2020-11-12 04:21:25 +00:00 |
|
Richard Frith-Macdonald
|
7347e01200
|
Exit -2 if preregistration with nameserver fails
|
2020-11-02 11:36:57 +00:00 |
|
Richard Frith-Macdonald
|
9b4ebd9c15
|
Make EcException macros generaqte logs if EcProc is not yet initialised
|
2020-10-30 12:32:52 +00:00 |
|
Richard Frith-Macdonald
|
c796ed2bdf
|
When abandoning an unlaunched process, call -stopped to make sure it's in a sane state to launch again.
|
2020-10-28 09:51:38 +00:00 |
|
Richard Frith-Macdonald
|
56bc1a6958
|
Fixup for restart after quite while suspended
|
2020-10-27 10:00:47 +00:00 |
|
Richard Frith-Macdonald
|
dfa7447593
|
when quitting all processes, check for ones where startup is abandoned
|
2020-10-27 09:46:34 +00:00 |
|
Richard Frith-Macdonald
|
e82865d61f
|
fix messages for -2 and -3 exist statuses (wrong way round)
|
2020-10-19 16:59:44 +01:00 |
|
Richard Frith-Macdonald
|
e43ccf9ca9
|
Attempt to rationalise process exit status values.
|
2020-10-17 17:13:26 +01:00 |
|
Richard Frith-Macdonald
|
08fee2c40e
|
Improve recording of process exist status (whether or not it is a signal, and
negative status values), and fix logic to restart processes which exit with a non-zero status if autolaunch is enabled for them.
|
2020-10-16 14:24:22 +01:00 |
|
Richard Frith-Macdonald
|
0097f820cf
|
Attempt to make ReminderInterval more friendly
|
2020-10-15 13:00:34 +01:00 |
|
Richard Frith-Macdonald
|
6eaf24b103
|
Tweak
|
2020-10-15 12:51:58 +01:00 |
|
Richard Frith-Macdonald
|
917e7f8bb5
|
Tidied alarm reminder behavior
|
2020-10-15 12:03:24 +01:00 |
|
Richard Frith-Macdonald
|
dcb5368a23
|
Improve debug logging and documentation
|
2020-10-15 11:43:52 +01:00 |
|
Richard Frith-Macdonald
|
7d56d2a8ac
|
Changed 'clear' to 'suppress' to differentaite it from the 'clear' command applied to an individual process.
|
2020-10-14 15:50:08 +01:00 |
|
Richard Frith-Macdonald
|
3bd03637ff
|
Fix bug with throttling and add some debug
|
2020-10-14 15:48:55 +01:00 |
|
Richard Frith-Macdonald
|
020b2cef7e
|
fix memory overrun
|
2020-10-14 11:46:52 +01:00 |
|
Richard Frith-Macdonald
|
daa3095872
|
More alarm info in event dictionary
|
2020-10-13 14:02:00 +01:00 |
|
Richard Frith-Macdonald
|
a34932cac4
|
fix error enumerating 'Other' destinations
|
2020-10-12 15:15:37 +01:00 |
|
Richard Frith-Macdonald
|
af00664795
|
report throttleAt in status
|
2020-10-09 15:30:11 +01:00 |
|
Richard Frith-Macdonald
|
25061be0ea
|
Added ThrottleAt config
|
2020-10-09 15:27:10 +01:00 |
|
Richard Frith-Macdonald
|
8c36804950
|
Simplify API and add support for alerts to other destinations
|
2020-10-09 15:19:35 +01:00 |
|
Richard Frith-Macdonald
|
d5bf5edce1
|
Fixup default SMS template to not include timestamp
|
2020-10-08 12:29:12 +01:00 |
|
Richard Frith-Macdonald
|
8969536f35
|
Change 'launch all' to only launch programs which have autolaunch set.
|
2020-10-05 14:54:54 +01:00 |
|
Richard Frith-Macdonald
|
52e91470ba
|
Replace +[NSHost hostWithName:] by a version which will first check to see if it has been given a well known name mapping to a host. This ensures that well known name mappings are used fror normal host lookup.
|
2020-09-04 09:52:58 +01:00 |
|
Richard Frith-Macdonald
|
c3fb7fdbdf
|
Don't autolaunch on config change unless autolaunch state changed: we don't want a configuration update to launch processes which were manully stopped.
|
2020-08-10 21:52:37 +01:00 |
|
Richard Frith-Macdonald
|
85ba581bac
|
Avoid printing misleading address information for copy of original alarm
|
2020-08-10 16:13:33 +01:00 |
|