Welcome, Guest. Please Login
 
  HomeHelpSearchLogin FAQ Radified Ghost.Classic Ghost.New Bootable CD Blog  
 
Pages: 1 2 
Send Topic Print
Resource Usage at New VPS Server - Part Deux (Read 29020 times)
Rad
Radministrator
*****
Offline


Sufferin' succotash

Posts: 4090
Newport Beach, California


Back to top
Re: Resource Usage at New VPS Server - Part Deux
Reply #15 - Mar 7th, 2008 at 4:33pm
 
Also noticed we had close to 100 search engines today (mostly Yahoo):

...
 
WWW  
IP Logged
 

MrMagoo
Übermensch
*****
Offline


Resident Linux Guru

Posts: 1026
Phoenix, AZ (USA)


Back to top
Re: Resource Usage at New VPS Server - Part Deux
Reply #16 - Mar 8th, 2008 at 1:10am
 
A process is an instance of a running program.  For example, when someone requests a page from the website, one of the several running Apache processes gets the file from the disk and sends it to the user.  If Apache detects the current processes are too busy to keep up with user demand, it will start more processes to help out.  Other programs behave similarly.  So, the number of processes is an indication of how busy your CPU is.  Of course, running programs need memory to continue to exist, so each one that is running consumes some memory.  You can limit the maximum number of processes that start if you need to.

A TCP socket is a network connection.  The HTTP protocol used TCP as its underlying network transport protocol.  Each person who wants to communicate with the web site (in order to download a file, for example,) creates a TCP connection to your server.  The connection will stay open for a short time in case the same person wants to use it some more.  After a period of inactivity, the connection will close, freeing the socket.  Network sockets and network ports are similar ideas.  So, the number of open TCP sockets give you an idea of how many computers are communicating with your server via the network.
 
WWW  
IP Logged
 
Rad
Radministrator
*****
Offline


Sufferin' succotash

Posts: 4090
Newport Beach, California


Back to top
Re: Resource Usage at New VPS Server - Part Deux
Reply #17 - Mar 8th, 2008 at 8:35am
 
Thanks for that instructive post. In the case of the graphic posted at the top of this page (identifying more than 60 guests, and nearly 100 search engines, plus a handful of members), wouldn't you expect the number TCP sockets to exceed 30 or 40 .. or even 50?

On a different note, here's a load snapshot taken at 6AM, where I noticed a couple of good-sized peaks (where load hit 6-10).

...
 
WWW  
IP Logged
 
Rad
Radministrator
*****
Offline


Sufferin' succotash

Posts: 4090
Newport Beach, California


Back to top
Re: Resource Usage at New VPS Server - Part Deux
Reply #18 - Mar 8th, 2008 at 9:35am
 
Here's a
new high
for our memory usage: 334 MB. Our current web hosting plan provides 256 MB RAM, plus an upgrade for an additional 128 MB. So our MAX limit is 384 MB, at which point we would have to upgrade to a more expensive plan.

http://www.wiredtree.com/managedvps/

So we are 50 MB from our limit.

...

This daily graphs appears fairly constant and level. Fluctuations based on earlier usage-graphs however, are something I find interesting. I mean, our memory usage has been down below 200 (tho barely) .. while now it's well over 300. That's a sizable fluctuation.

Our memory limit of 384 MB now looms not-so-far away. After dealing with Lunarpages these last 3 months (trying to reduce our usage of server resources) I am sensitive to all server-based limits .. which now seem to focus on our use of memory.

The question now seems to be > at what point do we start to get concerned about memory usage? 50 MB does not seem like very much of a safety buffer. 334 is 87% of our 384 limit. Certainly, 95% usage would require looking into increasing our current memory limit (which would mean paying higher monthly hosting fees).

95% of our 384 MB limit = 365 .. or about 30 MB more .. which makes me reluctant to install Drupal 6 (Content Management System): http://drupal.org/about

