Archive.sh crashes sometimes

Database CPU usage is not noticable high mysqld process shows around 2.7 to 3GB RAM usage, VM load is around 2, CPU peaks at 60%.

The main problem we are facing is that archive.sh is crashing regulary , at least every second time it runs, but only from cron, running it on the command line so far always worked We have set the php memory limit to 1GB and we use apc but still the archiver …

Please dont use archive.sh anymore, only use archive.php as explained in: How to Set up Auto-Archiving of Your Reports - Analytics Platform - Matomo

The new archive.php script is much more powerful and better than archive.sh.