High Performance

This group is dedicated to solutions and approaches for high traffic, high performing Drupal sites. As such, it will deal with a lot of information around the rest of a typical Drupal "stack" -- the operating system, web server, database, and PHP tweaks that combine to support the Drupal application.

This is not a support channel or a place to post bug reports.

If you think you have found a bug, use the issue queue for the appropriate project.

If you need support, see http://drupal.org/support for options.

mikeytown2's picture

Pressflow - PHP Notices

Currently fixing various notices and I find this query to be very useful in phpmyadmin. Be sure to have "Full Texts" selected under options.

SELECT
  COUNT(*) AS count,
  watchdog.*
FROM watchdog AS watchdog
WHERE type = 'php'
#AND variables NOT LIKE "%SQL%"
GROUP BY variables
ORDER BY
  count DESC,
  wid ASC

This is what I use on the dev box in settings.php; makes errors very verbose and enables dblog if it is disabled.
<?php
// Show Errors in output
ini_set('display_errors', '1');
// Report all php errors.

Read more
socialtalker's picture

backups and disk image allocation

I hope this is the right place to ask this question. I decided to pay 9 dollars a month to linode for image backup of my vps. right now, its not so important because i keep having to rebuild my disk image and i dont need to save anything. right now, i leave 14% of my vps for backups. but am i supposed to leave 50% of my disk image free for backups? do most people leave half or more of their vps foe backups?

kmoll's picture

Pressflow Question

Hi, I have drupal 6 site that has spikes in traffic usually on the weekends. We also use boost to increase performance. Not to long ago we started to have a problem where the sites main navigation started to disappear, sporadically. Now we use a bit of custom code to create and manipulate the main menu (primary-links) so it is easier for our users to change the menu as needed. So our menu gets created by sending the return data from menu_tree_all_data() for the primary links menu.

Read more
jvieille's picture

Yslow score: Add Expires headers - Configure entity tags (ETags) - Make fewer HTTP requests

I am trying to optimize my sites
- D6 multisites one codebase, separate databases
- APC, cacherouter, Authcache, Boost

Yslow rates F for the followings

Grade F on Make fewer HTTP requests
This page has 3 external stylesheets. Try combining them into one.
This page has 22 external background images. Try combining them with CSS sprites.

Grade F on Add Expires headers
There are 41 static components without a far-future expiration date.

Grade F on Configure entity tags (ETags)
There are 40 components with misconfigured ETags

Is this important? How to improve?

thanks

mikeytown2's picture

MySQL Transaction Isolation Level with InnoDB

Question:
Has anyone ran Drupal with the Transaction Isolation Level set to READ UNCOMMITTED? REPEATABLE READ is the default setting, but I think for 99% of the sites out there using dirty reads seems like it would be very helpful.

How to set this in my.conf or via SQL command:
transaction-isolation = READ-UNCOMMITTED

Read more
jvieille's picture

Server seems slow - where to start?

I have 2 quite similar servers

1) i7-930 8 cores 2,8GHz, RAM 12M, Deban Lenny / Apache 2.2.9 / PHP2.17 / Virtualmin / APC / Cacherouter
CPU load averages 0.1 (1 min) 0.1 (5 mins) 0.13 (15 mins)
Real memory 11.75 GB total, 2.62 GB used
Internet connexion 1GB/sec
about 10 D6 sites with limited traffic
http://web2.see.asso.fr/phpinfo
http://web2.see.asso.fr/apc

2) i7-920 8 cores 2,67GHz, RAM 24M, Ububuntu 10.04 / Apache 2.2.14 / PHP5.3.2 / Virtualmin
CPU load averages 0.02 (1 min) 0.03 (5 mins) 0.05 (15 mins)
Real memory 23.58 GB total, 2.55 GB used

Read more
usdrupaljobs's picture

Drupal Developer at New York City - Full-time or Long-term Consulting | IPC

Employment type: 
Full time
Employment type: 
Contract
Telecommute: 
Not allowed

Are you a passionate developer who takes pride in creating extensible and integrated systems with Drupal? Are you ready to experience Drupal in a larger enterprise environment? Does a bigger more challenging system sound better to you?

Read more
socialtalker's picture

applying high performance tools to vps.

This weekend I have wiped my vps clean and am starting all over. i want to put about 18 drupal sites and a couple of wordpress sites on account. i have linode 760 plan. i want to use ubuntu 10.04 lts, i think thats what its called. i am using nginx as the server. but its so confusing trying to know the right tools to add. i believe i can add memcache on the nginx server, but how do i add varnish and apc, or do i need to add all three of those? the documents and different pages i am finding totally confusing. do i use modules to install these tools or do i do i install them at the server?

Read more
christefano's picture

High Performance Drupal meetup in Mar Vista on August 10, 2011

Start: 
2011-08-10 17:00 - 20:00 America/Los_Angeles
Organizers: 
Video: http://blip.tv/ladrupal/episode/5466668  

Caffeinated Drupal at Drupal Cafe Interested in Pressflow, APC, Varnish and memcache? Want to jump from shared or "grid" hosting to VPS or dedicated hosting but aren't sure what to do? Do you just want to get more out of what you currently have and take your Drupal site to the next level?

Meet with friends, have coffee and talk about Drupal performance on the Westside at the Venice Grind between 5-8pm on Thursday, August 10, 2011. Afterward, we might go for dinner somewhere nearby or a stiff drink across the street at the Good Hurt. Last time we went for noodle bowl at Mistuwa. You're invited!

To get last-minute updates, sign up by clicking the Signup button below or stay tuned to the comments on this page (or both!).

When: 5pm to 8pm on Wednesday, August 10, 2011
Where: Venice Grind at 12224 Venice Blvd, Los Angeles, CA 90066
Read more
nublaii's picture

Memcache and empty blocks

Hi

We had been running a site for some time with apc+memcache+cacherouter with no problems, when we suddenly we started to get blank pages (I say suddenly because we couldn't find out exactly what was going on).

Well, not blank pages, but more like blank blocks. In the end it looked like memcache was not able to return what it was supposed to and the pages were being drawn pretty badly. Flushing all the caches fixed the issue, but only for a couple of minutes.

Read more
Subscribe with RSS Syndicate content