Found The Culprit!

After re-enabling my site, I immediately saw our site getting hammered and our CPU usage spike up. A quick look at our access logs revealed that 90% of the load is being generated by XBMC clients. All their queries appear to be search related, so for the time being, I’ve disabled the internal WordPress search engine and switched to using our Google custom search engine.

Can someone who works on the HD-Trailers.net plug-in for XBMC or if you know someone who does, please get in touch with us? Our email can be found on our contact page.

I’ve gone ahead and reverted all the things I disabled.

I also found out the Lightword Theme doesn’t actually have a 404 page, and it was returning a 200 even when no page was found. Apparently all you have to do is create a 404.php in the theme folder and WordPress would use that. So I quickly whipped one out using their single.php as a template:

<?php header("HTTP/1.0 404 Not Found"); ?>
<?php get_header(); ?>
<div id="content-body">
<?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb('<p id="breadcrumbs">','</p>'); } ?>

<h2><?php _e('Not Found','lightword'); ?></h2>
<p><?php _e("Sorry, but you are looking for something that isn't here.","lightword"); ?></p>

</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>

Blog Maintenance

As some of you may have noticed, our blog was under maintenance for a little over a day. Turns out it was using too much CPU and we were notified that our site would be disabled and told us to come up with a plan on lowering our CPU usage.

Our blog will be running with a bunch of features disabled while we investigate how to lower our CPU usage. We have some ideas on how to do this, but the gist of it is WordPress turns out to be a major CPU hog and DreamHost has told us we needed lower our CPU usage. Turns out our blog was using ~15000 CP minutes per day. For comparison, our main catalog library is only using ~300 CP minutes a day.

Our main catalog services 3x the # of visitors a day more than our blog, yet use only 2% of the CPU that our WordPress blog is using.

We already had Hyper Cache and we only had a small set of plug-ins enabled . I have been searching and going through tons of suggestions on how to lower the CPU usage. A couple things we did:

  • Confirmed that our MYSQL DB had the correct caching enabled
  • Verfied settings in Hyper Cache
  • Installed WP-Optimize and optimized the DBs
  • Disabled new comments from being posted (Akismet was catching 5000+ spams a month)
  • Disabled WordPress.com Stats plug-in
  • Disabled Twitter Tools plug-in
  • Disabled Cuf√≥n
  • Enabled mod_pagespeed
  • Removed recent comments from our side bar
  • Trying out different lightweight themes (our old theme was making 30-40 queries per page)

If you noticed any issues, please do let us know.

Pascal Wallpaper

I posted on Facebook/Twitter a few weeks ago of an awesome picture of Pascal from Tangled:

Pascal

"TANGLED" Pascal Disney Enterprises, Inc. All Rights Reserved.

When I tried using it as my wallpaper, I found the white background to be too bright and it hurt my eyes. Found some time during this break and I made the background gray and thought I shared with you all.

Pascal

"TANGLED" Pascal Disney Enterprises, Inc. All Rights Reserved.

Here it is available in some of the more common screen resolutions:

Side note: I was wondering why the file name had raiponce in it and thought maybe it was Pascal’s first name? Turns out Raiponce is Rapunzel in French.

The Other Woman (Theatrical Trailer)

The Other Woman (2011) Poster Emilia is a Harvard law school graduate and a newlywed, having just married Jack, a high-powered New York lawyer, who was her boss — and married — when she began working at his law firm. Unfortunately, her life takes an unexpected turn when Jack and Emilia lose their newborn daughter. Emilia struggles through her grief to connect with her new stepson William, but is finding it hard to connect with this precocious child. Perhaps the most difficult obstacle of all for Emilia is trying to cope with the constant interferences of her husband’s angry, jealous ex-wife, Carolyn. (Source)

Download: 480p, 720p, 1080p
MP4 Encode
: 1080p

Find more trailers and clips on our homepage.