Ingo Oppermann
1f1a124bb4
Check and lof resource specification
2023-05-24 14:53:33 +02:00
Ingo Oppermann
26d556d8b8
Merge branch 'dev' into vod
2023-05-24 14:42:41 +02:00
Ingo Oppermann
8c3b570ecc
Fix log transfer
2023-05-15 21:31:58 +02:00
Ingo Oppermann
6046bc34c9
Merge branch 'main' into dev
v16.13.0
2023-05-08 12:52:45 +02:00
Ingo Oppermann
e0fdc37e8d
Bump version to 16.13.0
2023-05-08 12:52:14 +02:00
Jan Stabenow
8f85b7665b
Mod updates workflows
2023-05-08 12:24:16 +02:00
Ingo Oppermann
ec7d47734b
Remove double import
2023-05-08 11:47:40 +02:00
Ingo Oppermann
4c3c8d3bd4
Merge branch 'dev' into vod
2023-05-05 12:09:54 +02:00
Ingo Oppermann
ca261a56ee
Add looping_runtime to avstream status
2023-05-05 12:03:48 +02:00
Ingo Oppermann
e613a7423f
Update changelog
2023-05-05 10:47:32 +02:00
Ingo Oppermann
e76d140541
Update changelog
2023-05-05 10:44:25 +02:00
Ingo Oppermann
64f7068293
Merge branch 'dev' into vod
2023-05-05 10:22:54 +02:00
Ingo Oppermann
d41469cdbf
Upgrade rtmp library dependency
...
This fixes a bug in the rtmp library where an error has been left
unchecked caused by a malformed app or playPath. This led to a nil
value for the URL of the publish or play request. However, this
URL should never be nil and accessing this URL caused a panic and
finally shutting the core down, resulting in a DoS.
Thanks to Johannes Frank
2023-05-05 10:04:18 +02:00
Ingo Oppermann
6759ebc950
Fix keeping order on process update
2023-05-03 10:50:33 +02:00
Ingo Oppermann
d97a2709d8
Merge branch 'dev' into vod
2023-05-03 10:34:37 +02:00
Ingo Oppermann
8e2874a456
Fix exposing build system paths in logs
2023-05-03 10:34:07 +02:00
Ingo Oppermann
4d5a1f9617
Fix too early history transfer to new parser during process update
2023-05-02 22:39:34 +02:00
Ingo Oppermann
9545525e46
Extend process reconnect test
2023-05-02 20:53:49 +02:00
Ingo Oppermann
67cde54b90
Add test for progress data in history
2023-05-02 20:52:40 +02:00
Ingo Oppermann
da557271cb
Fix missing mutex for log history
2023-05-02 19:13:16 +02:00
Ingo Oppermann
06d7c6d0d4
Isolate order lock, call onExit later
2023-05-02 11:01:31 +02:00
Ingo Oppermann
3ee362a5fe
Fix race condition
2023-05-02 10:59:57 +02:00
Ingo Oppermann
7cca02f2b5
Add tests
2023-05-01 21:42:01 +02:00
Ingo Oppermann
c23722416b
Fix test
2023-05-01 16:39:47 +02:00
Ingo Oppermann
ef138fb90f
Limit CPU and memory independently, release CPU throttling incremently
2023-05-01 16:29:18 +02:00
Ingo Oppermann
2376e43f96
Fix process restart to restart immediately regardless if reconnect is defined
2023-04-29 08:27:40 +02:00
Ingo Oppermann
b7e0afc7a7
Fix tests
2023-04-29 08:26:22 +02:00
Ingo Oppermann
f0a7564c55
Transfer report history when a process is reloaded
2023-04-29 08:12:45 +02:00
Ingo Oppermann
024b5710b5
Allow whitespaces in front of key/value pairs in process placeholders
2023-04-29 08:06:01 +02:00
Ingo Oppermann
748bccc3d5
WIP: gradually decrease limiting resources
2023-04-29 07:49:37 +02:00
Ingo Oppermann
0921384568
Fix double import of path package
2023-04-29 07:48:29 +02:00
Ingo Oppermann
1d7fd960d5
Merge branch 'dev' into vod
2023-04-28 18:10:24 +02:00
Ingo Oppermann
74110dae54
Fix possible infinite loop with HLS session rewriter
2023-04-28 17:38:36 +02:00
Ingo Oppermann
f6d1cbbec2
WIP: release CPU throttling stepwise
2023-04-28 16:46:59 +02:00
Ingo Oppermann
74f98e8c7e
Define system CPU resources in percent 0-100, acquiring resources check with available system resources
2023-04-28 10:27:33 +02:00
Ingo Oppermann
7527f7833b
Add resource manager
2023-04-27 17:02:20 +02:00
Ingo Oppermann
b723f4e5fd
Propagate number of logical CPUs in resource usage
2023-04-27 10:58:41 +02:00
Ingo Oppermann
c9bdaae7f7
Call onExit if cmd.Start() fails
2023-04-26 22:17:08 +02:00
Ingo Oppermann
5e2060f785
WIP: add resource manager
2023-04-26 22:05:46 +02:00
Ingo Oppermann
1e35d29371
Fix tests
2023-04-26 16:12:41 +02:00
Ingo Oppermann
d59158de03
Allow hard and soft limiting a process
...
A hard limit will kill the process as soon as either CPU or memory
consumption are above a defined limit for a certain amount of time.
A soft limit will throttle the CPU usage if above a defined limit and
kill the process if memory consumption is above a defined limit. The
soft limit can be enabled/disabled on demand.
The default is hard limit.
2023-04-26 16:01:50 +02:00
Ingo Oppermann
d73d915e89
Update changelog
2023-04-26 10:17:19 +02:00
Ingo Oppermann
0c497f4ea5
Merge branch 'dev' into vod
2023-04-26 10:08:18 +02:00
Ingo Oppermann
e45f80ed42
Fix tests
2023-04-26 09:50:09 +02:00
Ingo Oppermann
a2dab2682f
Fix not propagating process limits
2023-04-26 09:49:28 +02:00
Ingo Oppermann
2f9a997a8d
Add test for process limits
2023-04-25 21:59:22 +02:00
Ingo Oppermann
9b17ab2b29
Add global limits in config, fix not using process limits
2023-04-25 21:49:55 +02:00
Ingo Oppermann
74f582e4b4
Remove debug output
2023-04-25 16:25:21 +02:00
Ingo Oppermann
b70382c40b
Expose resource usage in process state
2023-04-25 16:20:59 +02:00
Ingo Oppermann
e849d325bd
Merge branch 'dev' of github.com:datarhei/core into dev
2023-04-25 15:57:28 +02:00