Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5709

Good 'ole "Error in archiving, empty response"

$
0
0

@fatica wrote:

Hi,

We have a very high traffic site and are experiencing issues during archiving. We have traced the problem down to a request made by the archive command

https://analytics.ourwebsite.com/index.php?module=API&method=API.get&idSite=XXXX&period=day&date=last52&token_auth=&format=php&trigger=archivephp

When we put this command into the browser, it takes about 40s to complete, but it does complete and the data is properly archived. When initiated from the archive ./console --force-idsites=XXXX command it returns an empty response.

Questions:

  1. Does anyone know why these execution contexts would differ in their limitations? It seems to me that a CLI context would be more permissive in terms of memory limits and execution timeouts.

  2. It looks like the console command actually makes an HTTP request (it outputs the URL above), which would invoke the php.ini related to apache, not the cli. Does anyone know which php.ini is involved?

Thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5709

Trending Articles