archive.sh script should loop over all websites and trigger archiving in a separate request for each
|Reported by:||matt||Owned by:|
Currently, archive.sh simply loops over the periods and triggers archiving for all websites: http://dev.piwik.org/trac/browser/trunk/misc/cron/archive.sh
because there are memory leaks issues during archiving, see #766, when a Piwik has hundreds or thousands of websites in the system, the memory usage peaks and can lead to ridiculous values.
Until #766 is addressed and as a useful safe guard, we should looop over each website and trigger archiving separately for each. This is a quick fix that will help many users get past the memory usage issues.
Change History (6)
comment:2 Changed 4 years ago by matt (mattab)
- Resolution set to fixed
- Status changed from new to closed