Post by @feoh

mcc
@mcc @mastodon.social

I have 2 Linux VPSes running Apache. Over the years, system upgrades have switched everything to systemd out from under me and some of my prior sysadmin knowledge is no longer correct.

I have been having for the last few weeks a problem where apache will simply quit. Nothing in the error.log, nothing that looks relevant in journalctl. No error I've seen. The page isn't loaded, I check, apache is not loaded.

The VPSes are low-resource, so the most obvious conclusion is "OOMkiller did it"

(1/2)

Replying to @mcc@mastodon.social

@mcc@mastodon.social You might consider looking for cores. Also might consider temporarily turning on verbose logging.

Also systemd has fairly extensive facilities for logging and debugging. It's definitely More Stuff To Learn, but it's been around long enough at this point that between documentation and resources there are lots of good hand/foot holds available.

The trick is to get past that initial "What what WHAT?" feeling and get used to the new plumbing. It's just different. Annoyingly, seemingly pointlessly so in some cases, but totally tractible to come up to speed with given a modicum of effort.

Happy hunting and obv let the fedi hive mind know if you get stuck.

Replying to @feoh
mcc
@mcc @mastodon.social

@feoh "The trick is to get past that initial "What what WHAT?" feeling and get used to the new plumbing"

I guess I have to decide which is more work, that or switching to FreeBSD.

Replying to @mcc@mastodon.social

@mcc@mastodon.social For sure! Although those are different in ... different ways. I'd be lying if I told you that systemd was love at first sight for me, but over time I've actually come to appreciate a number of things about it. Its unit specifications are actually pretty nice, and when push comes to shove and it's "OK I want to run this as a daemon with the following attributes" time, it's all pretty reasonable.

But FreeBSD and Illumos seem pretty groovy too! No bad choices!

I really need to get one of those running in a VM just to kick the tires.