#bastillebsd — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #bastillebsd, aggregated by home.social.
-
Set detailed resource usage caps for jails.
EXAMPLE:
bastille limits TARGET add cpu 0,1
bastille limits TARGET add memory 1GSee `man bastille-limits`.
See `man rctl`.Supported resource limitations:
cputime, datasize, stacksize, coredumpsize, memoryuse, memorylocked, maxproc, openfiles, vmemoryuse, pseudoterminals, swapuse, nthr, msgqqueued, msgqsize, nmsgq, nsem, nsemop, nshm, shmsize, wallclock, pcpu, readbps, writebps, readiops, writeiops -
New on the blog: Hosting DokuWiki on FreeBSD with Bastille, nginx, and Caddy.
A deliberately small, database-free wiki: one application jail, central Caddy ingress, PHP-FPM over a Unix socket, and explicit nginx rules protecting DokuWiki’s private data.
The interesting part isn’t getting a page to render. It’s drawing clean security and backup boundaries.
https://blog.hofstede.it/hosting-dokuwiki-on-freebsd-with-bastille-nginx-and-caddy/
-
Set CPU and memory usage caps for jails!
BastilleBSD supports CPU and memory limits, helping you isolate and prioritize resources per container.
bastille limits TARGET add cpu 0,1
bastille limits TARGET add memory 1G