Who put that spoke in my server? Or how to bring a server to its knees!

The last few months since getting my own private hosting have been quite challenging in a number of ways as I have had to adapt my handling of my sites to a number of new contingencies: including weird spikes in server activity. It’s been quite a learning experience, but I’m pretty sure I don’t want to go back to regular shared hosting! I love having my own server on Dreamhost…

——-
For more articles on running a business, making money, cutting debt, or creating your blog, subscribe to the RSS feed or email newsletter. There’s a lot more in the Random Walk to Wealth on InvestorBlogger dot com. Subscribe TODAY!
——-

This graph is taken from December 5th and shows four significant spikes in server traffic in the previous 24 hours, with the spike around 00:00 being the largest and also bringing the server down!

4-10am-5th-09h december

Dreamhost helpdesk have VERY helpful to me over the years, and patiently answered almost every query fully and in detail. The last few times though have been frustrating because the amount of activity has been quite high on occasion (without obvious justification either!), and they were suggesting that perhaps I should raise the allocation of resources (and the cost!) to cover the spikes! Now, I’d already tried this once or twice: having raised my basis from $15.00 to $20.00 to $30.00. While this did indeed improve my server responsiveness, I was still getting server outages every day about once or twice a day, and it just didn’t seem that my server traffic justified that!

What is a poor server to do?

Go on a bug hunt! It’s that simple. I decided to find out what was going on, and see if I couldn’t eliminate all the other possibililties before increasing the expense further…!

Step 1. Find the Crap…

I was amazed how much crap had built up on my servers over the three years I’ve been using Dreamhost hosting… It was actually quite shocking. And it took me days to clear. But first I took stock of the files and data that were on my server: html files, jpegs, mp3s (not many), php, applications, data, backups, gzips, etc… Once I determined which domains and subdomains were only serving files, I could eliminate those pretty easily. Then I went on a hunt for old PHP applications, principally old versions of WordPress, Galleries, etc..

Step 2. Three Choices: Choose NOW!

On finding an application, I was faced with three choices: upgrade the software to the current version; remove the software entirely; or password the entire directory. In most cases, I chose the second option to cut down on the security risk. On one or two occasions, I passworded entire subdomains (with .htaccess and .htpasswd files) as well to provide access to these applications only to the person concerned. In the cases of my primary websites, upgrading became mandatory. In rare occasions, I moved applications to the root directory as a stop gap measure.

From now on, though, I’m going to be much stricter on removing old applications because of the potential security problems that can be hidden by forgotten software.

Step 3. Deleting unnecessary plugins and themes

Since most of my blogs run versions of WordPress 2.2+ and I usually auto-install or auto-update the files (courtesy of Dreamhost’s great service), the process is quite quick and painless. Dreamhost have gotten it down to a fine art, such that upgrading involves backing up the Database, Turning off the plugins (one click), click update, and wait for confirmation. But each and every time I update Dreamhost creates a backup of the original files named domain.old, and throws in EVERY theme they can get their hands on with each install). This leads to a lot of stuff each time. So I usually now delete 95% of the themes, and maintain a lean installation with as few plugins as possible (and none spare). This helps make WP as responsive as possible.

But as you can see I was still getting server spikes, and my options were running out. Everything was eliminated in one way or another, and the server was still coming down. So what next?

Step 4. Is it time to ‘log’ out?

