Error bei Cronjob

Ich erhalte einen Error beim Cronjob.

Die “memory_limit” ist bei 256MB, aber aich bei -1 erhalte ich den Fehler.

Kann mir jemand sagen, was ich machen muss? ich habe von alldem nicht viel ahnung.

Hallo,

Ich würde empfehlen im PHP/Webserver error log nachzuschauen, ob da der Fehler konkreter gelogged ist.

Hallo Lukas

Dort erhalte ich folgende Errors in zusammenhang mit Matomo

[26-Jan-2021 11:45:01 UTC] PHP Fatal error:  Allowed memory size of 2097152 bytes exhausted (tried to allocate 4096 bytes) in /html/stats.tobiasdarin.ch/vendor/composer/autoload_static.php on line 2715
[26-Jan-2021 11:45:51 UTC] PHP Fatal error:  Allowed memory size of 2097152 bytes exhausted (tried to allocate 36864 bytes) in /html/stats.tobiasdarin.ch/vendor/composer/autoload_static.php on line 2959
[26-Jan-2021 11:47:41 UTC] PHP Fatal error:  Allowed memory size of 2097152 bytes exhausted (tried to allocate 4096 bytes) in /html/stats.tobiasdarin.ch/vendor/composer/autoload_static.php on line 3278

Hallo,

2097152 bytes sind 2MB, was doch ein sehr niedriges Limit ist. Ich würde empfehlen nochmal die Konfiguration anzuschauen (die von php-fpm/php-apache, nicht von php-cli).

Ich habe nichts geändert, und plötzlich scheint es zu funktionierem ;-/