Hello,
I have been running the same process for months without issues. Now (I have upgraded to 2.2.0), import_logs.py immediately fails with the message:
# python /var/webs/wwwpiwik/www/misc/log-analytics/import_logs.py --url=http://wstat1.noa.gr \
> /var/webs/wwwgein2/log/access_log.1 --idsite=1 --recorders=4 --enable-http-errors \
> --enable-http-redirects --enable-static --enable-bots --enable-reverse-dns
Fatal error: `php /var/webs/wwwpiwik/www/misc/cron/updatetoken.php` failed with error: PHP Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 523800 bytes) in Unknown on line 0
.
Reponse code was: 1. You can alternatively run the importer using the --login and --password option
I am on CentOS 6.5 x86_64 running php 5.3.3 with php-fpm, python 2.6.6 and nginx 1.6.0.
I increased memory_limit (in php-fpm and in php.ini) up to 1536MB but it still fails.
Can you please advise me on what may be the problem?
Thanks in advance,
Nick