Richard Frith-Macdonald
|
b90dd9e27d
|
Avoid recursion in attempts to contact Control server
|
2021-06-21 19:11:05 +01:00 |
|
Richard Frith-Macdonald
|
528c6125ef
|
Improve config naming consistency and allow per-launch config of quit time
|
2021-06-21 09:35:36 +01:00 |
|
Richard Frith-Macdonald
|
1b447ab2fb
|
Changes to support auto restart of hung processes
|
2021-06-20 15:56:58 +01:00 |
|
Richard Frith-Macdonald
|
1ed666cf0b
|
Security code enhancement
|
2021-06-18 10:32:45 +01:00 |
|
Richard Frith-Macdonald
|
d0e74e3793
|
Security updates
|
2021-06-17 15:27:39 +01:00 |
|
Richard Frith-Macdonald
|
9e8199edb2
|
Fixup to differentiate between quit-all and terminate
|
2021-06-08 11:39:20 +01:00 |
|
Richard Frith-Macdonald
|
2cc4b78163
|
When we explicitly launch, mark a process as not manually stopped
|
2021-06-08 11:05:09 +01:00 |
|
Richard Frith-Macdonald
|
221cac7993
|
Replace changes accidentally lost in previous commit
|
2021-06-04 16:10:01 +01:00 |
|
Richard Frith-Macdonald
|
9b87fbcdc4
|
Trun on DO encryption if available. Improve memory usage setting/reporting
|
2021-06-03 15:40:14 +01:00 |
|
Richard Frith-Macdonald
|
de5edec9ef
|
Fix error in severity of alarm
|
2021-04-27 10:17:00 +01:00 |
|
Richard Frith-Macdonald
|
0625453631
|
Update comments
|
2021-03-09 11:21:56 +00:00 |
|
Richard Frith-Macdonald
|
82cfb1637c
|
New attempt to fix autolaunch to work in conjunction with externally started process.
|
2021-02-17 15:15:26 +00:00 |
|
Richard Frith-Macdonald
|
df1caea00b
|
Revert last change ... it was making processes autostart after manual shutdown
|
2021-02-17 14:41:35 +00:00 |
|
Richard Frith-Macdonald
|
8ed23f03f0
|
After a successful manual shutdown, the desired state is no longer Dead if the launch is not disabled.
|
2021-02-05 11:51:51 +00:00 |
|
Richard Frith-Macdonald
|
75f34a259d
|
remove client from server before clearing in launch info
|
2021-02-05 09:21:43 +00:00 |
|
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 |
|