Lucas_Werkmeister_WMDE added a comment.

  > On the one hand, I can see that it's good to run the tests in the same 
constrained environment that we run production in - not doing that will cause 
some issues to slip through the testing net.
  
  But are we sure that the CI limit even matches production? Because in 
mediawiki/php.pp 
<https://gerrit.wikimedia.org/g/operations/puppet/+/28e8095837/modules/profile/manifests/mediawiki/php.pp#85>
 I see `'memory_limit' => '500M'`, and the actual memory limit in a maintenance 
script seems to be even larger (1400 MiB), though I don’t know why.
  
    lucaswerkmeister-wmde@mwdebug1002:~$ mwscript shell wikidatawiki 
--memory-limit=default
    Psy Shell v0.12.0 (PHP 7.4.33 — cli) by Justin Hileman
    > ini_get('memory_limit')
    = "1468006400"
    lucaswerkmeister-wmde@mwdebug1002:~$ grep -r memory_limit /etc/php/7.4/
    /etc/php/7.4/fpm/php.ini:memory_limit = 500M
    /etc/php/7.4/cli/php.ini:memory_limit = 500M
    /etc/php/7.4/phpdbg/php.ini:memory_limit = 128M
  
  If that’s true, I think it would be reasonable to bump the CI limit to at 
least 256M.

TASK DETAIL
  https://phabricator.wikimedia.org/T356402

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: ArthurTaylor, Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Krinkle, hashar, Michael, Aklapper, ArthurTaylor, 
Danny_Benjafield_WMDE, Isabelladantes1983, Themindcoder, Adamm71, Jersione, 
Hellket777, LisafBia6531, Astuthiodit_1, 786, Biggs657, karapayneWMDE, 
Invadibot, maantietaja, Juan90264, Alter-paule, Beast1978, ItamarWMDE, Un1tY, 
Akuckartz, Hook696, Kent7301, pdehaye, joker88john, CucyNoiD, Nandana, 
Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, Andrawaag, 
GoranSMilovanovic, QZanden, YULdigitalpreservation, KimKelting, LawExplorer, 
Salgo60, Lewizho99, Maathavan, _jensen, rosalieper, Neuronton, Scott_WUaS, 
MisterSynergy, thcipriani, abian, Wikidata-bugs, aude, Lydia_Pintscher, 
Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to