Thread 'Unintentional logoff/reboot by morning'

Message boards : Questions and problems : Unintentional logoff/reboot by morning
Message board moderation

To post messages, you must log in.

AuthorMessage
Danny Chow

Send message
Joined: 16 Sep 14
Posts: 7
United States
Message 56054 - Posted: 16 Sep 2014, 0:26:59 UTC
Last modified: 16 Sep 2014, 0:36:43 UTC

I use a MacbookPro with 2.4 GHz Intel Core i5, 8 GB RAM 1600 MHz DDR3, OS X Version 10.9.4. I leave my computer on overnight with BOINC (version 7.2.42) running and by morning, the session has logged off and closed everything along with it, as if it rebooted or crashed. My intention is to have it run overnight and throughout the day when no one is using it. I usually unplug my Wifi at night and don't turn it back on until I return from work. So, Wifi is only on from 6PM to 11PM. In the mornings, I have been re-logging myself back in and that turns on BOINC again. BOINC would run until I get home. I could tell because the Mac feels warm. I would then turn on my Wifi and use my Mac from 6PM to 11PM. I would then stop using the Mac and shut off the Wifi. Usually somehow when I go to use my Mac in the morning, it somehow is cold and waking it up would give me a fresh login. What should I do?
ID: 56054 · Report as offensive
ProfileGary Charpentier
Avatar

Send message
Joined: 23 Feb 08
Posts: 2524
United States
Message 56055 - Posted: 16 Sep 2014, 0:47:31 UTC - in response to Message 56054.  

I use a MacbookPro with 2.4 GHz Intel Core i5, 8 GB RAM 1600 MHz DDR3, OS X Version 10.9.4. I leave my computer on overnight with BOINC (version 7.2.42) running and by morning, the session has logged off and closed everything along with it, as if it rebooted or crashed. My intention is to have it run overnight and throughout the day when no one is using it. I usually unplug my Wifi at night and don't turn it back on until I return from work. So, Wifi is only on from 6PM to 11PM. In the mornings, I have been re-logging myself back in and that turns on BOINC again. BOINC would run until I get home. I could tell because the Mac feels warm. I would then turn on my Wifi and use my Mac from 6PM to 11PM. I would then stop using the Mac and shut off the Wifi. Usually somehow when I go to use my Mac in the morning, it somehow is cold and waking it up would give me a fresh login. What should I do?

Sounds like you have a Mac Prefrences issue.

Open system preferences, go to energy saver. Confirm the computer is set to never sleep. Make sure the start up automatically after power failure is checked as well as the wake on network access. Press the schedule button and confirm it is not set to shut off at a specific time. You may also need to go to users and set logon automatically to your user.
ID: 56055 · Report as offensive
Danny Chow

Send message
Joined: 16 Sep 14
Posts: 7
United States
Message 56056 - Posted: 16 Sep 2014, 1:07:53 UTC - in response to Message 56055.  

My settings are the following.
[Checked] Prevent computer from sleeping automatically when the display is off
[Unchecked] Put hard disks to sleep when possible
[Checked] Wake for Wi-Fi network access
[Checked] Enable Power Nap while plugged into a power adapter

The schedule is never sleep.
ID: 56056 · Report as offensive
ProfileGary Charpentier
Avatar

Send message
Joined: 23 Feb 08
Posts: 2524
United States
Message 56070 - Posted: 16 Sep 2014, 16:42:19 UTC - in response to Message 56056.  

My settings are the following.
[Checked] Prevent computer from sleeping automatically when the display is off
[Unchecked] Put hard disks to sleep when possible
[Checked] Wake for Wi-Fi network access
[Checked] Enable Power Nap while plugged into a power adapter

The schedule is never sleep.

Sounds correct.

Now we ask a couple stupid questions, "the help center script"
Is someone or some pet sleep walking and pushing the standby/power button?

You aren't switching the WiFi off with the same power strip the computer is plugged into?

Computer isn't plugged into a socket controlled by a wall switch?
ID: 56070 · Report as offensive
Danny Chow

Send message
Joined: 16 Sep 14
Posts: 7
United States
Message 56077 - Posted: 16 Sep 2014, 19:32:24 UTC - in response to Message 56070.  

This morning the same thing happened. My laptop is plugged in continuously with no power disruptions. I live alone. Before I went to sleep, I closed all applications except for BOINC.

Do any of the BOINC preferences matter? I allow up to 52% of my CPU capacity and 90% of my memory.
ID: 56077 · Report as offensive
ProfileGary Charpentier
Avatar

