Hello all, I searched all over the place for answers, and before you give me a list of reasons that are definitely not the answer lemme explain the problem:
I have a website named http://www.furix.net and if you click any link on the page, it loads EXTREMELY SLOW. I also have another site called http://www.ornarliengineering.com IT has the SAME MODULES, SAME HOST, except different theme and less content and settings maybe and ornarliengineering.com is FASTTTTT, except furix is slow.
Here's What I've tried so far to eliminate possible reasons:
1) I have looked in my admin panel for problems, and did a cron job manually
2) I have checked to see if Clean-URLs was causing the site to slow down, it was not, because ornarliengineering.com is FAST with clean-URLs.
3) I have added the same modules to both, and enabled them. Still same results, ornarli is fast, furix is slow.
4) I checked google.com to see if my images of my theme was large: site:furix.net and found that it was only 10kb, and my forums which is IPB is 34KB and works FAAAAAAST. So it's definitely DRUPAL RELATED my 1and1.com hosting is fine for both sites.
5) I checked the Database for overhead ... 0 overhead. Although there is a 229KB of "cache_menu" table. And I doubt thats the problem.
6) I notice that it is slow at 'connecting' but FAST at 'transferring data' according to my Firefox 2. Doesn't make sense to me.
Things I have not tried:
1) Adding same content/content-type/category to ornarliengineering
2) Try and use caching/gzip, because it seems to be hella fast with ornarliengineering, so I want to isolate the problem.
Comments
Different servers
Despite having the same host for your sites, their on two different servers. They have very different IP addresses. However, this doesn't explain why forums.furix.net is so much faster than Drupal because they are on the same server. I suspect there's some inefficient .htaccess trickery or something server-side that's clogging up the works.
-----
Übercart -- One cart to rule them all.
both sites loaded in about
both sites loaded in about the same time for me. you could try installing the devel.module on the site you feel is slow, and see how many and how long the database querries are taking. A site with content will have more querries especially for the front page.
have you invesitgated caching ? are you using caching ? if so; what are your cache settings ?
hmmm
I think I found some PHP errors in my logs about favorite nodes... lemme try disabling that.
No no, its definitely at least 300x slower... I'm not using caching on either site... I wanna keep them similar, so that I can tell what the problem is.
if you aren't adding the
if you aren't adding the same "content" to each site, then they will never be similar. have to remember that content added to drupal goes INTO the database, therefore your querries on a site with content, will always be higher than a site without content.
Look
there seems to be log entries every second, a page loads... like this:
Table 'db*****.cache' doesn't exist query: DELETE from cache in /homepages/********/***/includes/database.mysql.inc on line 172.
It's quite weird, but it may explain the problem.
yeah
Yeah this SQL error of trying to find cache Table keeps on going.
I disabled the CSS compressing stuff, and Cache had been disabled ALL along.
Also the status report is clear.
Except this log keeps talking about errors by trying to delete from cache... It's very weird.
My 3 other drupal sites, do not get this error. Is there any way to fix it? I'm sure this is the reason of the slowness.
Although if you guys suggest, I can add the same content as well, but I doubt it's the problem, although it could be GeSHi mod, but I doubt it since the other sites have it too.
Not sure if i missed a
Not sure if i missed a comment, but...
are you logged in to one site and not the other when doing the page load tests?
An anonymous user gets served a cached page - so less queries.
--
Ixis (UK): Drupal support, Drupal hosting.
Listen
I even pinged both websites, and the ping to the faster website is 10x faster. So It is definitely related to the php errors about cache. but I don't understand, there is NO caching going on, why is Drupal persistently trying to access the cache table??? If anyone's willing, I can give you temporary admin access to see the problem yourself...
drupal caches some things
drupal caches some things for anon users regardless of settings. have you tryed clearing the cache table ?
hmm
I deleted the cache menu, and it seems to be empty, but it didn't change any speeds on loading.
overhead in the way?
I saw what you were talking about on the 1st connect to the furix.net versus ornarliengineering.com sites. I couldn't see as much difference on reloads after they were locally cached.
My first thought was maybe this was outside the Drupal implementation. I noticed that the faster domain was registered about a month ago and the slower was about 6 months ago. The WhoIs listings show a number of inconsistencies (besides the utter crap registrar Schlund+Partner AG puts in their listings) between the two sites.
Doing a tracert for furix.net was pretty interesting compared to the other. Even though there were fewer hops, the nameserver didn't perform as well. The delay at the oneandone.net hops was nearly 100x worse. If it is taking longer (with more confusion) for every packet being delivered, I'm not surprised that overall performance is in the toilet.
It might be interesting to bypass the DNS -- except that it looks like maybe some load balancing stuff and whatever games Perfora.net is playing are getting in the way.
I'm lucky that I can simplify some of my tests on the shared servers of my host by just using the IP Address found in the WhoIs. (That helps since most of this routing crap confuses the heck outta me!)
Both of your IP Addresses give 404 errors. The IP address for Drupal.org routes you to a database setup screen so I guess you're not alone.
Probably worth some time simplifying these issues.
Wondering
I was wondering, is there any mod, that shows Execution time, db-queries, and other data, at the footer/block?? It could help figure out the real speed... But any other site thats at furix thats not drupal works fast... Any suggestions? Should I try and disable all modules?
I found it
I found a tool called Devel.
Is 5238.93 ms page load, 92 queries, and 3869.19 ms ...... normal???
Also seems like a lot of memory usage, and a lot of cache stuff going on even though cache is disabled!!!
All this for simply loading frontpage????
COMPARED to OrnarliEngineering.com which takes 10 milliseconds for queries 194.67 ms the whole page.. and only 17 queries for front page. VS 92 queries... what the hell is going on?
update
seems like it's still slow, I tried disabling a lot of modules, but it doesn't make a difference.
It seems to me like as if Drupal is doing a few queries a few times too much. Like as if it puts them in some loop??
What could it be?
I guess no one has had a
I guess no one has had a slow website problem.
Still haven't found what's
Still haven't found what's causing the problem, can anyone help?
---
the more url aliases you use the more querries will be needed, hence the all the calls to drupal lookup path.
have you tried optimizing your database tables ?
have you read through the hanbook pages on optimizing your drupal installation ?
are all database being used, on the same server ?
you state that shutting off modules didnt help, which ones did you shut off ? and it made "0" difference in the amount of querries run ?
what about shutting off blocks ? any difference in querries ?
I didn't read any handbooks,
I didn't read any handbooks, but all my DB tables are optimized, and every db is in a separate server.
After I disabled a lot of modules it made it really easy.
When I disabled useless modules like buddylist, and views, poll, and help. It took quite a load off, but nothing compares to the amount of reduction in time load then the deletion of ALL my URL Aliases (all 8). URL Aliases take a lot of queries.
This is the result:
Executed 34 queries in 1847.38 milliseconds. Queries taking longer than 5 ms and queries executed more than once, are highlighted. Page execution time was 3327.7 ms.
However, it is still not as low as OrnarliEngineering.com which has 17 queries, and same modules activated (more modules than furix), and also the queries there take 1 millisecond each while the queries in furix.net take 39 ms each.
Seems like theres something wrong with my database or something perhaps I should ask my host.
The result of disabling ALL modules:
Executed 24 queries in 1229.84 milliseconds. Queries taking longer than 5 ms and queries executed more than once, are highlighted. Page execution time was 1697.31 ms.
But I need some modules, and I wish I could use Path/url alias module, its so important for me... :(. What do I do?
Move the Database
Depending on how many DB's you can create(I'm on 1and1and have 100 available) why don't you create a new DB, see and make sure it is on a different server then move your Drupal db to the new server and see if it makes a difference?
hmm thats not a bad idea,
hmm thats not a bad idea, because each DB is on a separate database. I also emailed the host, let's see what happens.
You said that the more URL
You said that the more URL aliases the more queries needed. So what is the point of enabling pathauto module then, if it only slows down the site? What if you have hundreds of URL aliases?
What is your suggestion? Just clean URLs? or clean URLs with pathauto? or clean URL with path module?
I need to create something like. http://example.com/community, without using the pathauto module.
Any advice, suggestions are welcome. Thanks.
Youfolder.com
Share what's in your folder for the Hispanic community in Canada.
---
personally, i use very few aliases. I believe there is some improvement for this situation coming down the pipeline whether it makes it into D6 or not, I would have no idea.
I have noticed that all drupal sites seem to be slow
But I clicked around in yours and didn't find it particularly slow.
Well, it still takes about
Well, it still takes about 5-10 seconds of "page execution", so thats a lot of PHP to read.
Also 2-4 seconds of DB query, because each query takes 30 ms, not 1 ms (which is the normal rate).
So This really adds up at 32 queries.
Update?
Any update on the situation yet? I'm on Dreamhost and it takes quiet a while to load any [not just the first] page. I currently have a few [<10] alias, have only 1 database working [I have 3 websites, but 2 of them are not really active [test sites], I'm only concertrating on the one that's in the signature - very passionate about it], a few vital modules installed and enabled: only the Blog, Comment, Contact, Drupal, Help, Menu, Path, Ping, Profile, Search, Statistics, Taxonomy, Upload in the Optional are installed and, of course, all in the Core; the User Registration Module, Avatar, DHTML, Drutex, Taxonomy Access Control, TinyMCE and the Update Status modules. Cannot disclose any specifics, but, hopefully, you get the idea.
It's been happening for a while now [approximately 1.5 months], and I can't see a solution.
--
Billy | Major: Accounting | CityTech@CUNY | Student Block.`
---
I'm not finding your site slow either. (the one in your sig).
You've got to be kidding me.
It's as slow as a turtle. No bs. My connection is Verizon, I'm in Brooklyn, NY. At both my home and my job the access is really slow. At home I use FF 2.x and at the job it's IE 6.0.
--
Billy | Major: Accounting | CityTech@CUNY | Student Block.
---
My connection is served by comcast cable.
Here is a videocast of your site loading in IE7 see verymisunderstood.com/help/speed.html. watch the progress bar of the browser in the lower part of the screen.
My screencast
Here's its link. I'm not sure if you'll be able to play it or not, but it's there for all to see. The wait.swf is 10 MB.
--
Billy | Major: Accounting | CityTech@CUNY | Student Block.
My site just went down.
Totally. I mean at all. No response for nearly 2 hours! LITERALLY!!! I've measured. 1:48:34 and counting...WTF?! Did someone just perform the Digg effect on my site?
Update: please disregard the note above: DH was down all this time. My site is back up.
--
Billy | Major: Accounting | CityTech@CUNY | Student Block.
I was having similar
I was having similar problems with speed, too. My pages were loading very very slow. This was like more than a month ago.
It seems to me that you have to tell/train Dreamhost that your site exists, once it know it, it will eventually start loading your page fast.
Youfolder.com
Share what's in your folder for the Hispanic community in Canada.
--
I don't quiet understand it. I pay a tremendous amount of attention to detail. By "once it know it" did you mean once it knows that my website exists? The robot? Even the Google robot knows it exists. Forgive me/let me know [I mean it, so it doesn't happen again] if I hurt your feeling in any way.
--
Billy | Major: Accounting | CityTech@CUNY | Student Block.
Well, when i signed up for
Well, when i signed up for hosting with Dreamhost, the first couple of days my pages were loading very very slow, some people complained about it. As the days and weeks went by, my pages started to load faster. Well now it's all ok. I never figured out what caused the problem.
All i have to say is that Dreamhost had some issues with my site, but not necessarily Drupal related.
Youfolder.com
Share what's in your folder for the Hispanic community in Canada.
-
Ok, then how should I let them know that my site exists? Off the topic, your site gives me 500 error.
--
Billy | Major: Accounting | CityTech@CUNY | Student Block.
Will
Will, I have a dial-up connection and you site loads very quickly.
Dreamhost has had a lot of problems in the past month. So the upload may vary greatly over time, if you were affected by these problems.
Caroline
A coder's guide to file download in Drupal
Who am I | Where are we
11 heavens
--
I hear ya. Would you happen to know if DH is aware of this, and, if it is aware, is there something to be done about it?
--
Billy | Major: Accounting | CityTech@CUNY | Student Block.
Having the same problem
I have been setting up the site on rackspace machine with 1G Ram (economic) on Ubuntu sever LAMP architecture.
MySql 5.2 DB is on the same machine all optimized and I have a very good download speed from the server about 100k bps.
I am running Apache2 and PHP5
I don't know why it is relatively slow.
I would expect it to be match faster, is there any thing I can install in my machine to make it faster, do you think the Squid cache may be a good solution? if I install it as reverse proxy? any idea? do you think I have enough computation power?
please take a look at http://ofno.co.il
=-=
There are many ways to optimize performance of a drupal install. d.o uses varnish I think.
Either way, check out 2bits.com and the performance group on groups.drupa.org for tips on performance optimization.
i was having 25k ms!
Hi
My sites are hosted in a MediaTemple Grid Server. I use Drupal 6 in one of them:
http://www.mauriciogiraldo.com/vgline/
I have a Flash UI displaying data from drupal:
http://www.mauriciogiraldo.com/vgline/beta/
I was having the following:
Executed 2227 queries in 16052.6 milliseconds. Queries taking longer than 5 ms and queries executed more than once, are highlighted. Page execution time was 25733.94 ms.
I am loading the whole database for display in Flash (a couple of hundred nodes... not THAT much) but since Views does not work very well with Services I had to modify that module as in:
http://drupal.org/node/678202
This is killing my site, but I have upgraded my databases to use the Grid Container service that (mt) offers and this is how they look now:
Executed 2226 queries in 2770.57 milliseconds. Queries taking longer than 5 ms and queries executed more than once, are highlighted. Page execution time was 6291.36 ms.
Six seconds is A LOT still but it is a 300% improvement just there!
Well just wanted to share that info. I am still looking for ways of improving that but the Views module just doesn't help.
May be related to your host more than a Drupal issue....
I have had the same performance problems with my hosting co. They have reverted to old php.ini settings many times, reducing my memory allocation. I suspect they do it to encourage me to upgrade my hosting package so they make more money. Adding Drupal Modules caused my sites to get slower and slower, and tech support is often the last resort after you've tried on your own because you'll go crazy trying to figure it all out when you're not a hosting admin, and when your hosting co. only provides a limited control panel.
The only fix for this is to
The only fix for this is to right click on the site folder and delete it, all Drupal sites are slow. You can customise the settings and clear all the caches won't make a difference. Built it yourself in PHP!
Other causes
Common causes for slow sites are easy enough to find, PHP memory, module issues etc.. things addressed from the top of this thread.
However, one less highlighted issue is very large tables, such as the sessions and accesslog tables (even watchdog). This is because these tables are critical to page generation. When they get too large, and they are not optimized, they can hold up the querying necessary to render a page. I suggest either archive them or dump them. I have seen this improve performance 10x on large, popular sites that are not ready to shell out to implement varnish and/or other cache/acceleration techniques.
Just my $0.02 on this thread. ;)
login taking too much time
hi
only login part is taking too much time other than that everything is ok,this is the reason why i confused please help me for this
My Drupal site is slow too
I use ixwebhosting and I have 3 sites there. The other 2 sites use wordpress and there is no performance issue. This site: http://www.dsun.us is very very slow and sometimes it exceed the max time out.
One thing may worth mention is that this is not a clean install. It was migrated from another web host where it worked well.
I have a similar problem.
I have a similar problem. Subscribing for news.
Slow Loading
I had very slow loading time too. Then I reinstalled drupal and unchecked the update automatically box. Works fine now. Hope this helps. dave
Final Result
Hi, what was the final result on this? Did you figure out what was causing the problem? I didn't see a conclusion.
Try to use caching modules
Please try to use the cache modules. Check the URL
Enhance Speed of Drupal
Hi,
The performance of drupal may be enhanced by making use of web accelerators like "Apachebooster".
It will enhance the server performance and thus load the drupal in a much faster manner
More about this may be read here
Try Drupal For Firebug and YSlow
You could try using the Firefox add-on Drupal for Firebug. This module can tell you all the queries executed on every page, all views, nodes, etc. Link to Drupal for Firebug Drupal Module. When you use this tool, you will also need to have the module enabled and the devel module enabled for it to work properly. But do not use the devel module in a production environment, because it is for debugging purposes.
Another tool that tells you more about why the site may be slow from a network perspective is the YSlow browser add-on. This tells you if you have things like too many HTTP requests or too many js or css files.