Wednesday, December 28th, 2005

Pardon Our Dust

Posted December 28, 2005 at 5:45 am by basil

Recently, we were notified by Dreamhost (the hosting service we’re using) that this little blog is using more server resources than it should.

The reason it’s an issue is that, well, I’m cheap. I’m not making money on this little blog (yes, we’ve sold a few Blog Ads, but not many; and no repeat business). Which means I’ve gone with a shared hosting plan.

Shared hosting means that the server that this little blog is running on is also the server that other blogs and Web sites are using. Shared hosting means just that. Many sites share a server. It’s cheaper than having a dedicated server. Lots cheaper. So, we’re sharing a server with others.

Each site that’s running uses server resources. That’s processing power. You ever noticed on your computer that if you have several browser windows open, your e-mail program running, your word processor (or Works) running, and lots of other stuff running that your computer may sometimes take longer to complete an action? If not, you’re lucky. If so, that’s probably because your computer’s having a time trying to run all those applications at the same time. Its resources are being strained. Same thing with servers.

So, in order to keep that from happening on Web sites, each site (this little blog included) is allocated certain resources. Or actually, seconds of processing. And this little blog exceeds that total.

Now, if all the sites on the server did that, the server would bog down and nobody’s site would be up. So, it’s a problem. And I’ve got to work on it.

What that means to you? Maybe nothing. Maybe a lot.

The “inline TrackBacks” feature used on the mealtime posts is code I wrote. And I suspect that’s where the problem is. There are plugins that others wrote that do the same thing. I suspect that, since they’re actually programmers that do that stuff, their stuff is a lot more efficient.

So, I’m going to have to remove lots of that stuff. And start putting stuff back a little at a time. Until I find the problem. It’s part of troubleshooting and it’s a pain.

That means that until I get this problem fixed, the “inline TrackBacks” won’t be working. And maybe some other stuff.

And I don’t know how long this will take. So, if stuff looks funny, it’s because I’m working on the site. I’ll still be posting stuff, but I don’t know how much. Once a day, to be sure. Maybe more often. But mealtime posts? I don’t know. Headline News? If possible.

But, if the problem with server resources is what I think it is, I’m either going to have to find a more efficient method of using “inline TrackBacks” or I’m going to have to abandon that feature. And I don’t want to do that.

But just like in real life, sometimes hard decisions have to be made.

