minecraft.net had some downtime again

It’s gone down three times so far. I checked the logs more carefully this time and saw that it had “too many files open”.
The default limit in linux is 1000 files. On its own, the web server keeps about 700 files open on a bad day. Network connections count as files in linux.

This means that if there are 300 connections coming into the server at once (a single using refreshing a page can add up to 4), it will run out of file handles and crash.

I’ve increased that limit now and restarted the server. I am able to restart it remotely from TIGJam if this happens again.

posted 13 years ago