-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use a process supervisor #183
Comments
God, let's never burden bmcd with anything as unpleasant as systemd. |
… why not simply add an entry to |
I much as I like the simple idea of ~srchelton for using respawn in inittab, it has several disadvantage as an shell use you cannot stop the bmcd anymore, without modifying files. I would go either with a simple shell wrapper like If enabling runit tools of busybox, please do also add Note: the Linux on the BMC seems to have memory management issues if you have write pressure to block devices via the MSD mode of nodes. The page cache seems to grow quite fast with dirty unwritten pages.
The best way would be to reduce bugs and errors instead of service supervision because of buggy software, unfortunatly here we have multiple components interacting. |
The bmcd service might crash in an OOM situation. It is not restarted as that's not a thing in sys-v-init.
I would like to see/use a proper process supervisor. systemd has one on that front for heavy systems, busybox has stripped down runit implementation.
Shell scripts can be used for that. E.g. mysql famously used a chain of sys-v-init -> mysqld_safe -> mysqld. I would not recommend this, especially if a low disk overhead solution like runit is available.
See e.g. #178 or #162 for a case where the bmcd would stay down.
I have tried to build a BMC with runit, it's quite easy, but probably needs discussion if that's a desirable path forward.
The text was updated successfully, but these errors were encountered: