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

Piwik 2.15 - SQL ERROR

$
0
0

@mafernandez wrote:

Hi,
I'm using Piwik 2.15 and crontab.

The import_logs.py process throw some errors and I can't fixed.

Could someone help me?

Environment:
- DB: Mysql 120 GB
- Load 4000000 request per day
- RAM: 4GB
- Launch the process with this parameters:
python /var/piwik/misc/log-analytics/import_logs.py --url=my_URL --recorders=2 --recorder-max-payload-size=1000 --replay-tracking *.log
-

ERROR 1:

016/02/20 02:14:56 [error] 7851#0: *4784 FastCGI sent in stderr: "PHP message: Error in Piwik (tracker): Error query: SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction In query: UPDATE piwik_log_visit SET idvisitor = ?, visit_last_action_time = ?, visit_exit_idaction_name = ?, visit_exit_idac_', .....

ERROR 2:

2016/02/19 23:30:11 [error] 7851#0: *4431 FastCGI sent in stderr: "PHP message: Error in Piwik (tracker): Error query: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction In query: UPDATE piwik_log_visit SET idvisitor = ?, visit_last_action_time = ?, visit_exit_idaction_name = ?, visit_exit_idaction_url = ?, visit_total_actions = visit_total_actions + 1 , visit_total_time = ? WHERE idsite = ? AND idvisit = ? Parameters: array ( ....

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles