ru Русский

Reticularium

NETWORKS PLACE

Is there a throughput limit on my server’s network interface card?

Your Cloud Server has a bandwidth cap that is applied in relation to the size of the server. Please note that the bandwidth caps are placed on outbound bandwidth only. Inbound bandwidth is not capped.

Server Size Public Limit ServiceNet Limit
256MB 10 Mbps 20 Mbps
512MB 20 Mbps 40 Mbps
1024MB 30 Mbps 60 Mbps
2048MB 60 Mbps 120 Mbps
4096MB 100 Mbps 200 Mbps
8192MB 150 Mbps 300 Mbps
15872MB 200 Mbps 400 Mbps
30720MB 300 Mbps 600 Mbps

Chart valid as of December 8, 2011

This doesn’t harm in most cases, but still is worth keeping in mind that if you have a 256MB VPS, it is a 1/128 of the 32 GB server and thus its network bandwidth is usually limited to 1/128 of 1 Gigabit which equals 1 MB/sec.

Various gateway servers, balancers, caching proxies don’t need CPU power and RAM, so small 256MB VPS choice looks natural. This is where the problem may arise.

M-Script project has been moved to its new home: http://m-script.org

It’s been under heavy development lately: old scripts have been renewed and enhanced, folders reorganized, files moved to proper locations, default monitors made more informative.

It’s also been published on Github

This and a bit more here

With graphs!

Everybody knows that LOAD DATA INFILE is fast, many did benchmarks, but nobody cared to publish results with graphs, so that others could use them to illustrate the approach :) Thanks a lot, Kevin

Amazon announced that S3 buckets now can be used for hosting static websites, not just files and images. It’s achieved by adding two properties to S3 buckets: document root and custom error pages.

Looks pretty useful. It was possible before, either by mounting S3 bucket as a folder via S3FS or using complex rewrite rules, but it’s become so much easier now.

For example, this article, if you are reading it from the website, is a static HTML page saved to disk by RoR cache controller. Using RoR routing I can easily remap such pages to e.g. static.reticularium.com and place this whole sub-domain to S3. This would decrease the load on my server and make access to such pages faster (via CDN). Not sure I want it though, I have to double-check whether it affects SEO things, but at least it’s possible now. For one project or another, it can be used to make access to your content faster and probably save you some money.

Files stored on Amazon S3 can be 5TB in size now.

If you are using my backup scripts to backup your data to S3, you can now empty the split_size parameter.

Despite the title, I am not going to provide any definition. You can find many definitions made by much smarter guys on the Internet. I saw many, but after reading most of them I had a stronge urge to say “Wow, it’s fantastic! So what you say cloud computing is?”

In fact, there is no definition. Because cloud computing is a paradigm shift. If you still need a definition, take this as one. I mean “A paradigm shift”. Shift towards what? Well, nobody knows exactly.

That’s why I am going to just explain what is usually meant by this, and I’ll try to do it in a sorted way.

Read the article

Pretty easy:


mysql -u<username> -p<password> <dbname> -B -e "select * from <tablename>" | sed 's/\t/","/g;s/^/"/;s/$/"/;s/\n//g' > <filename.csv>

If Amavis reports this scary error, it doesn’t necessarily means that your disk is cracked. Usually this means that the file it is talking about has wrong format. This happens, for example, if you upgraded Amavis or Spamassassin. Check current format with the file utility and upgrade it with dbX.X_upgrade where X.X is appropriate version. Or simply remove the auto-whitelist file, it will be re-created. Same with bayes_seen and bayes_toks files.

I have just found where that Rackspace decision to add VAT to the price resulted from. First I wanted to edit the previous article, but then decided to leave it as is. It’s still correct except a couple of details.

These details are as follows.

Read the article

Yesterday I received an email message from Rackspace:

“Dear Igor Simonov,

The Rackspace Cloud would like to inform you of an important change to our billing system that will enable us to correctly handle VAT invoicing for our European customers.

As an existing Rackspace Cloud customer, you will need to enter your VAT registration number in your control panel prior to January 1, 2010 to avoid being charged the 17.5% tax for VAT. If you do not have a VAT ID number, or choose not to supply one, The Rackspace Cloud will begin charging you the 17.5% VAT tax on all invoices after January 1, 2010.”

Read the article

Rackspace Cloud is a division of Rackspace focused on cloud technologies development. Their own service (actually three – Rackspace Cloud Servers, Rackspace Cloud Files and Rackspace Cloud Sites) is based on the recently acquired Slicehost VPS servers infrastructure. Since I am a Slicehost client myself and have many clients being hosted there, I was really curious how the Rackspace services look like.

Read the article

Error message:

1
2
Error occurred during initialization of VM
Could not reserve enough space for object heap

means: not enough Virtual Memory for Java VM to initialize. Weird for a first glance, but are you sure you have it enough? Quite probable that you have ulimits setup, which, in turn, is quite probable if you have cPanel.

Looking through job alerts I receive by email from oDesk I often see requests similar to this:

Some malicious user infected all htm and php files off our server with a iframe in the end off each file. I need to remove it from all files

These requests make me think that some webmasters don’t understand how it works.

Read the article

For example, to grant all privileges on all tables of the current database to user username:


select 'grant all on '||schemaname||'.'||tablename||' to username;' from pg_tables where schemaname='public';

Change username to what you need.

The output of this is a list of commands that that can be copied via clipboard and run all at once.