Slow oh-my-zsh loading on macOS 11

At some point, starting a zsh (I’m using iTerm2 here) took almost 10 seconds on macOS 11 Big Sur. This only happened the first time when I opened iTerm2 after a reboot. After mentally going through all the software changes I had done to my rig, I was pretty sure this happened right after installing …

Auto-restart crashed mining processes in ethOS 1.2.9

ethOS 1.2.9 brings a few changes which break my auto-restart script for ethOS 1.2.7. Since 1.2.9 contains improved GPU crash detection, I rewrote the restart script to use the built-in detection mechanisms. For the required cron job please see my initial post which is available here. As long as the DRY_RUN variable is set to …

Auto-restart crashed mining processes in ethOS 1.2.7

I have been running a crypto-currency mining rig on the Linux based ethOS distro for quite some time now. While I realize that ethOS is problematic license-wise, it’s still a great distro to get a mining rig up and running in almost no time. The Nvidia GPUs in my rig are well tuned to operate …

Random delay for cron.daily, cron.weekly, cron.monthly

Wouldn’t it be nice if cron’s daily, weekly and monthly jobs could be run with a slight offset? At least that’s what I thought when 20+ servers were hitting my backup infrastructure at once. The scripts in /etc/cron.daily, /etc/cron.weekly and /etc/cron.monthly are triggered directly from crontab at fixed times. Here’s what /etc/crontab looks like in …

How to generate daily PowerDNS statistics reports

PowerDNS has been powering authoritative DNS lookups to this web site for quite a while now. It’s such a remarkable┬ápiece of software. Here’s how to create a daily statistics report for PowerDNS. Put the lines below in /etc/cron.daily/powerdns-report: #!/bin/sh /usr/bin/curl -s localhost:8081 | mail -s “$(echo “PowerDNS Daily Report\nMIME-Version: 1.0\nContent-Type: text/html”)” root Make sure the …