Page MenuHomePhabricator

Out of memory errors in translatewiki.net
Open, Needs TriagePublic

Description

[11-Apr-2021 15:28:10 UTC] PHP Fatal error:  Allowed memory size of 314572800 bytes exhausted (tried to allocate 20480 bytes) in /srv/mediawiki/tags/2021-04-07_14:43:59/includes/libs/objectcache/utils/MemcachedClient.php on line 295
[11-Apr-2021 15:28:10 UTC] PHP Fatal error:  Allowed memory size of 314572800 bytes exhausted (tried to allocate 20480 bytes) in /srv/mediawiki/tags/2021-04-07_14:43:59/includes/exception/MWExceptionHandler.php on line 302
[11-Apr-2021 16:11:31 UTC] PHP Fatal error:  Allowed memory size of 314572800 bytes exhausted (tried to allocate 20480 bytes) in /srv/mediawiki/tags/2021-04-07_14:43:59/includes/libs/objectcache/utils/MemcachedClient.php on line 295
[11-Apr-2021 16:11:31 UTC] PHP Fatal error:  Allowed memory size of 314572800 bytes exhausted (tried to allocate 20480 bytes) in /srv/mediawiki/tags/2021-04-07_14:43:59/includes/exception/MWExceptionHandler.php on line 302
[11-Apr-2021 16:11:31 UTC] PHP Fatal error:  Allowed memory size of 314572800 bytes exhausted (tried to allocate 20480 bytes) in /srv/mediawiki/tags/2021-04-07_14:43:59/vendor/wikimedia/php-session-serializer/src/Wikimedia/PhpSessionSerializer.php on line 380
[12-Apr-2021 02:21:19 UTC] PHP Fatal error:  Allowed memory size of 314572800 bytes exhausted (tried to allocate 20480 bytes) in /srv/mediawiki/tags/2021-04-07_14:43:59/includes/libs/objectcache/utils/MemcachedClient.php on line 295
[2021-04-12T02:21:19.638049+00:00] exception.ERROR: [5cec9597d1c95fe3544437e8] /wiki/Portal:Aln   PHP Fatal Error from line 295 of /srv/mediawiki/tags/2021-04-07_14:43:59/includes/libs/objectcache/utils/MemcachedClient.php: Allowed memory size of 314572800 bytes exhausted (tried to allocate 20480 bytes) {"exception":"[object] (ErrorException(code: 0): PHP Fatal Error: Allowed memory size of 314572800 bytes exhausted (tried to allocate 20480 bytes) at /srv/mediawiki/tags/2021-04-07_14:43:59/includes/libs/objectcache/utils/MemcachedClient.php:295)

Since this seems to often happen in memcached, my guess is that perhaps the message cache has become too big. Some additional logging of keys and their sizes may help.