matomo-org / matomo-for-wordpress

Get a fully functioning Matomo Analytics for your WordPress. Star us on Github? +1. Matomo is the leading open alternative to Google Analytics that gives you full control over your data. Privacy is built-in. 100% data ownership, no one else can see your data. We love Pull Requests!
https://matomo.org
GNU General Public License v3.0
119 stars 25 forks source link

Allowed memory size exhausted #836

Open josch87 opened 1 year ago

josch87 commented 1 year ago

Since a couple of weeks it is not possible to open any of the Matomo Analytics backend pages (not even ?page=matomo-about). After a long wait (which paralyzes the entire installation) there is always the following error on a white page with status code 502:

Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request

Reason: Error reading from remote server

kanboard aljoschazoeller

Updating to the latest versions did not change anything. Currently using:

Enabling

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );

does not give any information.

One time WordPress sent a mail to the admin mailbox saying:

Ein Fehler vom Typ E_ERROR wurde in der Zeile 445 der Datei /mnt/web312/c3/99/51444199/htdocs/cms/wp-content/plugins/matomo/classes/WpMatomo/Admin/SystemReport.php verursacht. Fehlermeldung: Allowed memory size of 536870912 bytes exhausted (tried to allocate 266338336 bytes)

memory_limit currently at 512M on a Strato Hosting Starter Package which might be the maximum for this hosting.

How much memory limit does Mataomo Analytics WordPress plugin need?

Thank you very much

diosmosis commented 1 year ago

Hi @josch87, this doesn't appear to strictly be a memory limit issue, I'm guessing something changed on the hosting provider that caused this (the failure in the email you posted has to do with Matomo trying to run the php command w/ a very simple command). Did you reach out to the hosting provider to see what they had to say?