I compared the performance of my main blog with several other blogs by checking the error.logs (I had never checked these before) just to see what was going on. Surprisingly, I found the logs quite detailed (they’re in your FTP folder called ‘logs’… click through to your domain to find the logs and then look for the error logs. They were dated a couple of days back so I had to check through and this is what I saw:

errorlogs

That’s right, line after line of the same error: this read “(12)Cannot allocate memory: couldn’t spawn child process: /dh/cgi-system/php5.cgi” and “(12)Cannot allocate memory: couldn’t create child process: …” To make sure that I wasn’t just reading regular errors, I queried it on Google and got nothing, then I checked the logs of Wordpress Sites that I had just started with no themes or plugins. Sure enough, everything looked fine. Then I remember something a Dreamhost engineer had said:

Just the other day, I was dealing with a fellow who had a wordpress blog who was almost instantly crashing his PS with a single hit, because he had some wonky wordpress plugin which was spawning hundreds of php.cgi processes. Jeff

Well, thanks, Jeff. That has proved to be the best advice I’ve received yet… So I’ve been testing different plugins to find out which one or ones have been causing the problems. The best way to do this is to simply turn off all the plugins to restore the neutral state and then turn them on singly and checking the error log to eliminate those that don’t create the problem. I think I have a culprit already, but I’m now double checking them to make sure that I don’t blame the wrong plugin. Think ‘sticky’…

While the testing goes on, please excuse me for having unstable features on my blog as I try to eliminate the problem. But as you know, this problem has been going on for months; and this represents my best hope to get to the root of the problem.

Have you had these problems? What happened? I am not particularly an expert, but I was surprised at how much I could figure out by myself!

Cashquests.com: A Blog with a future? Perhaps not

(Or don’t let this happen to YOUR blog!)

Recently, many popular and less popular blogs were cashing on the craze for buying and selling blogs. BloggingFingers, CashQuests and a slew of others have been sold. It was John Cow who recently posted what happened,they were bought by IEntry.com for a largish sum (about $15,000).

So what was CashQuests.com? …

——-
For more articles on running a business, making money, cutting debt, or creating your blog, subscribe to the RSS feed or email newsletter. There’s a lot more in the Random Walk to Wealth on InvestorBlogger dot com. Subscribe TODAY!
——-

CashQuests, aka Kumiko Suzuki’s blog (no link because it simply redirects), used to be one of my favorites. It was available online, and I came across it in the days after she lost her Adsense account (a post that I can’t find!). Since then, I enjoyed her making money blog and her posts on a number of topics including: getting traffic, making money, advertising and so on…

kumiko

This image was taken from Wayback Archives, and the quotation from her About page wrote:

My goal became to take the BS out of the blogosphere (creating the logophere?) and bring some originality and creativity into the world of ‘making money online’! I hope you like the result!

Kumiko really managed to create a strong identity with provocative posts, ideas and ways to make money. The transition from Kumiko’s CashQuest (as it was on Blogspot) to Cashquests.com was a slow and methodical one, but it wasn’t without its bumps. One Blogger even suggested that the blog had been sold then as well (but if it was, it must have been a private sale).

But during this time, there was a strong sense of continuity (whether posts were written or edited by her, we don’t know). In the archives you could still find some of her best posts, too.

After the BIG sale

Unfortunately, the new owners have not taken the blog seriously at all, except to milk as much money through ill-placed affiliate advertisements. The new blog has been left to its own devices without much obvious capable management or intervention.

RIP

You can see this neglect in a number of ways as the new owners have shown no real mastery of the WordPress application or its potential for creating a successful or vibrant blog:

  • 1. There are seven ugly big banners inconsistently (and untargeted) placed all over the blog;
  • 2. there is no more search box, making searching the archives for Kumiko’s classic posts difficult (though savvy WordPress visitors can still search the blog by adding the switch s?= and the keywords!);
  • 3. there are no pages, no links, no categories;
  • 4. there has been no posting on the blog regarding the change of ownership;
  • 5. there have been only two posts in a little over two weeks, neither of which demonstrate the quality and depth of Kumiko’s old offerings (the first was barely 102 words, and the second one was basically spamming forums with sales mails and reaping the benefits);
  • 6. the more traditional blog features that were used on CashQuests have all gone: no MyBlogLog, no real commenting any more (several of my comments have never been posted), no identity, no personality, and very little consistency; and
  • 7. the lack of any real formal announcement or introduction to the new owners really has to be the MOST thing to do to a blog and its readership.

It’s all in the numbers

In fact, these seven tactics really show new owners how not to run a blog. And, unfortunately for the new owners, the results are beginning to show: Traffic is down, Page Views are down, Comments are way down, and the absolute number of visitors is alsow down. While the original sitepoint sale claims that the traffic was about 500 Uniques per day, it’s hard to see with a ranking of only 55K on Alexa that the traffic could be that big still. There has been little in the way of new postings to attract readers. In fact, it seems that everyone is waiting for the new owners to make themselves clearly known, for a new and outspoken voice to emerge, and for the blog to recover.

However, I’m predicting this will NOT happen. Why?

Taking over someone’s blog is always going to be a difficult task, because of a number of obvious but overlooked reasons: but most of all, a BLOG is NOT a regular business. It is much different:

666cashquests

Look at the number of the Authority…!

It’s the Blogger, Stupid

The original (and often inspiring) driving factor is the original blogger, who is able to make their personality PART of the blog’s personality. Can you imagine John Chow’s blog without John Chow? In recent months, we’ve seen the Kumiko Identity become much vaguer and much less of a driving force. Fortunately, the articles were generally getting better in quality, but still there was something different as the blog evolved.

A blog is not a candy store!

Taking over a blog is not really like taking over a candy store. Because the candy store owner doesn’t really make the candy these days, he or she merely sells the candy to others. So a change of owner won’t really have an impact on the quality of the candy. However, in a blog the blogger is the salesperson and the manufacturer: when the blogger changes, it is likely that the quality of the bloggings will also change. It will be VERY difficult to maintain the quality of the writing (I don’t just mean whether it’s good or bad).

Bye-bye vs. Buy-Buy

Because the blogger changes, many of the original relationships that the original blogger sought and built up over the months and years will not necessarily be available to the new owners. It’s true that the new owners may bring their own relationships, and perhaps the readers will benefit. But perhaps they won’t. It was quite a while before the new owners of NetBusinessBlog really managed to hit their stride. And in that time, I pulled out of reading that blog on a regular basis.

 It’s All Downhill Now

And, there in lies the key: the readership may sense that the blog has lost its authority, its presence, perhaps even its leadership position. The readers will then check back occasionally to see what’s going on, but the loss of that stature in the eyes of the readers will erode the relationships with the readers that the original blogger managed to build up.

A quick look at the stats of CashQuests.com will highlight the current deterioration of the blog, its infrequent posts, its poor commenting record, and decreasing traffic.

alexa-cashquests

The blog was officially sold on 19 Nov 2007. So you can see where the traffic started falling fast!

Are you planning to sell? If so…

If you are planning to sell your blog, and you want your blog to survive longer than a few months, you may need to spend some time trying to deal with these problems by ensuring that there is a much stronger continuity between owners. Otherwise, while you may be happy with the money you made, your blog, your readers and your new owner may be wondering what is going on: as we are.

For more reading, check out this discussion on selling blogs and this one on buying blogs.

I’d like to know what you think of this phenomenon of buying and selling blogs… Have you ever thought of buying one or selling yours?

BuzzFest #11: AFrogToKiss

afrogtokiss

We’ve been doing buzzes for quite some time, but the pace of buzzes dropped off… I nearly forgot to buzz AFrogToKiss.net (unless I already did!). This time it’s for a websites not about frogs… but a whole lot of things: Blogging, Shopping Deals, A Blog A Day, and of course, Geeky Stuff.

Given the size and the popularity of her blog, she was wondering if she should move to a private server… I do think it’s a worthwhile move for her. It will provide her with much stability, resources and flexibility should her blog be stumbled or dugg. In fact, she will be able to increase the resources in a few minutes with the solution provided by Dreamhost. So, yes, go ahead. But be aware. It can get more expensive. I’m currently paying about $40 per month for my VPS, but I think the hosting is worth it. Really. I find it comforting that I no longer have to share my host with dozens of other websites.

If you’d like a blogbuzz, like AFrogToKiss’s, then hop on over to Buzz your BlogFest, read the instructions, and sign up today. There are only 18 buzzes to go! I’m happy to say I’m extending the program until I reach 30 buzzes or Christmas comes first! So hurry before I forget!

Disclaimer: I was featured as a “Blog of the Day” in November, and I signed up to advertise in her TopSpots