By mrgoltra on
Good Day,
I finally have my 1st Drupal site up. Not much traffic going on and not much users have signed up but my site is very slow all of a sudden. This is on and off throughout the day.
I am new to Drupal and would like to know how to troubleshoot this problem? How do I know that the problem is with my hosting company and not with my Drupal install and configuration.
Thank you,
Mark
Comments
YSlow analyzes web pages and tells you why they're slow
Dries just wrote about a tool that you might find useful here:
http://buytaert.net/yslow
The actual tool is here:
http://developer.yahoo.com/yslow/
Cool
Thanks for the heads up. I ran the tool and got a D(67) rating for my site.
1. HTTP Request got a D = my site has 10 external CSS
2. USE a CDN got a F = These components are not on a CDN:
3. Add an Expire header got an A
4. Gzip components got a F = These components are not gzipped:
5. Put CSS at the top got an A
6. Move Scripts to the Bottom got a B
7. Avoid CSS expressions got an A
8. Make JS and CSS external = n/a
9. Reduce DNS lookups got an A
10. Minify JS got an A The following JavaScript files do not appear to be obfuscated nor minified. http://mysite.com/misc/drupal.js
11. Avoid redirects got an A
12. Remove duplicate scripts got an A
13. Configure ETags got a F.
I am not really familiar with some of the terms. I still have to read up on it.
Does Yslow also test for database connection?
Thank you,
Mark
I found an article on
I found an article on lullabot, Performance and Scalability Seminar Slides which might be interesting but I haven't digged much into the subject
http://www.lullabot.com/articles/performance_and_scalability_seminar_slides
this is really too much
... today it took 5 minutes for my drupal site to come up and 2 minutes to login. This scenario is on and off. I contact my hosting company and they always tell me that this
We kindly ask you to re-check the site from your side as we have it is running smoothly for you and there is no issue with the site slowness.
It takes next time to load the site from here:
time curl -I
HTTP/1.1 200 OK
Date: Sat, 11 Aug 2007 09:00:51 GMT
Server: Apache
Cache-Control: store, no-cache, must-revalidate
Expires: Sun, 19 Nov 1978 05:00:00 GMT
X-Powered-By: PHP/4.3.11
Set-Cookie:
SESS2f44e3b00cd40704168457571846ab27=c00e4bb54dd9ed6ba73b08714735
6f5a; expires=Mon, 03-Sep-07 12:34:11 GMT; path=/; domain= "edited"
Last-Modified: Sat, 11 Aug 2007 09:00:51 GMT
Cache-Control: post-check=0, pre-check=0
Content-Type: text/html; charset=utf-8
real 0m2.071s
user 0m0.009s
sys 0m0.006s
Thanks.
I am not a network person but can someone explain this to me? I am getting really confused if its Drupal that is causing this slowness. Any other ideas?
Thank you very much,
Mark
Wim Leers' Improving
Wim Leers' Improving Drupal's page loading performance article is pretty authoritative on this subject.