Problem with iMac after period of inactivity
My iMac with 10.11.6 is never switched off, the computer is set to "never sleep" and the display is set to turn off after 7 minutes of inactivity. For some months, including before I upgraded to 10.11.6, it has exhibited the following occasional problem: after a longish period of inactivity and then jiggling the mouse or keyboard, the log in screen appears but, after entering in my password, I just get a constant spinning beachball. If the log in screen doesn't appear, there is just a black screen with Mail and other notifications on but, otherwise, just a spinning beachball. With the black screen, clicking on a notification gets rid of it so there is some communication between the screen and mouse.
Most times, the computer starts up properly but, when the problem occurs, the only way to recover is to do a hard switch off and reboot. During this time, I can still connect to the iMac and access all files from a networked computer. A run of Etrecheck shows no problems and excellent" performance. Any suggestions as to what could be causing this problem?
iMac (21.5-inch, Late 2012), OS X Yosemite (10.10.1)