Page MenuHomePhabricator

PHP Fatal error: Allowed memory size of 524288000 bytes exhausted (tried to allocate 20480 bytes) in /var/www/php-monitoring/lib.php on line 35
Closed, ResolvedPublic

Description

As per https://logstash.wikimedia.org/app/kibana#/dashboard/Fatal-Monitor?_g=h@5dd00c6&_a=h@e86ca53 we've the following errors starting and increasing from 15th December 2019:

message	   	PHP Fatal error:  Allowed memory size of 524288000 bytes exhausted (tried to allocate 20480 bytes) in /var/www/php-monitoring/lib.php on line 35

Event Timeline

[06:58] <_joe_> !log clearing apcu across multiple api servers to allow metrics to be collected again (task coming soon)

Change 558158 had a related patch set uploaded (by Effie Mouzeli; owner: Effie Mouzeli):
[operations/puppet@production] mediawiki::php::admin fix lib.php

https://gerrit.wikimedia.org/r/558158

I believe this is a know issue tracked on other ticket (parser memory issues), but I cannot find the right one to merge to, help?

herron triaged this task as Medium priority.Jan 3 2020, 7:45 PM

Change 558158 merged by Effie Mouzeli:
[operations/puppet@production] mediawiki::php::admin memory optimisation for lib.php

https://gerrit.wikimedia.org/r/558158

jijiki claimed this task.

There is was bug in the monitoring script, I will reopen in case it misbehaves again.