Problem:
Since 2nd of April, 2024 a Matomo-related cronjob fails regularly.
It fails almost every night around 00:00-02:00 in the morning.
Every time it fails, cron sends an e-mail with a subject like Cron <deploy@web03> umask 0002; php -d memory_limit=8G /local/sites/tracking.wikimedia.de/htdocs/console core:archive --url="https://tracking.wikimedia.de/", referring to tracking.wikimedia.de/logs/matomo.log
It indicates that it is hitting a memory limit.
Since April we increased the memory limit for the cronjob from 2GB to 8GB.
The cronjob still keeps sending error notifaction emails every 1-2 days).
Acceptance criteria:
- find the source of the error
- prevent the error from happening