mongodb Archive

Checking limits of a running Linux process – ulimit

If we are dealing with servers that need to handle a lot of concurrent connections, we soon bump limits of our default Linux server installation. In order to be able to further modify these limits, Linux has ulimit. We can set system wide limits on CentOS inĀ /etc/security/limits.conf or manually setting them with ulimit command. We

Migrating MongoDB databases

MongoDB (from “humongous”) is a scalable, high-performance, open source NoSQL database. Written in C++. A while ago I had to move some servers with MongoDB replica set from our current colocation to new provider Hetzner. There are few different ways to get this done: Get one member of replica set removed, create new MongoDB server