6 years, 10 months ago

FreeBSD and openjdk8 install: remember to check your system temperature during compilation

I recently installed a new FreeBSD 10 server at home (on my trustly old IBM Thinkpad). After seeing that openjdk8 was out, I thought I would install it from ports and give it a spin.
During installation I received the following kernel warning in my SSH console:

476 Apr 24 06:26:15 beastie devd: Executing 'logger -p kern.emerg 'WARNING: system temperature     too high, shutting down soon!''
477 Apr 24 06:26:15 beastie root: WARNING: system temperature too high, shutting down soon!

sysctl revealed the following:

root@beastie:/usr/ports/java/openjdk8 # sysctl -a | grep temperature
hw.acpi.thermal.tz0.temperature: 86.0C
hw.acpi.thermal.tz1.temperature: 81.0C

Holy smokes (literally speaking) that is one hot compilation! I quickly shut down the job of course just to make sure I didn’t burn down the machine.