VPS-provider; host1.no in Norway - reliable people.
Sites is WP-based mostly. The biggest, with nearly 5 mill indexed pages (i guess its on 6-7 mill pages) is based on 200 WP.
Hope to find out more tomorrow (its late here in Norway). Reducing the memory_limit now to 512 and see what will happen on my nightly cron to archive the stats.
Most likely your sushosin updated, which changed the default of suhosin.memory_limit from disabled to 0 (which won’t allow any updates to memory_limit).
SUMMARY OF ERRORS Error: Got invalid response from API request: h t t p : / /www.xxx.yy/piwik/index.php?module=API&method=VisitsSummary.getVisits&idSite=11&period=day&date=last2&format=php&token_auth=6862472f689dfbae97a714f8bf274219&trigger=archivephp. Response was 'curl_exec: Empty reply from server' 1 total errors during this script execution, please investigate and try and fix these errors ERROR: 1 total errors during this script execution, please investigate and try and fix these errors. First error was: Got invalid response from API request: h t t p : / /www.xxx.yy/piwik/index.php?module=API&method=VisitsSummary.getVisits&idSite=11&period=day&date=last2&format=php&token_auth=6862472f689dfbae97a714f8bf274219&trigger=archivephp. Response was 'curl_exec: Empty reply from server' PHP Fatal error: 1 total errors during this script execution, please investigate and try and fix these errors. First error was: Got invalid response from API request: h t t p : / /www.xxx.yy/piwik/index.php?module=API&method=VisitsSummary.getVisits&idSite=11&period=day&date=last2&format=php&token_auth=6862472f689dfbae97a714f8bf274219&trigger=archivephp. Response was 'curl_exec: Empty reply from server' in /var/wwwc/piwik/misc/cron/archive.php on line 519
So then found this i know you dont use godaddy but reminded me of your error
Well... FINALLY got it to work... here's how:
Don't... Rely on GD support or their help, forums or any other of their 'documentation' Use their default PHP or PHP5 cron job strings ie: /web/cgi-bin/php or /web/cgi-bin/php5 Wrap the URL in quotes (take note below) Bother wasting time trying to hack Piwik
Do... Ensure you set archive.php to 755 permissions Insert following into cron job 'browse' line: /usr/bin/curl http(s)://www.mysite.com/path/to/piwik/misc/cron/archive.php?token_auth=[insert-token] Replace [insert-token] with your token_auth key