hashar added a comment.

  > Fatal error: Allowed memory size of 134217728 bytes exhausted...
  
  I don't know what is the memory limit on CI, and 128MBytes sounds on the low 
end. Looking at 
`docker-registry.wikimedia.org/releng/quibble-buster-php74:1.6.0-s4`:
  
    $ grep -R memory_limit /etc/php
    /etc/php/7.4/cli/php.ini:memory_limit = -1
    /etc/php/current/cli/php.ini:memory_limit = -1
  
  The CLI definitely runs without a memory limit but the web requests are 
hitting Apache / php-fpm and checking the later:
  
    $ php-fpm7.4 -i|grep memory_limit
    memory_limit => 128M => 128M
  
  Is it too low? Possibly, then we have apparently been running with that low 
level limit for years.
  
  What I suspect is the first web request triggers the generation of a large 
set of data for cache purpose. What comes to mind is the localization cache, 
even though at least the English one is generated by #Quibble 
<https://phabricator.wikimedia.org/tag/quibble/> after having installed and 
updated MediaWiki:
  
  - maybe your request triggers the generation of the localization cache for 
the German language (I have seen that in the past with eg the language team 
using Hebrew for development since it is a right to left language)
  - maybe the localization cache generated from the CLI is not used by the php 
fpm process (T218207 <https://phabricator.wikimedia.org/T218207>):
  
    // Localisation Cache to StaticArray (T218207)
    $wgLocalisationCacheConf['store'] = 'array';
  
  That one sounds like the cache is only stored in the local process and vanish 
upon completion? That would means each web request would trigger a rebuild of 
the localization? :\

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

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

To: hashar
Cc: hashar, Michael, Aklapper, ArthurTaylor, Danny_Benjafield_WMDE, 
Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, 
pdehaye, Nandana, Lahi, Gq86, Andrawaag, GoranSMilovanovic, QZanden, 
YULdigitalpreservation, KimKelting, LawExplorer, Salgo60, _jensen, rosalieper, 
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