Forum Moderators: DixonJones

Message Too Old, No Replies

"high usage of resources"

         

imosh

8:53 pm on Feb 11, 2011 (gmt 0)

10+ Year Member



our hosting provider says:

Unfortunately the memory usage of your account is still too high as per shared environment. Please continue making adjustments to your account as needed and we will update you with new resource usage statistics in 24 hours.

CPU% 0.02
MEM% 40.98
SQL% 0.0

-- the hosting company says we'll need to go to a dedicated server due to the traffic our site receives.


our site does not use any scripts, it's just text/pictures.


Monthly Statistics for February 2011

Total Hits - 1489915
Total Files - 1438132
Total Pages - 98812
Total Visits - 23403
Total KBytes - 9474408

Total Unique Sites - 19430
Total Unique URLs- 8162
Total Unique Referrers - 3032
Total Unique User Agents - 1857


:(

wheel

10:19 pm on Feb 11, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



23403 visitors per month. 30 days in a month, 24 hours in a day. So that's about 33 visitors an hour. 10 gigs per month. And you're burning too much traffic?

Are you hosted on a commodore 64 over dialup modem by chance?

I'd find a new hosting provider. Unless I'm way out of touch with shared hosting (plausible) that's not that much traffic.

imosh

10:41 pm on Feb 11, 2011 (gmt 0)

10+ Year Member



the usage is just from feb. 1 - 11, so if it keeps going at this rate we'll hit 70,000 visitors. we normally have 50,000 but we are doing
some extra advertising this month.

wheel

10:51 pm on Feb 11, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



So, 30 gigs a month? that's not exhorbitant or anything, but certainly beyond hobby site status.

Shouldn't be a 5 alarm fire emergency or anything, it's perhaps in reach of you starting to consider something a bit more substantial than shared hosting.

imosh

2:30 am on Feb 12, 2011 (gmt 0)

10+ Year Member



host response to our question of the bandwidth usage not being all that excessive:


Please note that you have unlimited bandwidth and there is no necessary relation between traffic and high demand for resources.
For example - after a few tweaks in website administration your account usage was mitigated, also, often, the high number of healthy hits means a high usage of RAM memory.
The CPU usage exceeds the safe boundaries mainly due to the high number of operations inflicted by the installed add-ons or by the website's functions for each visitor.
The MySQL usage raises mainly due to the lack of optimization of the databases / tables system like the improper management of mysql connections (of course the overcharge might be a cause, too). This is a general, common behavior, we didn't make an audit of your website.
Maybe it will be an interesting exercise to ask you developer about how well is your website prepared to handle a large number of visitors.

wheel

5:00 am on Feb 12, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Your host company is saying the opposite of what you're saying.

They're saying it's not the bandwidth, it's the memory and CPU usage. You see that from websites with scripts and heavy database useage.

But you said your site is text and graphics. those two things use hardly any cpu or ram to serve.

So somebody's wrong. Given your OP, I suspect it's you. I would have someone knowledgeable check over your site and find out where it's using all the resources and see if you can optimize it. not only will that save your hosting woes, but it'll probably make your site faster.

imosh

1:25 pm on Feb 12, 2011 (gmt 0)

10+ Year Member



I have a pretty good knowledge of what's involved with website design- so i know that i really don't know much, just basics. i really should have gone to school for it, but whatever.

the hosting company always steered me to believe that pictures caused the demand because they always include high usage url's. those url's are always images.

i think i may have found the issue, these scripts (are used on every page):

dynamic drive's: email riddler
image toolbar hiding thingy & no underline for text links
addthis buttons
dynamic drive's: Highlight Table Cells Script


our home page has the above, plus these:

dynamic drives - glowing text
facebook friend script


---- looks like i really f'd myself!

wheel

2:09 pm on Feb 12, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



No, you're right. Images cause bandwidth, not server load generally. It's the scripts that the hosting company is having issues with.

I'd try turning them on and off one at a time during peak periods and watch server load for a while. Perhaps you can pinpoint the exact script that's causing the problem (if in fact it is one). Look for the ones that use mysql first.

imosh

2:31 pm on Feb 12, 2011 (gmt 0)

10+ Year Member



there's an utter shtload of pages that contain these scripts,
and they are not done with any css scripting.


dynamic drive's: email riddler [dynamicdrive.com...]

dynamic drive's: Highlight Table Cells Script
[dynamicdrive.com...]

image toolbar hiding thingy
[dynamicdrive.com...]


addthis buttons
[addthis.com...]


- i can most likely use dreamweaver to "find" & "replace" them, but
that seems pretty scary, i have a feeling i'd fk everything up. (more-so)

tangor

2:46 pm on Feb 12, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



dump anything third party... do it on site... will run smoother and with less traffic.

imosh

3:18 pm on Feb 13, 2011 (gmt 0)

10+ Year Member



hmmm, all my scripts are javascript, they are all client side- not server.

the server has a total of 100 sites, but 4 are ours- not sure why they come up separate as 3 of them point to the main.