.. or at least hesitant. $7.50/month would buy us an additional 64 MB memory. So it's not something we can't afford. (3 less expresso's per month for me.)
 
WWW  
IP Logged
 
Rad
Radministrator
*****
Offline


Sufferin' succotash

Posts: 4090
Newport Beach, California


Back to top
Re: Resource Usage at New VPS Server - Part Deux
Reply #19 - Mar 8th, 2008 at 11:59am
 
Lotsa search engines here this morning (9:30): 105.

...
 
WWW  
IP Logged
 
MrMagoo
Übermensch
*****
Offline


Resident Linux Guru

Posts: 1026
Phoenix, AZ (USA)


Back to top
Re: Resource Usage at New VPS Server - Part Deux
Reply #20 - Mar 8th, 2008 at 4:55pm
 
Rad wrote on Mar 8th, 2008 at 8:35am:
Thanks for that instructive post. In the case of the graphic posted at the top of this page (identifying more than 60 guests, and nearly 100 search engines, plus a handful of members), wouldn't you expect the number TCP sockets to exceed 30 or 40 .. or even 50?

It depends on the timeout value for each.  YaBB might consider someone as being here if they've requested a page in the last 10 minutes, for example.  TCP connections, on the other hand, remain open for as little as a few seconds, so some of the people YaBB considers here may not have an open TCP connection.
 
WWW  
IP Logged
 

Rad
Radministrator
*****
Offline


Sufferin' succotash

Posts: 4090
Newport Beach, California


Back to top
Re: Resource Usage at New VPS Server - Part Deux
Reply #21 - Mar 8th, 2008 at 10:56pm
 
Interesting.

Sooo ... would be it be accurate to say (based on the posted metric) that .. at any given instant there are between 30 and 40 people using/accessing the site with an open TCP connection, up to a max of ~50???
 
WWW  
IP Logged
 
MrMagoo
Übermensch
*****
Offline


Resident Linux Guru

Posts: 1026
Phoenix, AZ (USA)


Back to top
Re: Resource Usage at New VPS Server - Part Deux
Reply #22 - Mar 9th, 2008 at 12:06pm
 
If your definition of 'instant' corresponds to how long your server holds tcp connections open (usually anywhere from a few seconds to a few minutes,) then that is an accurate statement.
 
WWW  
IP Logged
 
Rad
Radministrator
*****
Offline


Sufferin' succotash

Posts: 4090
Newport Beach, California


Back to top
Re: Resource Usage at New VPS Server - Part Deux
Reply #23 - Mar 11th, 2008 at 8:33am
 
Here is NEW HIGH for memory use:
366
MB (getting close to our limit of 384):

...

Seems like the sharp spike was quickly reset.
 
WWW  
IP Logged
 
Rad
Radministrator
*****
Offline


Sufferin' succotash

Posts: 4090
Newport Beach, California


Back to top
Re: Resource Usage at New VPS Server - Part Deux
Reply #24 - Mar 18th, 2008 at 9:59pm
 
TCP Sockets peak at 134. Interesting. Wonder why.

...

This thread on search engines visiting here is loosely related to this post on TCP Sockets:

http://radified.com/cgi-bin/yabb2/YaBB.pl?num=1207513715
 
WWW  
IP Logged
 
Rad
Radministrator
*****
Offline


Sufferin' succotash

Posts: 4090
Newport Beach, California


Back to top
Re: Resource Usage at New VPS Server - Part Deux
Reply #25 - Apr 15th, 2008 at 12:27am
 
Memory use update (2-day view). Our average seems to have climbed ~20-30 MB.

...

The daily view shows us max'ing at 347, which is
90%
of our allowable limit of 384-MB:

...

Load looks decent (mostly less than 1):

...
 
WWW  
IP Logged
 

Rad
Radministrator
*****
Offline


Sufferin' succotash

Posts: 4090
Newport Beach, California


Back to top
Re: Resource Usage at New VPS Server - Part Deux
Reply #26 - Apr 19th, 2008 at 10:15am
 
We exceeded our allowable memory limit (for the first time), which I mentioned in a separate post, found here:

http://radified.com/cgi-bin/yabb2/YaBB.pl?num=1208353800
 
WWW  
IP Logged
 
Pages: 1 2 
Send Topic Print