after upgrading to Yosemite iMac reboots random reboots randomly
After upgrading from Mavericks to Yosemite, my mid-2011, 21.5 inch iMac (1tb HD, 8 gb memory) is plagued with random reboots. There are never any error messages - reboots seem more frequent when my Time Machine external drive is attached. I thought I had solved the problem after reading an article about Chrome browser (which I'd been using) using an inordinate amount of memory & CPU resources, so I switched from using Chrome to Safari. Switching to Safari seemed to resolve the issue yesterday, but today my computer is back to random reboots although it doesn't seem as frequent using Safari (only 3 reboots so far today),
I booted the iMac into Safe Mode & worked for several hours including making a Time Machine backup without any reboots. I've also run a hardware & hard drive check which showed no problems.
So, I'm at a loss -- if I use Safari & keep my Time Machine backup unplugged it seems I can work with only 3 or 4 reboots & hope they don't occur in the middle of some transfer or other work -- at the end of the day when I am finished working, I can attach my external drive & hope the backup completes before a reboots occurs. Very frustrating.
Any suggestions?
Thanks.
iMac (21.5-inch Mid 2011), OS X Yosemite (10.10), 1tb HD - 8 gb memory