The ideal value of listen.backlog when setting PHP-FPM pm = ondemand

I recently wrote about the impact that setting how PHP-FPM’s process manager controls child processes from dynamic (pm = dynamic) to ondemand (pm = ondemand) has on RAM usage. You may read the article at How to reduce PHP-FPM (php5-fpm) RAM usage by about 50%. One other interesting PHP-FPM setting I got to learn a little bit more about while […]

How to reduce PHP-FPM (php5-fpm) RAM usage by about 50%

PHP-FPM is the FastCGI Process Manager for PHP. On Unix-like operating systems, including Linux and BSD distributions, PHP-FPM is enabled by installing the php5-fpm (Linux) or php56-fpm (FreeBSD 10.1) package. The problem with PHP-FPM is that the default configuration and that promoted by numerous blogs chews up too much resources – RAM and CPU. The server that powers this blog […]

February 17, 2015 · 3 comments · Tutorials/Tips
For an editor, Atom uses way too much RAM

For an editor, Atom uses way too much RAM

For some time now I’ve been using Atom as a replacement for Kate, KWrite and GEdit, depending on the desktop environment I’m using. That’s because it’s much easier and faster to take notes when you’re formatting with MarkDown. If you’ve never heard about Atom, it’s a text editor from the folks at GitHub and officially described as a “hackable text […]

How to configure Ubuntu 14.04 server to forward root mails to your email address

This short tutorial shows how to configure a Ubuntu 14.04 Cloud server to forward system-generated mails sent to the root account to your email address. Why would you want to forward mails sent to root to an email address? Because most properly-configured Cloud servers are managed using a (normal) user account with sudo (root) privileges. So unless you switch to […]

What I can say about KDE Plasma 5 that I can’t say about Windows 8

What I can say about KDE Plasma 5 that I can’t say about Windows 8

I’ve never really had the time to explore KDE Plasma 5 since it was released back in July 2014. I’ve played with it a bit, but not much. Now that it’s at version 5.2 and at that stage when its deemed almost ready for primetime, that is, ready to replace all aspects of KDE Plasma 4, I decided to kick […]

February 9, 2015 · 0 comments · Tutorials/Tips

Why did this server run out of disk space?

Less than two hours after I logged into the admin end of this website, which is powered by WordPress, the site went offline, with a 502 Bad Gateway error. What the…? So I logged in via ssh and noticed a serious lag between when I type a letter and when it appears on the screen. I’ve got a problem. And […]