Send message
Joined: 23 Feb 08
Posts: 2524
United States
Message 56079 - Posted: 16 Sep 2014, 20:45:28 UTC - in response to Message 56077.  

This morning the same thing happened. My laptop is plugged in continuously with no power disruptions. I live alone. Before I went to sleep, I closed all applications except for BOINC.

Do any of the BOINC preferences matter? I allow up to 52% of my CPU capacity and 90% of my memory.

None of the BOINC preferences should matter.

Even if all the work units finish and there is nothing to do, with the energy saver settings the computer should not go to sleep or shut down. I don't think any of the screen saver preferences should matter, but you could try setting "none" as the screen saver. (BOINC will still run)

Next step, open console and see if the system log has an entry as to who/why/when the system went to sleep or shut down.
ID: 56079 · Report as offensive
Danny Chow

Send message
Joined: 16 Sep 14
Posts: 7
United States
Message 56083 - Posted: 17 Sep 2014, 2:36:53 UTC - in response to Message 56079.  

I checked the console, but I am not sure what the root cause is. It mentions Google Drive and other applications in the crash log. I will try switching off Google Drive first since this is not a native application. I hope this works.
ID: 56083 · Report as offensive
ProfileGary Charpentier
Avatar

Send message
Joined: 23 Feb 08
Posts: 2524
United States
Message 56085 - Posted: 17 Sep 2014, 3:59:23 UTC - in response to Message 56083.  

]I checked the console, but I am not sure what the root cause is. It mentions Google Drive and other applications in the crash log. I will try switching off Google Drive first since this is not a native application. I hope this works.[/quote]
Unless the time stamps match approximately then don't worry about it.

There may be nothing logged, and that is a clue.

It should be the few lines before the boot start message.
e.g.
[pre]9/16/14 6:56:05.053 AM shutdown[24688]: SHUTDOWN_TIME: 1410875765 53437
9/16/14 6:56:05.064 AM UserEventAgent[240]: [CaptiveServerDied:1107] Captive Daemon Died @port 27467
9/16/14 6:56:05.064 AM UserEventAgent[240]: CaptiveUserAgent: [doUserAgentActionCallback:211] Captive Server died
9/16/14 7:38:22.000 PM bootlog[0]: BOOT_TIME 1410921502 0[/pre]
ID: 56085 · Report as offensive
Danny Chow

Send message
Joined: 16 Sep 14
Posts: 7
United States
Message 56092 - Posted: 17 Sep 2014, 16:45:43 UTC - in response to Message 56085.  

Still the same this morning...
I noticed that there was a lot of activity to try to get a connection before it logged off.
I will try to disable WiFi on the Mac before going to sleep.
I will also make the following changes to my Energy Saver.
[Checked] Prevent computer from sleeping automatically when the display is off
[Unchecked] Put hard disks to sleep when possible
[Unchecked] Wake for Wi-Fi network access
[Unchecked] Enable Power Nap while plugged into a power adapter

The strange thing is that this problem doesn't happen if it didn't get WiFi access since the initial login. Once it gets WiFi and WiFi becomes unavailable, then the problems start.
ID: 56092 · Report as offensive
ProfileGary Charpentier
Avatar

Send message
Joined: 23 Feb 08
Posts: 2524
United States
Message 56093 - Posted: 17 Sep 2014, 19:31:05 UTC - in response to Message 56092.  

Still the same this morning...
I noticed that there was a lot of activity to try to get a connection before it logged off.
I will try to disable WiFi on the Mac before going to sleep.
I will also make the following changes to my Energy Saver.
[Checked] Prevent computer from sleeping automatically when the display is off
[Unchecked] Put hard disks to sleep when possible
[Unchecked] Wake for Wi-Fi network access
[Unchecked] Enable Power Nap while plugged into a power adapter

The strange thing is that this problem doesn't happen if it didn't get WiFi access since the initial login. Once it gets WiFi and WiFi becomes unavailable, then the problems start.

Interesting. Wonder if it is one of those wonderful Apple push services ignoring preferences and logging the user out?

Might see if https://discussions.apple.com/thread/5506422 has anything that applies to you.
ID: 56093 · Report as offensive
Danny Chow

Send message
Joined: 16 Sep 14
Posts: 7
United States
Message 56150 - Posted: 21 Sep 2014, 22:22:47 UTC - in response to Message 56093.  

I figured it out. In the "Security and Privacy", under "Advanced", I unchecked the "Log out after X minutes of inactivity". It is funny how this works because on a fresh login, it doesn't log out after X minutes.
ID: 56150 · Report as offensive

Message boards : Questions and problems : Unintentional logoff/reboot by morning

Copyright © 2025 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.