This blog ran on Ubuntu 16.04 for 10 years. I migrated it to FreeBSD

26 points by eduard


eduard

I also migrated my VPS from a US providers (Vultr) to a European one (netcup).

The support for working with FreeBSD from Vultr was quite good, in contrast to Hetzner you could pick FreeBSD as your VPS' OS when configuring it, you don't have to work with the ISO image and run through the installer. That was maybe the only reason that made me hesitate about migrating to Hetzner.

Then I found netcup and decided to migrate my VPS. It is suuuper cheap. I haven't found anything that comes close to it. I got the vServer lite plan VPS piko G11s with 1 core, 1 GB RAM and 30 GB SSD for €1.84 a month. Installing FreeBSD on a VPS on netcup is as easy as doing it on Hetzner, if not easier.

I am now paying the least I have ever payed for a VPS and I got my data out of the US :D

jturner

I use OpenBSD Amsterdam for my OpenBSD VPS. I've been super happy with them and they donate back to the OpenBSD project.

eduard

On the very first try, I noticed a real problem with my new FreeBSD server. It was failing rather early, because it couldn’t handle 10k concurrent connections. After a lot of research, I found out that you can check the size of the socket queue with netstat -Lan, and it was all 128. Turns out kern.ipc.somaxconn was stock-set for that number. So I increased it [...]

I checked my own system for that setup variable with sysctl -a, but I couldn't retrieve any value.

Then, in the manpages listen (2) I found out that kern.ipc.somaxconn has been replaced since FreeBSD 10.0 with kern.ipc.soacceptqueue.

The original sysctl(3) kern.ipc.somaxconn is still available but hidden from a sysctl(3) -a output so that existing applications and scripts continue to work.