Navigation Menu

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

Website loading slowly due to Piwik slow reverse DNS query #8785

Closed
triffic-tang opened this issue Sep 14, 2015 · 4 comments
Closed

Website loading slowly due to Piwik slow reverse DNS query #8785

triffic-tang opened this issue Sep 14, 2015 · 4 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@triffic-tang
Copy link

Our team do like this great app.

But a stubborn problem occurs to me, when we put the piwik tracking code into the public page, then we are going to open the website, but it's quite slowly, much time spent on this request:

Request URL:http://xxxxxx/piwik.php?action_name=%E5%8D%8E%E5%B3%B0&idsite=2
&rec=1&r=948056&h=21&m=55&s=49&url=http%3A
%2F%2Fxxxxxx%2Fhuafeng%2Fmobile%2Fshare%2Fframe.php%3Ftarget%3DrecentProductsMobile
&urlref=http%3A%2F%2Fxxxxxx%2Fhuafeng%2Fmobile%2Flogin.php&_id=42e41fdb7ffba585&_idts=
1442196139&_idvc=4&_idn=0&_refts=0&_viewts=1442238949&send_image=0&pdf=1&qt=0&realp=0
&wma=0&dir=0&fla=1&java=1&gears=0&ag=0&cookie=1&res=1920x1080&gt_ms=111

Replace the website name with xxxxxx for privacy.

qq20150914-3 2x
10.39s to load the page.

Any idea to optimize it? THX

@mattab
Copy link
Member

mattab commented Sep 14, 2015

Hi @jerrycave
can you try to disable the Provider plugin, does it improve performance?

@triffic-tang
Copy link
Author

When I disabled the Provider plugin, it does improve the performance. Loading quite fast.

But can you give us some more detail about the reason? Also according to the description of Provider Plugin.

Reports the Internet Service Provider of the visitors.

If I disabled this plugin, anything bad will be happen to piwik? or somehow piwik can't get accurate pv,uv etc any more?

@mattab
Copy link
Member

mattab commented Sep 20, 2015

The reason is that Provider plugin does a DNS reverse lookup which can be quite slow. Our solution to this problem will be to move the Provider plugin outside of the default Piwik package and move it to the Marketplace. Covered in #5341

@mattab mattab closed this as completed Sep 20, 2015
@mattab mattab added the duplicate For issues that already existed in our issue tracker and were reported previously. label Sep 20, 2015
@mattab
Copy link
Member

mattab commented Sep 20, 2015

We will also disable the 'Provider' plugin by default for new Piwik users #8826

@mattab mattab removed the duplicate For issues that already existed in our issue tracker and were reported previously. label Sep 22, 2015
@mattab mattab changed the title Website Loading Quite Slowly Due To Piwik Website loading slowly due to Piwik slow reverse DNS query Sep 22, 2015
@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Sep 22, 2015
@mattab mattab added this to the 2.15.0 milestone Sep 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

2 participants