7 Responses to “Pardon Our Dust”

  1. Jo Says:

    I thought all along you were using Simply Kimberly’s trackback plugin — that’s the one I use .. although you may have yours written to do something else in the background. Got my fingers crossed all goes well –

  2. Sean Gleeson Says:

    As you know, I was having the same problems. I did (and am still doing) a whole lot of hacking to get rid of unneeded function calls, which helped pare down the CPU usage a little.

    But there’s one thing I did which cut the usage in half, and that was edit the htaccess file to deny from certain referers. I noticed looking at the stats that I was getting hundreds of page requests per day with spammy URLs as the ‘Referer.’ These were robot-generated hits, not real visitors, but the server was treating them like real visitors and going through all the processing to send them the pages every time. I was getting about as many fake hits as real ones!

    But now, the worst offenders (four or five URLs were 99 percent of the problem) get only a “HTTP 403 DENIED” response instead of a page. If you’re getting a lot of referer spam, you should try that too. You get a huge payoff in CPU savings for only a couple lines of code in the htaccess file.

    DreamHost has a page on this topic which you might find useful. You can e-mail me, too, if you need any help.

  3. basil Says:

    Jo: Yeah, mine only shows inline TrackBacks on “Open TrackBacks” and “Articles of Interest” categories. I did that to try to limit “add your post” links to posts designed for that.

    Sean: Thank you for the tip. I’m checking that now.

  4. The Commissar Says:

    Sean makes a good point.

    I have confronted similar issues wiht my host, eventually moving to a dedicated server. A big issue that we identified was the RSS feed. Every time anyone anywhere (who has your little blog on their RSS feed) refreshes, it hits your server. We never really solved this problem, I wish I could say we had.

    But just keep in mind that your resource usage may just be “big,” without any quick fix.

  5. basil Says:

    Commissar: I hadn’t thought about the feed. It’s 3.34% of requests, but I have no idea if that’s high or low. I suspect low.

    The knowledge that there’s not a lot I can do about it, other than cut it off, eases things. It’s one rabbit I don’t have to chase. Thanks!

  6. Lyn Says:

    Can’t weigh in with any hack tips, but from a regular reader, the in-line tbs are a great idea and worth keeping. 2 cents. lgp

  7. The Big Sister (who's 5'4") Says:

    I know that most everyone likes all your meals. I, however, like your stories. Once a day stories or headlines are good for me…
    I think you ought to do one meal a day.
    Maybe brinnper…

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

levitra order
womens viagra
canada cialis
penis growth oil
drug viagra
cialis discount generic
cheapest cialis
viagra erection
cialis sale
viagra canada
viagra shop
save on pills
cialis lowest price
viagra cialis
cialis company
cialis online pharmacy
natural viagra
where to buy levitra
cialis levitra viagra
penis extender
cialis new viagra
cialis soft tab
cialis generic online
levitra drug
levitra purchase
cialis review
viagra online pharmacy
viagra online
cialis uprima viagra
cialis why
cialis get viagra
cialis liquid
where to buy viagra
pfizer viagra
levitra prescription
cialis online purchase
20mg cialis
levitra safe
citrate sildenafil
generic levitra
cheap generic viagra
cheap viagra
buying viagra online
cialis price
apotheke cialis
cialis discount online
buy cialis
cialis mt tadalafil
cialis sample
viagra vs cialis
generic tadalafil
how viagra works
levitra pills
medicaid viagra
cialis dosage
cialis levitra vs
generic viagra online
cialis viagra vs
viagra information
order viagra online
cialis pill
cialis mexico
cialis prescription
viagra trial
low cost viagra
viagra pill
viagra alternative
cialis tadalafil
viagra prescription
save on drugs
levitra alternative
viagra uk
cialis versus viagra
viagra substitute
viagra wholesale
lowest viagra price
cheapest viagra
levitra
oseltamivir
trial viagra
cialis compare levitra
cheap viagra uk
levitra cheap
cialis experience
blindness cialis
cialis drug
canadian cialis
mail order viagra
cialis viagra
cialis europe get
cialis vs viagra
levitra vs viagra
cialis generic
cialis generic viagra
cialis professional
levitra online
herbal viagra
cialis compare viagra
levitra buy
viagra sales
cialis tablet
viagra cialis levitra
levitra sales
cialis discount
cialis mt
cialis levitra
get viagra
levitra tablets
viagra on line
comprare viagra
viagra levitra
levitra canada
how does viagra work
viagra sales uk
cheap cialis
cialis soft
woman taking viagra
cialis pharmacy
viagra pharmacy
levitra price
cialis effects side
generic viagra
viagra for woman
cialis order
viagra side effects
viagra dosage
viagra price
canada cialis generic
cialis uk
cialis from india
viagra use
viagra soft tab
cialis open western
online levitra
buying viagra
viagra sample
discount viagra
penisole
swine influenza
cialis germany
viagra commercial
viagra mexico
buy cheap cialis
cialis online order
cialis europe viagra
cialis lilly
purchase viagra
levitra for sale
how levitra works
discount viagra online
cialis jelly
effects of viagra
viagra professional
cialis woman
cialis soft tabs
viagra 50mg
tadalafil citrate
offender viagra
cheap cialis generic
cialis purchase
buy viagra
order viagra
comprare cialis
purchase viagra online
cialis mexican
levitra professional
viagra story
levitra cost
viagra research
buy generic viagra
100mg viagra
viagra sale
affordable viagra
discount levitra
best cialis price
levitra dosage
viagra jelly
female viagra
cialis com
cialis online
viagra soft
cheap viagra online
cialis testimonials
best price viagra
cialis generic price
levitra mg
viagra and alcohol
viagra sale online
save on drugs viagra
viagra for sale
viagra soft tabs
cialis commercial
Download Movies