Macbook Pro on Yosemite - screen going to black I have a fresh install of OS X Yosemite. There is an issue where the screen goes black or seems to go to sleep while I am using it. When this happens, it's iffy on getting it come back on. The esc key works sometimes. Closing the lid and logging in works too. I have three console copy and paste of the times this event is happening in the hopes that someone can help me troubleshoot. I thought maybe it was my DNS servers so I added Google DNS, but not sure this is it.

Here is my two logs from my console which should be very helpful in diganosing.
That log shows few problems.

First you have continuous Crash ReportCrash[2551]: Saved crash report for mdworker32[2550] version 917.1 to /Users/TARINISHOME/Library/Logs/DiagnosticReports/mdworker32_2015-04-03-123458_Tarinis-MacBook-Pro.crash

That is the 


  mdworker32 is the 32 bit version metadata server worker process.
  mdworker is used by mds to scan and index files as a volume is mounted
  or a file changes.


So tell us what is connected to your system and Open that Crash report to look what is happening. 

I would also (temporary) disable any sharing.