Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

RAM warning track + Graceful shutdown #4555

Closed
wanderingbort opened this issue Jul 9, 2018 · 1 comment
Closed

RAM warning track + Graceful shutdown #4555

wanderingbort opened this issue Jul 9, 2018 · 1 comment
Assignees
Milestone

Comments

@wanderingbort
Copy link
Contributor

Add a configurable warning track to nodeos which will attempt a clean shutdown when the shared memory file approaches a certain percentage used. This will prevent nodes from running into a situation where they have to shutdown immediately and leave the database potentially dirty.

@wanderingbort wanderingbort added this to the Version 1.1 milestone Jul 9, 2018
@wanderingbort wanderingbort self-assigned this Jul 9, 2018
wanderingbort pushed a commit to wanderingbort/eos that referenced this issue Jul 16, 2018
In addition to setting the size you can now set a minimum guard on the chain state db.  If there is a db-growing operation called on controller while this guard is violated it will throw and the node should dhutdown gracefully.

related to EOSIO#4555
@brianjohnson5972
Copy link
Contributor

Resolved via #4666

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants