Showing entries 11 to 20 of 26
« 10 Newer Entries | 6 Older Entries »
Displaying posts with tag: hosting (reset)
MySQL Ruby Gem CentOS RHEL 5 Installation Error Troubleshooting

Building and installing the Ruby mysql gem on freshly-installed Red Hat based systems sometimes produces the frustratingly ambiguous error below:

# gem install mysql
/usr/bin/ruby extconf.rb
checking for mysql_ssl_set()... no
checking for rb_str_set_len()... no
checking for rb_thread_start_timer()... no
checking for mysql.h... no
checking for mysql/mysql.h... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Searching the web for info on this error yields two basic solutions:

  1. Install the mysql-devel package (this provides the mysql.h file in /usr/include/mysql/).
  2. Run gem install mysql -- …
[Read more]
Some friendly advice for bootstrapping your OSS project

So you're a small startup company, ready to go live with your product, which you intend to distribute under an Open Source License. Congratulations, you made a wise decision! Your developers have been hacking away frantically, getting the code in good shape for the initial launch. Now it's time to look into what else needs to be built and setup, so you're ready to welcome the first members of your new community and to ensure they are coming back!

Keep the following saying in mind, which especially holds true in the Open Source world: "You never get a second chance to make a first impression!". While the most important thing is of course to have a compelling and useful product, this blog post is an attempt to highlight some other aspects about community building and providing the adequate infrastructure. This insight is based on my own experiences and my …

[Read more]
Decommissioning old servers, saving money…

Of course it’s not quite that simple. I’ve just decomissioned an old Red Hat 7.1 box (hosted dedicated server) that had been in service since 2002, so about 7 years. Specs? Celeron 1.3GHz, 512M, 60GB HD. Not too bad in the RAM and disk realm. It did a good job but goodness am I glad to be rid of it!

Not having that box online is safer for the planet, although it (perhaps amazingly considering the age of some of the externally facing software components) has never been compromised – I consider that mostly luck, by the way, I’m not naive about that. But it’s not easy to move off old servers, it’s generally (and also has been in this case) a lot of work.

Of course hosting has moved on since 2002, places like Linode offer more for less money/month. Of course they virtualise (Xen based in this case) and that’s not been my favourite (particularly for DB servers but depending …

[Read more]
1,000 additional free servers

The success of the "Your server for free this summer!" operation is such that we have decided to have another promotion, which will be an extension of the previous one.

The first 1,000 free servers were given out in less than one week! Given the number of requests that we have received, we have even opened 102 accounts in addition to what was planned. Only here is the problem: there are many of you on the waiting list and at Gandi, and we want to be able to please as many as possible

The new promotion will therefore begin today. We are once more offering 1,000 free servers though this time, for only one month. The promotion remains, of course, without any purchase necessary, and you are free to keep your server by adding hosting resources to your account, or to let them expire.

The promotion that allows you to benefit from 2 free months

[Read more]
Your server for free this summer!

Summer has come and this has put us in the mood to make you happy...

So in this summer spirit, here are some things that we have come up with to please you:

  • Have you not yet tried our cloud hosting service? If not to help you make your change, we are going to give you a free server this summer! Yes, from now until August 31st (and by request from this form) you can have a totally free server (equal to one free share). And like any Gandi hosting share, you can expand the power/performance instantly with no downtime by adding additional shares at your convenience
  • Are you already a Gandi Hosting customer? If you feel like it is terribly unfair that you cannot benefit from this promo and are already getting ready to write a nasty comment in reply to this article: there is no need, since the price of fixed …
[Read more]
Your opinion on EC2 and other cloud/hosting options

EC2 is nifty, but it doesn’t appear suitable for all needs, and that’s what this post is about.

For instance, a machine can just “disappear”. You can set things up to automatically start a new instance to replace it, but if you just committed a transaction it’s likely to be lost: MySQL replication is asynchronous, EBS which is slower if you commit your transactions on it, or EBS snapshots which are only periodic (you’d have to add foo on the application end). This adds complexity, and thus the question arises whether EC2 is the best solution for systems where this is a concern.

When pondering this, there are two important factors to consider: a database server needs cores, RAM and reasonably low-latency disk access, and application servers should be near their database server. This means you shouldn’t split app and db servers to different hosting/cloud providers.

We’d like to hear your thoughts on EC2 …

[Read more]
How to turn your website into a "Web Infrastructure"

Many websites start with a single server solution, a box acting as a web server and database server all in one. Simply, easy, cheap. The problem comes when traffic gets too high (a victim of their own success!). Many customers want a bigger box, but the answer is actually changing your architecture from "web server" to "web infrastructure". You can duplicate web servers, use the DNS to load balance them and ramp up your capacity very fast and very far.

For simplicity's sake, let's take a real example. As some of you already know, we support the Millenium association in their promotion of online video games.

The increasing success of the website,, made us re-design the architecture of the website so that it could handle the numerous videos shown on the website to its 17,000 unique visitors per day …

[Read more]
Debian 5 Lenny and Ubuntu 9.04

Ubuntu 9.04, which was released at the end of April, and Debian 5 (Lenny), have just been added to the list of new Linux distributions that you can use when you create your Gandi server. We have taken this time to deactivate the creation of new servers under Ubuntu 7.10, a distribution that is no longer officially supported by its developers.

As a reminder, here is the list of available distributions at present:

  • Ubuntu 8.04
  • Ubuntu 9.04
  • Debian 4
  • Debian 5
  • OpenSuse 10.3
  • Fedora Core 8
  • Mandriva 2008.0
  • Mandriva 2008.1
  • CentOS 5
Give your data room to grow!

We are pleased to announce the release of a new feature that you've been eagerly anticipating for some time now : the ability to increase the size of your disks!

You will need to perform two steps to do this:

  1. Change the volume of your disk,
  2. Run the necessary update on the file system itself.

This operation is totally automated for servers running under Gandi AI,  though it's only possible to do this on data disks for the moment.

For expert servers, only the volume change phase of the operation is done via our website. You will need to manually run the file system update on your own.

Please remember that you will need to have enough quota available in your account to expand your disk to the desired size.

You can view our prices at the following page: …

[Read more]
Server performance statistics!

The best way to see if your server is doing well and check that you have optimized its power it so have server statistics!

We finally have some nice graphs that let you see your server's CPU usage, network traffic, and your disk's read-write usage. These graphs will give you precious information on how your server is used, and when various usage peaks or low-points occur, so that you can optimize your services.

Below is an example of a server that is rather "active". You can see that the processor is only using on average 16% to 18% of its power (over a 24-hour period), with a peak at 40%. The server is running on 2 shares, and is therefore clearly too powerful for its current needs.

The following example shows the contrary. This server is in serious need of additional shares:

In the image below, you can see that the data disk /xvdb/ performs far more writing (light orange) than reading …

[Read more]
Showing entries 11 to 20 of 26
« 10 Newer Entries | 6 Older Entries »