Error at least once a day cause by memory overrun


#1

Since I moved to piwik 8.1, the cron job archive.php keeps throwing this error:

Error in the last Piwik archive.php run:
1 total errors during this script execution, please investigate and try and fix these errors. First error was: Got invalid response from API request: https://bobwalter.net/piwik/index.php?module=API&method=CoreAdminHome.runScheduledTasks&format=csv&convertToUnicode=0&token_auth=6b9ab998edfc06b1177cda3fa3aa8ef9&trigger=archivephp. Response was 'Fatal error: Allowed memory size of 805306368 bytes exhausted at /usr/ports/lang/php5/work/php-5.3.8/Zend/zend_API.c:1359 (tried to allocate 71 bytes) in /usr/local/

The allowed memory in config.ini.php is 1000M and the same in php.ini.

Even if this is a legit overrun of my limits, 1 gig seems way too big for a script to require. Is this a bug?

Thanks,
Bob


(Matthieu Aubry) #2

Please check that phpinfo(); shows 1G memory limit as it seems it 's not configured properly? or ask your webhost