Profile cover photo
Profile photo
Steve Wills
166 followers -
Husband, Father, FreeBSD hacker
Husband, Father, FreeBSD hacker

166 followers
About
Steve's posts

My trick for making sure my jails don't eat my CPU (I use jail.conf and /etc/rc.d/jail:

grep jail /etc/rc.conf:

jail_enable="YES"
jail_program="/usr/local/bin/nice_jail"
jail_consolecmd="/usr/bin/nice -n 15 /usr/sbin/idprio -t /usr/bin/login -f root"

$ cat /usr/local/bin/nice_jail
#!/bin/sh

exec /usr/bin/nice -n 15 /usr/sbin/idprio -t /usr/sbin/jail "$@"

If anyone wants to use FreeBSD 10.1 on Google Cloud Compute, I've created a tar which can be converted to a very basic image here:

http://storage.googleapis.com/swills-test-bucket/FreeBSD-10.1-RELEASE-amd64-20141121033330.tar.gz

Note that you'll need to make this into an image since users don't have the ability to publicly share images.

The script I used to create this is here:

https://github.com/swills/FreeBSD-gcloud

It's very basic right now, there's a lot more to do based on:

https://cloud.google.com/compute/docs/images#buildingimage

But it boots up and works well enough that I thought I'd go ahead and put it out there in case anyone wants to use it or help with the script.

Post has attachment

Post has attachment

Post has attachment

Post has attachment
Comparison of Reddit, Digg and Slashdot

I'm far too excited about having mod_spdy working.

Post has attachment

Post has attachment

Post has attachment
Wait while more posts are being loaded