Commit graph

266 commits

Author SHA1 Message Date
rfm
b6dbc6efa6 Log how much memory exceeded maximum by 2024-10-18 12:05:22 +01:00
rfm
54c8257e8f Update recordng/tracing 2024-06-18 12:29:17 +01:00
rfm
0aa5ab38db fix parameters for allocation recording 2024-06-18 11:54:05 +01:00
rfm
6fc414e35e Update deprecated function 2024-06-18 11:47:51 +01:00
rfm
e4bff73213 Fixup error in Command server config and imprve logging 2024-01-15 15:24:42 +00:00
Richard Frith-Macdonald
655c72855d Re-instate lost edits. 2023-10-10 14:21:36 +01:00
Richard Frith-Macdonald
baa1966e21 Add checks and simple fixups to ensure that the Home value in the launch
information is sane/usable.
2023-10-10 14:15:55 +01:00
Richard Frith-Macdonald
683b1aba32 fix bogus 0x before %p in debug log 2023-04-24 17:45:52 +01:00
Richard Frith-Macdonald
afb667be58 Scripting improvements 2023-04-07 12:09:24 +01:00
Richard Frith-Macdonald
82acb9d313 Reverse logic of command blocking to be blocked by default. 2023-03-10 16:01:19 +00:00
Richard Frith-Macdonald
1da13e9444 iBlocked support tweaks 2023-03-08 14:59:23 +00:00
Richard Frith-Macdonald
69364d194d fixup order of entries 2023-03-08 14:43:48 +00:00
Richard Frith-Macdonald
d7bbecb4c9 write/delete both prefixed and unprefixed versions of default keys 2023-02-14 10:29:14 +00:00
Richard Frith-Macdonald
4695a1a18d Fix typos in message text 2023-01-21 19:52:46 +00:00
Richard Frith-Macdonald
6711fa677f Ignore MemoryMaximum settings which are not at lewast 20% larger than the initial memory usage. Raise an alarm while the configuration is wrong. 2023-01-21 19:45:49 +00:00
Richard Frith-Macdonald
97b7d55f3a Ignore MemoryMaximum setting which is not at least 20% more than the initial memory usage of the process (and raise an alarm). 2023-01-21 19:32:56 +00:00
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