This needs looking into ASAP (as in drop what ever you doing and look into it).
This has been a long running issue, but now is the point it just needs fixing.
This needs looking into ASAP (as in drop what ever you doing and look into it).
This has been a long running issue, but now is the point it just needs fixing.
R9 MediaWiki configuration | |||
R9:da50161a3434 Redo caching configuration (#4393) | |||
R9:6fa5745c9e6d Set luasandbox maxLangCacheSize to 30 | |||
R9:0d6ea52f64bb Set shell limits | |||
R9:4f440e66894b Set shell limits (on mw101 only for now) (#4388) | |||
R9:250a4b530b48 All servers | |||
R9:c459f7328559 Lower $wgMaxShellMemory to 210MB | |||
R9:5f6fa2a23771 Set $wgShellCgroup for use of control group (#4389) | |||
rPUPC Puppet Configuration | |||
rPUPC23623dda41ca MediaWiki: support control groups (#2341) | |||
rPUPC1379f9469711 ImageMagick: limit memory usage to 128MB (#2340) | |||
rPUPC381f44c1e96c Add more to ImageMagick policy file (#2339) |
I've done quite a bit of work on this today, adjusting shell limits, and changing ImageMagick limits. I think it helped a bit, as load seemed to go down and numerous reports of it loading faster now. I also plan to do some additional work on this by using control groups for memory limiting to hopefully resolve some of the remaining issues as well.
Most of my changes had a huge positive impact on the performance if it maintains as current for another day or so I will likely close this task as resolved.
Meta's main page loads in under 500ms consistently for me now.
Just to note this seems to have also resolved large pages not loading (resulting in 502s) as well.
I did alot of changes for performance, but https://github.com/miraheze/mw-config/pull/4393 seems to have had the most positive impact, followed by https://github.com/miraheze/puppet/pull/2341, and https://github.com/miraheze/mw-config/pull/4389.
I've also set some limits for shell execution, at https://github.com/miraheze/mw-config/blob/963c10a/Defines.php#L408-L410 which seems to have had a pretty positive effect on load as well.
Additionally, I made some changes to ImageMagick (https://github.com/miraheze/puppet/pull/2339, and https://github.com/miraheze/puppet/pull/2340) which may or may not have had a huge impact by themselves but they couldn't have hurt.
Marking as resolved since this improvement lasted for awhile. If the issues come up again it can be reopened.