Rebuild fails with exit 1: ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL

I’m sure then, you haven’t set them!

Unfortunately tweaking the Linux kernel isn’t part of the official Discourse installation, but my understanding is that these two simple tricks will help your server run well and use less memory. Or, of course, you can do without but you might find you need more RAM+swap than you would like.

See MKJ’s Opinionated Discourse Deployment Configuration if you want more tips.