Skip to content
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

fix: change mpm_prefork configuration for off and off-pro to reduce memory usage #10428

Merged
merged 2 commits into from
Jun 12, 2024

Conversation

stephanegigandet
Copy link
Contributor

This reduces MaxConnectionsPerChild from 500 to 100 on OFF (and activates it on off-pro) in order to reduce the size of the apache mod_perl processes that grow over time.

The processes start at 1.5Gb, but on off-pro they grew up to 2.5Gb.

I also reduced the number of processes on off-pro, as traffic should be very small.

@raphael0202 I accidentally checked in a change to off-log.conf that was on the off container on off2, I assume it's a wanted change?

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@stephanegigandet stephanegigandet merged commit cde6f5e into main Jun 12, 2024
13 checks passed
@stephanegigandet stephanegigandet deleted the mpm-prefork-conf branch June 12, 2024 09:32
@raphael0202
Copy link
Contributor

@stephanegigandet Sorry I missed this mention, yes it was a hot-change made in prod, so I could track the rate-limiter.
But I've created (and merged) a PR adding these changes on Product Opener, so we're good.

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

Successfully merging this pull request may close these issues.

3 participants