You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By design Nodel keeps its console and activity logs in in-memory circular buffers to avoid unnecessary disk thrashing.
It's obviously possible for nodes to produce excessively lengthy console lines by accident or deliberately which can easily cause substantial memory use, possibly exhausting all available memory and leading to OutOfMemoryErrors.
On hardware with abundant memory, this is typically never a problem however hardware with restricted memory can quickly be affected by this.
To prevent either of these situations I propose Nodel hosts, by default, cap both the number of lines (already in place) as well as the length of the console lines.
This would means there would be a practical cap on the amount of memory a node could consume through its use of the console.
If lengthy lines were needed for development use, a flag (via bootstrap or live API call) could be used to disable console line length capping.
I propose a length maximum of about 500 characters. That'd equate maximum memory consumption of ~1000 bytes × 2000 lines = just over 2 MB per node.
An additional feature could be to have a diagnostics chart entry showing console use for a given host:
Console character write rate
Console total size
The text was updated successfully, but these errors were encountered:
By design Nodel keeps its console and activity logs in in-memory circular buffers to avoid unnecessary disk thrashing.
It's obviously possible for nodes to produce excessively lengthy console lines by accident or deliberately which can easily cause substantial memory use, possibly exhausting all available memory and leading to OutOfMemoryErrors.
On hardware with abundant memory, this is typically never a problem however hardware with restricted memory can quickly be affected by this.
To prevent either of these situations I propose Nodel hosts, by default, cap both the number of lines (already in place) as well as the length of the console lines.
This would means there would be a practical cap on the amount of memory a node could consume through its use of the console.
If lengthy lines were needed for development use, a flag (via bootstrap or live API call) could be used to disable console line length capping.
I propose a length maximum of about 500 characters. That'd equate maximum memory consumption of ~1000 bytes × 2000 lines = just over 2 MB per node.
An additional feature could be to have a diagnostics chart entry showing console use for a given host:
The text was updated successfully, but these errors were encountered: