Take on a trial which DreamHost offers or ask a friend at some hosting company to do some tests on SSH:
- Check for the number of server processors or CPUs
- Check for the average load the server is experiencing
Get the 3 load average figures divided by the number of CPU they have on the server, add them up and further divide them by 3. With the final result:
- result <= 1 ( definitely an honest and great host)
- 1 < result <= 2 (good one, but questionable)
- 2 < result <= 5 (overselling, overselling, overselling, …)
- result > 5 (are you crazy?!)
Some of the hosting providers out there are infamous for overselling who try their best to stuff in as many users (websites) as possible into a single web hosting server. High server load is an indicator of how your server is performing and whether it is laboring too much thus jeopardizing the performance of your websites. You can get to know the average load in the last 15 minutes of your server by the simple Linux command below (via SSH):
Which will typically return a line of data similar to this:
21:39:33 up 10:45, 3 users, load average: 4.46, 3.92, 3.64
That says there are currently 3 users logged on and the load average of this server in the last minute, last 5 minutes and last 15 minutes are 4.46, 3.92 and 3.64. These figures represent the number of runnable processes at the same time on average for the CPUs (processor) to process. Combined with number of processors of the server, you may know how many processes are being processed by any single CPU.
Considering the fact that any CPU can only take on one process at any given time, there will possibly be processes waiting in the queue – meaning server is overloaded. Therefore, if the number of processors of your hosting server is 4, in the last minute, it is overloaded by ( 4.46 / 4 ) – 100% = 11.5%.
One of the first things that may concern you is that whether your web hosting company has equipped enough CPUs or Processors on your server as they have allegedly done. Or you are on shared plans and are simply curious whether your web hosting provider is overselling by overloading your server a lot.
First make sure you have SSH access to your hosting server which majority of hosting businesses are now providing. Then create an SSH account and log it in to the server.
A rather simple linux bash command will help you determine how many CPUs your host has on your server:
cat /proc/cpuinfo | grep processor | wc -l
This combination of pipeline command extracts server processors information from /proc/cpuinfo that contains CPU details each per line, returning a plain number which will usually be 1, 2, 4 or even more.
There you go. Now find out whether your host is cheating on you with this tip in addition to checking your server load! 😉
You can find plenty of other useful and interesting information about your hosting server and OS release at /proc. For example, for some RAM stats:
For total seconds since the last reboot:
For Linux release and versions:
And much more. Just ‘ls /proc’ and try for yourself.
As SSH is inherently tunnel-enabled for setting up socks5 proxy servers, you can instantly turn your personal computer into a socks5 proxy server by the help of PuTTY through your web hosting server, breaking through firewalls. The idea is to direct all traffic from your local computer browser through PuTTY SSH session to the web hosting server and back from it.
Here we go:
- First, make sure your web hosting provider provides SSH access to your hosting server. DreamHost (use coupon CASH60 for $60 discount) as well as a lot of other hosting companies do.
- Second, download PuTTY, run it, and set up the SSH account by entering your hosting server address in Host Name (or IP address).
- Add SSH tunnels by:
Connection -> SSH -> Tunnels -> give it a random Source port (in this example, ‘8844’), enter Desctination as ‘localhost’ and select Dynamic and Auto, and click Add. Now there should be an item of ‘D8844’ in the Forwarded ports list.
- You may want to switch back to Session to save the session for easy access so that a simple double click would trigger the connection based on all the configurations you have done so far.
- Double click the saved session and log into your SSH account. Now you are in your web hosting server.
Leave the SSH session open and your personal computer has now become a socks5 proxy server. Open your favorite browser, for example, FF3:
- Tools -> Options -> Advanced -> Network -> Settings -> Manual proxy configuration -> SOCKS Host: localhost, Port: 8844 -> OK
- You are now set. Fire up a tab and surf through the socks5 proxy on your local computer.
Remember though, that all traffic you use by browsing the web pages and downloading whatever stuff by the local proxy goes through your web hosting server and will be counted on the hosting bills.
Exciting! Now you’ve got your very own proxy server (socks5 server is the most versatile among all types of proxy servers including HTTP proxy and FTP proxy) that’s local, stable and in your perfect control for getting around all kinds of firewalls. Screw all those obsolete online proxy server lists with unusable proxy servers!