WEFT_OS/crates/weft-appd
Marco Allegretti cbc984eef6
fix(runtime): limit a component's memory in total and end IPC on failed sends
The memory limit applied to each linear memory separately, so a
component made of several core modules could multiply it. A limiter now
accounts all memories together, and bounds table elements, memories,
tables and core instances.

IPC fixes:
- A failed or timed-out send (10 seconds) ends the connection, since
  part of the line may already have been written.
- A line over the limit ends the connection, also when its newline
  arrives in the same read.
- A line that is not UTF-8 is dropped and logged.

TasksMax is raised to 512, since the runtime runs a few threads per CPU.

Counter and Notes still run under the limits (check_counter.py and
check_notes.py), and check_grants.py passes.
2026-10-09 18:39:05 +00:00
..
src fix(runtime): limit a component's memory in total and end IPC on failed sends 2026-10-09 18:39:05 +00:00
Cargo.toml fix(appd): stabilize tests and unix-gate sd-notify 2026-03-13 12:52:39 +01:00