January 16, 2023

Why does net/mosquitto not save the pid on system restart?

I’m encountering this issue with net/mosquitto on FreeBSD. [empty dan ~] % grep mosquitto /etc/rc.conf mosquitto_enable=”YES” mosquitto_user=”mosquitto” mosquitto_pidfile=”/var/run/mosquitto/mosquitto.pid” [empty dan ~] % sudo service mosquitto status mosquitto is not running. [empty dan ~] % cat /var/run/mosquitto/mosquitto.pid cat: /var/run/mosquitto/mosquitto.pid: No such file or directory [empty dan ~] % ps auwwx | grep mosq mosquitto 8964 0.0 0.0 39944 20464 – SsJ 18:08 0:00.69 /usr/local/sbin/mosquitto -c /usr/local/etc/mosquitto/mosquitto.conf -d dan 92313 0.0 0.0 12840 2328 1 […]

Why does net/mosquitto not save the pid on system restart? Read More »

How to limit a jail

After encountering a rare instance where processing a FreeBSD commit caused FreshPorts to run low on resources, I want to investigate how limiting a jail might help this situation. I searched for ‘jail limit’ – found sentencing guidelines. I searched for ‘jail limit freebsd’ and found a FreeBSD Forums referring me to rctl(8), which I recognize from my $DAYJOB. I’ve just rebooted my host to add this to /boot/loader.conf: Then I started referring

How to limit a jail Read More »

Scroll to Top