My 40GB PS3 used to do this.
Do you have a 15 blade fan installed? If you do then you can get a replacement 19 blade one which shifts more air. This fixed my PS3 - the fan does go to level 2 after about 20 minutes but does not go on full like before. I also replaced the thermal paste.
google 'Talismoon 19 blade'