By seth97 on
Hi!
My drupal D5 site suddenly turned very very slow!
All pages are not slow, but some take 5-10 sec to load. Some of the slow pages have Views in them others are just static html pages.
It is always the same pages that are slow: e.g. first page and about page. Some pages are normal, such as Admin pages.
I enabled the Devel module and checked the time for queries:
Executed 600 queries in 80.86 milliseconds.
That doesn't seem to be the problem, 80 ms is fast.
Number of logged in user doesn't seem to matter.
What else could be the problem?
Thanks!
Comments
If you are on a shared
If you are on a shared server, there could be a lot of traffic at the moment. Do you have CSS compression and cache enabled?
----------------------------------------------------------------------
http://classicvinyl.biz
http://music.bwv810.com
http://davidhertzberg.com
http://association.drupal.org/user/1207
I am a writer, researcher and solo drupal freelancer
something else?
The server does not have a lot of traffic, just some static pages and 1 drupal site.
I have CSS compression and cache enabled.
It also takes super long time to login to the site, most pages are for authenticated users.
Could firewalls or other server settings interfere?
To quickly find the cause of
To quickly find the cause of the slow download would be to check the size of the HTML (just do a save as and check the page size)
Also check using Yslow, the performance parameters, like DOM (no of requests to the server - this could be a major cause in performance once we move to the live server, if we have uncompressed css, js files), size of javascript, large images, large flash, etc.
checkout: http://developer.yahoo.com/performance/rules.html
Shyamala
Technology Head - Drupal Competency Center
Netlink Technologies Ltd.
http://shyamala-drupal.blogspot.com/
Shyamala
http://www.unimitysolutions.com
Not sure how to interpret
Thanks Shyamala!
I tried Yslow and the only difference I could find between my super slow pages and the fast ones was this:
SLOW page:
FAST page:
Could it bee that the extra JavaScript files are slowing things down for certain pages?
How can I determine which JavaScript files?
thanks!
You might want to try the
You might want to try the javascript aggregation module.
----------------------------------------------------------------------
http://classicvinyl.biz
http://music.bwv810.com
http://davidhertzberg.com
http://association.drupal.org/user/1207
I am a writer, researcher and solo drupal freelancer
javascript doesn't seem to be the problem
Thanks bwv!
I tried your suggestion, but it didn't help.
The javascript aggregation module worked, but the pages are still slow.
When I run Yslow with the module enabled I didn't see "This page has 6 external JavaScript files", meaning that the module worked, but the pages are still slow.
So, javascripts are not part of the problem.
Any other ideas?
Problem solved!
The problem was the firewall settings on the server, not related to Drupal.
The server complained about the communication with Google Analytics. When I disabled GA the site came back to normal speed.
http://drupal.org/project/google_analytics
Could you give some more
Could you give some more information?
You just disabled the Google Analytics module?
Yes!
Yes, I just disabled the GA module and the site was back at normal speed.
It is probably because the server does not allow the connection with google when sending data to GA.