Archive for March 7th, 2013

The American Dream Film – How American Economy works

Thursday, March 7th, 2013

money-as-debt-iii-american-dream-and-how-economy-works-american-way

All of us Americans strive for the American Dream,and this film shows you why your dream is getting farther and farther away.

Do you know how your money is created?

Or how banking works?

Why did housing prices skyrocket and then plunge?Do you really know what the Federal Reserve System is and how it affects you every single day?

The movie is pretty much similar in spirit to Money as Debt and to American Debt Explained for Dummies. Just like every movie there is a high element of manipulation in the movie. But anyways the general things explained are sadly very true. The trend of Borrowing to generate new money was embraced by Western European civilization and now is slowly starting to be adopted by Eastern Civilization and Ex-communist countries and newest members of EU like Bulgaria, Romania etc. A whole bunch of nations are pursueing after the "American Dream", non realizing they're destroying there national country and sovereignty and selling their citizens to Private Banking self-issuing structures like America's Federal Reserve. By taking the loans, in case of dying or unabling to pay the loan this loan is transferred to relatives and by taking loans those who do so leave a bad heritage to future generations. Hopefully those watching this little video will take moral and keep their ass away from credits. Enjoy 🙂


 

The American Dream Film-Full Length

Rsync slow data (bandwidth limit) transferring on productive Linux / *BSD servers to 2nd

Thursday, March 7th, 2013

If amount of Unique users on website has increased dramatically and Apache + PHP server starts to get user load higher than 50% in times of most users site activity then it is time to move to think of migrating data on more powerful Server hardware.

Moving few thousands of Gigabytes of PHP, JS, PNG, JPG images and plain text files data from a productive host to another puts an extra burden on hard disk Input / Output (I/O) operations, thus risking to put extraordinary server load and make websites on server inaccessible. The normal way I copy data on less busy servers is create  .tar.gz archive of data from one server and transfer with sftp or scp. In this situation, doing so however puts too much load on server and thus is risking to stone the server and make it inaccessible to users. A solution to problem is to use rsync instead, synchronizing data between the servers by instructing it to transfer data from one hard disk to another via network using a maximum read/write bandwidth.

rsync command argument specifying a maximum bandwidth is --bwlimit=KBPS

To transfer data between two servers specifyinga maximum transfer bandwidth of 10MB per second you have to pass 2MBytes as it is in megabytes (2*1024Kb) = 2048.

Hence to make the transfer while logged to current productive server via SSH to host server with IP XXX.XXX.XXX.XXX I used:
w:~# cd /home/sites
w:/home/sites# /usr/bin/rsync --bwlimit=2048 -avz -e ssh . root@XXX.XXX.XXX.XXX:/home/sites/

The arguments to above rsync command are clear enough (-e ssh) – tells to use ssh as data transfer protocol, (root@) – specifies to connect to second server with root user and (:/home/sites/) – tells rsync to transfer to remote server to same directory (/home/sites/) like from which copying.

Bear in mind that, in order this method to work, rsync has to be installed both on the server from which data is transferred and to second one to where data is transferred.
Since rsync is available in Linux as well as has port in FreeBSD / NetBSD / OpenBSD ports tree, same way to transfer "web data" while upgrading BSD OS host to another is possible.