I am currently trying to find a host for a few websites I want to run on Drupal. I contacted a host that was spoken of favourably here in the Drupal forums with a few questions. A snippet from there response (that contained quite helpfull Drupal specific info) was:
"Drupal is a very resource hungry web application and under
a large load, it runs the risk of being shut down by our admin team if it
begins to debilitate the server it's running on."
I would like to get some feedback from anyone with experience in administering a website (such as Drupal itself) about the issues here.
Is Drupal actually so resource hungry, compared to other web applications? From what I read in other threads I just need to make sure caching is turned on.
Can anyone gues what a "large load" might be?
Comments
Questions:
Questions:
- What modules do you have enabled? Any of them contributed?
- How many users/visits do you expect per day?
--
Drupal development and customization: 2bits.com
Personal: Baheyeldin.com
--
Drupal performance tuning and optimization, hosting, development, and consulting: 2bits.com, Inc. and Twitter at: @2bits
Personal blog: Ba
Answers:
One site is almost ready, and the second site is still being planned. So I'll make some predictions.
-Site 1
Static content and community related functions.
Modules: (* = contributed)
book
forum
help
upload
taxonomy
profile
menu
node
path
page
*og
*mailhandler
*mail
*event (maybe)
Traffic:
Low, 10-50 users/day.
-Site 2
Static content only. The site is just an online brochure for a new business. No contributed modules.
Traffic:
Not at all certain, but could be 100 - 200+ users/per day if business succeeds.
Thanks for replying.
My shared host provider also
My shared host provider also has concerns also has concerns about Drupal. Many of the host providers do not like the fact that Druapl requires the user to have the MySQL privilege to LOCK TABLES. A number of Drupal developers will tell you there is no risk for host providers to grant users the right to LOCK TABLES.
I originally bought the developers argument, but now I'm not so certain. Even the MySQL reference manual says that LOCK TABLES is for server administration and not something usually given for the user (within the context of tables). The reference manual also indicates that:
With host providers who have concerns with how Drupal's requirements of server admin privileges you really can't use the reference manual to assist in getting you those rights. Also, Drupal 4.7 is also likely to require CREATE TEMPORARY TABLES...another server admin privilege. All I can say is it's a shame that the developers can't come up with a better solution that would please more host providers. It's a shame, because I love Drupal but will likely only be using it on the corporate Intranet where I have control over the servers.
-Bryan
References:
http://dev.mysql.com/doc/refman/5.0/en/privileges-provided.html
http://dev.mysql.com/doc/refman/5.0/en/lock-tables.html
Site 5
Drupal can make a lot of calls if you have a fair amount of modules enabled. But gzip and cache can make it fast and lighter. http://site5.com is a great host for Drupal with very welcoming admin and a great redundant server setup should keep even busy sights running.
I second that. Site5 has
I second that. Site5 has given me no problems whatsoever. I just moved a couple of sites over to them last month.
I also second kbahey' s experience. I have had other drupal installs on another host and I have never had any problems either setting it up or using it. Stay away from hosts that put all kinds of restrictions.
I am not competent to comment on the lock tables and temporary tables issue, though.
Not my experience
In my experience, there was no complaints from hosting companies I used for my Drupal sites. I have been running 3 sites on Drupal for 2 years, and never was there an issue of performance.
I used two hosting companies which are by no means high end, and all of them had the LOCK TABLE privilege. None of them complained about Drupal being resource hungry.
One client was hosting on DreamHost. They refused to allow some PHP parameters to prevent PHPSESSID in URLs. They told the client to compile PHP as a CGI and used it as such. When I did this for them, DreamHost turned around and complained about CPU usage being high. This is a busy site. Details on this are here.
Going back to PHP as an Apache module seems to make things better.
Personally, I would stay away from hosts who:
a) force you to CGI, then complain about CPU usage
b) Disallow LOCK TABLE
c) Do not allow you to override parameters for PHPSESSID and such
--
Drupal development and customization: 2bits.com
Personal: Baheyeldin.com
--
Drupal performance tuning and optimization, hosting, development, and consulting: 2bits.com, Inc. and Twitter at: @2bits
Personal blog: Ba
Did you try the good PHPSESSID patch?
kbahey, this PHPSESSID patch works on TextDrive and DreamHost:
http://drupal.org/node/4109#comment-38607
Yes
Yes, that one helps for sure. It is part of core in 4.7
--
Drupal development and customization: 2bits.com
Personal: Baheyeldin.com
--
Drupal performance tuning and optimization, hosting, development, and consulting: 2bits.com, Inc. and Twitter at: @2bits
Personal blog: Ba