Commit graph

250 commits

Author SHA1 Message Date
Richard Frith-Macdonald
14bc90ba00 improve help text 2023-01-03 10:49:06 +00:00
Richard Frith-Macdonald
1f54bdf600 Simplify and extend TLS support 2022-11-09 10:34:04 +00:00
Richard Frith-Macdonald
df2c123655 Add more options for TLS support 2022-11-07 15:21:51 +00:00
Richard Frith-Macdonald
a6ea4016d4 Add support for hashed passwords 2022-11-04 12:18:47 +00:00
Richard Frith-Macdonald
15df3fa929 don't override sigusr1 and sigusr2 2022-10-10 12:51:47 +01:00
Richard Frith-Macdonald
b3c86c7acf Improve valgrind integration 2022-07-12 12:26:12 +01:00
Richard Frith-Macdonald
3bd83abd00 improve alarm message 2022-06-17 14:07:54 +01:00
Richard Frith-Macdonald
6bc408e35a raise alarm on deadlock 2022-06-17 11:32:27 +01: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
1a29e09cb8 fix missing preprocessor conditional check 2021-09-13 15:16:35 +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
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
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
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
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
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
90e9670de4 Improve the memory command to report configured parameters and to allow
abbreviations.
2021-01-28 16:22:07 +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
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
7347e01200 Exit -2 if preregistration with nameserver fails 2020-11-02 11:36:57 +00:00
Richard Frith-Macdonald
e43ccf9ca9 Attempt to rationalise process exit status values. 2020-10-17 17:13:26 +01:00
Richard Frith-Macdonald
5d6945ee59 Add notifications about quitting 2020-07-23 07:11:26 +01:00
Richard Frith-Macdonald
b34b6f2e3a Fixupes ot use key with prefix for internal defaults 2020-07-08 16:48:26 +01:00
Richard Frith-Macdonald
f04f1292a3 Many fixups/alterations to launch/shutdown of processes. Removed the 'strict' option to enforce a prefix on defaults keys, since it was really never used and just complicated things. 2020-07-03 11:50:25 +01:00
Richard Frith-Macdonald
d4dbead364 Improve logging/alarming for diagnostic stack traces and fix bug usng wrong alarm levels 2020-06-29 10:51:38 +01:00
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
9382195eb6 Add -ecUpdateRegisteredDefaults 2020-05-18 12:34:43 +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
1a8d6f6195 improve reporting of debug status 2019-10-05 15:43:58 +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
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