AMP
AMP copied to clipboard
Add PlayerCount/RAM monitoring for enterprise instances
This is not for requesting support for new games/applications
To do this you should go to https://github.com/CubeCoders/AMPTemplates and first attempt to build a configuration yourself - otherwise you can request a template from this repo.
Feature Request
Add PlayerCount/RAM monitoring for enterprise instances
Feature Information:
Effectively for those games that are slot based (ie. Squad, Rust, ARMA) or that are limited by RAM utilisation (Minecraft, Satisfactory) there needs to be a way for Enterprise users to enforce these sold limits - otherwise we end up with an issue of overutilised and oversold units.
Provide a feature wherein as a provisioning setting (or as a byproduct of setting container Slot/RAM limits) an instance will monitor the Max Players / RAM utilisation of the process, and if it goes over said limits, allow for the following options:
- Do nothing
- Shut down the instance, and send an email to the owner stating the reason why the instance was shut down
- Restart the instance, and send an email to the owner stating the reason why the instance was restarted (will require a crash loop stopper here, say restart 5 times before going no, support needs to be here to help)
These options should be settable via a provisioning flag, or hang off the values of other flags such as $$ContainerRAM Meta.MaxPlayers etc
I confirm:
- [x] that I have searched for an existing feature request matching the description.
A RAM limit is a little redundant with $$ContainerRAM since an application can't use more physical RAM once it hits that point, it just starts swapping to disk. You'd also need a variable threshold since VM based apps like Minecraft have overheads beyond their heap size.
I see this issue is 2 years old, but Satisfactory servers are still not showing active player counts.
I'm going to close this one and track it over here. There's actually a pull request to add that functionality, just need to review it this weekend.
https://github.com/CubeCoders/AMPTemplates/pull/1001
Whoops. Misread the original request. xD