OpenStreetMap Now Runs on Debian

OpenStreetMap, an open-source global map database, moved its servers from Ubuntu to Debian 12, solving I/O issues and boosting performance.

After 18 years of relying on Ubuntu, OpenStreetMap announced a major shift: their servers now run on Debian 12 (Bookworm). This migration is not just about changing a Linux distribution but a strategic move to improve performance, stability, and community collaboration.

The upgrade also significantly boosts Ruby’s performance, as OSM’s servers are now powered by Ruby 3.1, promising faster and more efficient mapping adventures for users worldwide.

We are still in the process of fully migrating between Linux distributions, but we can share that we recently moved our frontend servers to Debian 12 (from Ubuntu 22.04) which bumped the Ruby version from 3.0 to 3.1 which allowed us to also upgrade the version of Ruby on Rails that we use for www.openstreetmap.org.

For those unfamiliar with the project, OpenStreetMap is a free map of the world that anyone can use to help improve. Itโ€™s created by people worldwide who add and update information about roads, parks, buildings, and more. Think of it as the Wikipedia of maps.

Unlike proprietary Google Maps or Apple Maps, OSM is open-source and free for everyone. Businesses, developers, and individuals can use it for anything, like making apps, planning routes, or creating custom maps. Now, back to the topic.

Grant Slater, the Senior Site Reliability Engineer for the OpenStreetMap Foundation, shared insights into why this transition was made. According to Slater, the decision to migrate to Debian was influenced by the strong overlap between the OpenStreetMap and Debian communities.

Many OSM mappers are also Debian enthusiasts, making this a natural fit. Slater also praised the Debian maintainers for their exceptional work in keeping packages up-to-date, specifically mentioning “osm2pgsql” and “osmium-tool,” key tools in the OSM toolkit.

There is a large overlap between OpenStreetMap mappers and the Debian community. Debian also has excellent coverage of OpenStreetMap tools and utilities, which helped with the decision to switch to Debian.

Another important factor driving the switch was a series of severe I/O performance issues encountered with certain kernel versions on systems using NVMe storage. To resolve these, OpenStreetMap needed to switch to newer mainline kernels, naturally leading them toward Debian. On Debian 12, simply installing the backport kernel resolved these issues.

The shift from Ubuntu to Debian also brought changes in how OSM manages networking on its servers. The team moved away from Netplanโ€”a tool default in Ubuntuโ€”and adopted systemd-networkd to manage network interfaces, allowing for a consistent approach across both Ubuntu and Debian systems.

Over the years, OSM has standardized its networking setup to use 802.3ad bonded interfaces for redundancy and VLANs for traffic segmentationโ€”a configuration that, according to Slater, works well with systemd-networkd.

For more information and the full interview with Grant Slater, visit the announcement on the Debian blog.

Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

Think You're an Ubuntu Expert? Let's Find Out!

Put your knowledge to the test in our lightning-fast Ubuntu quiz!
Ten questions to challenge yourself to see if you're a Linux legend or just a penguin in the making.

1 / 10

Ubuntu is an ancient African word that means:

2 / 10

Who is the Ubuntu's founder?

3 / 10

What year was the first official Ubuntu release?

4 / 10

What does the Ubuntu logo symbolize?

5 / 10

What package format does Ubuntu use for installing software?

6 / 10

When are Ubuntu's LTS versions released?

7 / 10

What is Unity?

8 / 10

What are Ubuntu versions named after?

9 / 10

What's Ubuntu Core?

10 / 10

Which Ubuntu version is Snap introduced?

The average score is 68%