r/foss • u/Omar_Gamo • 9h ago
Android needs per-app control over Phantom Process Limits, not just a global on/off switch.
https://issuetracker.google.com/issues/562778579I've submitted a feature request to the Android team regarding Phantom Process Limits, and I'd like to hear what other Termux and UserLAnd users think about it.
Currently, Android has a default limit of 32 phantom processes across all apps combined. This can become restrictive for applications like Termux, especially when running multiple processes, scripts, or background tasks.
Personally, I'd like to be able to increase the phantom process limit specifically for Termux, rather than changing the restrictions for every app on my device.
For example:
- Termux: 350 processes.
- UserLAnd: 128 processes.
- Other apps: Keep the default limit of 32.
These are just example values. Ideally, users should be able to choose an appropriate limit for each application based on their needs.
What about the existing workaround?
Android already provides the "Disable child process restrictions" option in Developer Options (Android 14+). However, this is essentially a global toggle: you either keep the restrictions enabled or disable them altogether.
It doesn't provide the granular control I'm looking for.
My proposal:
Add a dedicated setting in Android's Settings app that allows users to:
- Adjust the global phantom process limit.
- Set individual phantom process limits for specific apps.
- Keep the current default of 32 unchanged for users who don't want to modify anything.
- Display a clear warning that increasing these limits may increase RAM and battery consumption.
This would give users more control without forcing them to disable process restrictions system-wide or rely on ADB, Shizuku, or root access.
I believe this could be particularly useful for Termux users and people running Linux environments or other process-intensive workloads on Android.
I'd like to hear your thoughts:
- Have you experienced similar limitations when using Termux or other apps?
- Would per-app phantom process limits be useful to you?
- Do you think this kind of control should be available directly in Android Settings?
If you find this feature useful, please consider starring the issue and sharing your experience in its comments. More feedback from actual users could help demonstrate why this feature is worth considering.