Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MySQL DB for PIWIK reached max connection limit - create a new system check diagnostic for max connection setting? #10222

Open
samratng07 opened this issue Jun 8, 2016 · 4 comments
Labels
c: Performance For when we could improve the performance / speed of Matomo. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@samratng07
Copy link

Hi,

is there any max db connection limit in PIWIK configuration,can I set the max number of connections in my PIWIK configurations,as MySQL DB for PIWIK reached max connection limit of 600 and PIWIK stops working bringing the entire site down.

If I can prevent this thing from happening by making changes to PIWIK configurations it would be a great help.

@tsteur
Copy link
Member

tsteur commented Jun 10, 2016

Does this happen because of too many tracking requests? Have a look at https://github.com/piwik/plugin-QueuedTracking this would help in such a case and reduce database connections drastically

@samratng07
Copy link
Author

yes thank you,we will have a look into this try to implement it and then confirm with you,till then please keep the issue open

@mattab
Copy link
Member

mattab commented Jul 14, 2016

Maybe we could create a new system check that does basic Mysql settings configuration checks, and recommends to increase the max connection when applicable...?

@samratng07 has QueuedTracking solved the issue for you?

@mattab mattab added this to the Mid term milestone Jul 14, 2016
@mattab mattab changed the title MySQL DB for PIWIK reached max connection limit and PIWIK stops working. MySQL DB for PIWIK reached max connection limit - create a new system check diagnostic for max connection setting? Jul 14, 2016
@mattab mattab added Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. c: Performance For when we could improve the performance / speed of Matomo. labels Jul 14, 2016
@gauravtyagi
Copy link

Implementing Queue Tracking slows down the insertion rate, can we go with the DB pooling or connection reuse.
Are we opening and closing the connection after each DB transaction.
Approx how many connections are required to serve ~1k requests/sec

@innocraft-automation innocraft-automation removed this from the Backlog (Help wanted) milestone Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Performance For when we could improve the performance / speed of Matomo. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

5 participants