pm.max_requests should be set
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 57/100
Research direction
Search the repository for the PHP-FPM pool configuration and existing configurable process-manager settings, then trace how values are generated or installed. Add a configurable pm.max_requests value with a reasonable default such as 500, and verify that the resulting PHP-FPM configuration contains it.
Written by the indexing model from the issue text.
Description
According to the official Nextcloud server tuning guide, PHP-FPM should be configured with pm.max_requests set, to prevent memory leaks.
I am in a situation where workers consume increasing amounts of memory. I suspect this is to my configuration of the preview generation (enabled HEIC, PDF). I assume it is normal behavior, that workers do not actively free their allocated memory. pm.max_requests solves the problem by limiting worker lifespan.
I suggest to make the value configurable with some reasonable default (e.g., 500).
- Dominant language
- Shell
- Stars
- 2.9k
- Forks
- 318
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nextcloud/nextcloudpi
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nextcloud/nextcloudpi#2129 ·
-
has-updates
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
nextcloud/nextcloudpi#2119 · 1 comment ·
-
has-updates
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
nextcloud/nextcloudpi#2025 · 1 comment ·
-
Nextcloud 34 Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
nextcloud/nextcloudpi#2141 · 2 reactions ·
-
Nextcloud 36 Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
nextcloud/nextcloudpi#2140 ·
All issues in nextcloud/nextcloudpi
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
technical-debt
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
ll7/robot_sf_ll7#9560 ·
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100