Error message

  • Notice: Trying to get property of non-object in block_block_view() (line 247 of /home/robogeek1/davidherron.com/modules/block/block.module).
  • Notice: Trying to get property of non-object in block_block_view() (line 247 of /home/robogeek1/davidherron.com/modules/block/block.module).
  • Notice: Trying to get property of non-object in block_block_view() (line 247 of /home/robogeek1/davidherron.com/modules/block/block.module).
  • Notice: Trying to get property of non-object in block_block_view() (line 247 of /home/robogeek1/davidherron.com/modules/block/block.module).

Drupal Performance

Installing xhprof and XHGui on a Dreamhost Ubuntu 12.04 VPS to diagnose Drupal 6 performance

One of my websites has been running very slow for years - every so often I try to figure out why it's slow, and recently it had been suggested to install xhprof to gather some data. The website is a Drupal 6 site that gets 1000+ visits a day, and is an active forum website with lots of people chatting away about electric vehicles. The server is a VPS rented from Dreamhost. The latest iteration of Dreamhost VPS's uses SSD disks, and a customized version of Ubuntu 12.04.

High Performance Drupal, Jeff Sheltren et al - REVIEW

cat.gifDrupal can scale from small blogs like this one all the way to humongo high profile sites like WhiteHouse.gov.

Successfully hosting Drupal on nginx on Dreamhost - a Dreamhost Drupal Hosting Adventure

Among the standard performance recommendations for Drupal is to switch to the nginx web server.  Because of nginx's design it's much more performant than Apache, supposedly.  I don't know enough myself about nginx to say why it's better, other than having an understanding that nginx has an event-oriented architecture that's cleaner than Apache's.

Dramatic performance effect of enabling the Block Cache Alter module on Drupal 6 websites

I have my websites hosted on Dreamhost VPS's and the other day decided to consolidate some of my sites onto one server. Using the Munin monitoring I've installed (see Use Munin to monitor a Dreamhost MySQL VPS) I could see the CPU utilization on the server was very low - below 15% - indicating that the server had CPU capacity. But a different performance issue showed up after consolidating the sites on one server. Namely the memory allocation had to be increased to 3GB when that server previously ran well at 1.2GB of memory.