@anonymous-piwik-user opened this Issue on June 30th 2011

We have piwik running in a medium to high traffic website.

Of of the url's being tracked is following: http://www.example.com/unique_token=123489DSFAAF23DSAF34321FDASDF

This page has generated 15000 records with unique name field in the piwik_log_action table.

When we run the archive script it segfaults on the first processing step, the rest is fine. The error is following:

/var/www/piwik/misc/cron/archive.sh: line 73: 18891 Segmentation fault $CMD

All suggestions in the FAQ are tried but none seem to work.

One solution found was to remove the token from the name field in every record. But this would not be a long term solution as it would require constant updating the database or filtering at tracker level.
Keywords: segfault cron

@mattab commented on June 30th 2011 Owner

what version of PHP are you using?

This is PHP bug, not Piwik, even though it is triggered by Piwik heavy memory usage.

@robocoder commented on July 1st 2011 Contributor

A similar issue arose in #1750.

It's a couple of more lines in your tracking code, eg

...
    var url = window.location;
    tracker.setCustomUrl( url.replace(/\/unique_token=.*/, '') );
...
    tracker.trackPageView();
@mattab commented on July 15th 2011 Owner

See the FAQ for segmentation fault

This Issue was closed on July 15th 2011
Powered by GitHub Issue Mirror