Slooooow Drupal Install

Events happening in the community are now at Drupal community events on www.drupal.org.
Wes Ashworth's picture

I've installed drupal on hostmonster and it is incredibly slow. It sometimes takes 45-60 seconds to return a simple view. We only have about 200 node records since it's still in development. The slow query log doesn't have any reports over 1 sec. I don't know if it's my install, or if it's them. I've contacted support and they said the site's being throttled, but I don't know enough about Unix/programing to know if I should hit up IT to install a local server or what.

Any thoughts?

Wes

Comments

I'll Pay You

Wes Ashworth's picture

Anyone interested in looking into my site FOR A FEE to find out why it's so slow?
Thanks,

reply at
admin@pm-tbsmith.com

Install eAccelerator,

leon85321's picture
  1. Install eAccelerator, configure the ini file and restart the apache.
  2. Tune-up mySQL config, enable INNODB and converting tables to INNODB.
    Most of the time the above works great for us on LAMP server.

If you need help installing and configuring them, please let me know.
leonyang.tech@gmail.com

Leon

Switch providers

pillarsdotnet's picture

Either switch to a different hosting provider or upgrade your account.

Entry-level accounts on Hostmonster won't allow your processes to run for more than three minutes before they are forcibly killed, and your php scripts are running in CGI mode. That means that the PHP executable, its dependent libraries, and your entire Drupal site is being re-loaded from disk into memory on every single page request. eAccelerator and APC won't help you there; in fact, they'll make things slightly slower.

If you MUST use Drupal on an entry-level Hostmonster account, look into the Boost module. As long as you are serving mostly static content to mostly non-logged-in (anonymous) visitors, you can get a huge speed increase that way. It basically turns Drupal into a front-end for editing a static html website.

If your IT team can afford it, I recommend getting a VPS with Linode. Install the latest version of nginx, php-fpm, APC, and MySQL from source and you can get some pretty good performance in under 512MB of RAM. It won't cost you much more than an upgraded Hostmonster account, and you can do a lot more with it.

There are also some Drupal-friendly shared-hosting sites out there (NOT Hostmonster) with accounts starting at less than $10/month. I'd make a recommendation, but I haven't tried any of them yet.

Shared hosting will almost always result in failure.

fending's picture

The one exception I have for that is hotdrupal, for which I have only anecdotal evidence. (Their support is allegedly better than just containing your site when it has issues.)

If you're being told the site's being throttled, it may be the case that you have some processes taking up excessive resources and actually making life worse (at some point) for others on that shared host. The above recommendations are great -- if you run into significant issues beyond them: http://drupal.org/user/267790/contact

humm, didn't read clearly

leon85321's picture

humm, didn't read clearly your first sentence, thought you were saying installing with the hostmaster Aegir which you would need full root access to your server.

Anyway, hostmonster plan is shared hosting plan which you pretty much can not make your drupal fast enough. Like pillarsdotnet said, your best option is to go to VPS, Linode is one of the best VPS provider since their network and SAN storage is really really fast for $20 a month (512MB RAM). But if you really rely on managed services such as Cpanel ready VPS, it will cost about $50+ a month but saves you from spending $$ for setting up your web server.

Hope this helps.

Project Management Module

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: