I wonder if any of you can help?
Every so often one of my Gentoox boxes locks up. The light on the front goes red, apache stops responding and so does Samba and I can’t SSH into it although the Xbox will still respond to a ping. It also send out these e-mails till I can get home to reboot it;
head /bin/loadmonitor
#!/bin/bash
###
# Load indicating LED, temperature/ fan control and emergency shutdown script
# Copyright (C) Thomas "ShALLaX" Pedley (gentoox@shallax.com)
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
oddly enough the problem your having is in the tail end of the script
tail /bin/loadmonitor
led $highled
elif [ `cat /tmp/loadled` -lt $highload ] && [ `cat /tmp/loadled` -gt $lowload ]; then
led $midled
elif [ `cat /tmp/loadled` -lt $lowload ]; then
led $lowled
fi
fi
fi
rm -rf /tmp/loadled*
fi
perhaps your system is overheating causing /bin/loadmonitor to run and instead crash because a file was not found (/tmp/loadled2)
I think you’re right, I think something is crashing and going %100 CPU bound then as a by product loadmonitor is failing to shut the Xbox down when the CPU warms up.
I think I’m gunna have to trawl through the logs some more, it must be there…