Commit graph

626 commits

Author SHA1 Message Date
Richard Frith-Macdonald
aca8b47868 Fix broken setting of reminder number 2022-02-18 17:35:17 +00:00
Richard Frith-Macdonald
20d0d0cf02 Improve debug output, including fixing logging of identifier 2022-02-18 17:34:20 +00:00
Richard Frith-Macdonald
c270bf9780 ReminderInterval applies to reminders, not the original raising of alarm 2022-02-18 09:57:48 +00:00
Richard Frith-Macdonald
94032651b5 Allow encrypted DO to be swithed on with user default 2022-02-08 14:36:33 +00:00
Richard Frith-Macdonald
704d07f9e6 improve handling of warnings about low disk space 2022-02-07 13:26:45 +00:00
Richard Frith-Macdonald
7a3ce7697a AlarmFilter added 2021-12-22 10:37:52 +00:00
Richard Frith-Macdonald
d0cc16935b Filter duplicate clears 2021-12-19 12:04:38 +00:00
Richard Frith-Macdonald
c49f244ca2 Allow lookup for a recent match of an alarm 2021-12-19 11:02:02 +00:00
Richard Frith-Macdonald
4f1029ec5c improve help for 'set display ...' a little 2021-12-19 10:38:52 +00:00
Richard Frith-Macdonald
14e052805f safe use of -alarm: for bundle code in other threads 2021-12-16 10:44:17 +00:00
Richard Frith-Macdonald
d5b388213e -alarm: must operate in the thread that the DO connection to the Control server is in. 2021-12-14 23:04:32 +00:00
Richard Frith-Macdonald
03c01fddf2 add fallback clear 2021-12-10 10:27:00 +00:00
Richard Frith-Macdonald
8abf307699 Improve clearing alarms from Console 2021-12-10 10:10:50 +00:00
Richard Frith-Macdonald
1a29e09cb8 fix missing preprocessor conditional check 2021-09-13 15:16:35 +01:00
Richard Frith-Macdonald
f1615227e8 add missed change 2021-09-13 12:36:07 +01:00
Richard Frith-Macdonald
87d50ff667 Use TLS for DO only if TLS_DISTRIBUTED_OBJECTS is defined 2021-09-13 12:19:47 +01:00
Richard Frith-Macdonald
1a5c17b3f3 more compress/delete options 2021-09-03 11:34:52 +01:00
Richard Frith-Macdonald
96f07b21de Improve deletion of older logs 2021-09-03 10:17:38 +01:00
Wolfgang Lux
cf5a235008 Fix a subtle memory management issue 2021-07-29 11:20:30 +02:00
Richard Frith-Macdonald
9f67be1f44 fix error in alarm severity 2021-07-07 13:23:07 +01:00
Richard Frith-Macdonald
50840692fe Fixes for Console return status 2021-06-30 09:45:33 +01:00
Richard Frith-Macdonald
478a5cf3fa Changes for DO and testing 2021-06-24 09:08:31 +01:00
Richard Frith-Macdonald
a577accc51 Improve shutdown logging 2021-06-23 16:18:41 +01:00
Richard Frith-Macdonald
e911e2b373 Use status -5 for restart due to reaching MemoryMaximum 2021-06-23 15:44:18 +01:00
Richard Frith-Macdonald
333a3e8afe improve documentation of hang handling 2021-06-22 09:39:36 +01:00
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