whirling G5 fans

I want to know if you guys have a G5 and this happened. The mac gets put to sleep at the end of the day and a few hours later the fans are just whirlling away maddly. And the mac won't wake up. This is sort of a recurring problem with this mac. A common thing? :biohazard