Ask Your Question

Ubuntu turn off after several hours of execution time

asked 2013-08-03 03:55:32 -0500

mresimulator gravatar image

updated 2015-01-18 04:31:51 -0500

FrédéricC gravatar image

Hi experts!

I wrote a Monte Carlo script. I use Ubuntu 13.04. I close the laptop lid in the night (during execution of my script).

After several hours (~8hs) of execution of my script, I open the laptop lid and my laptop keep working (HD and other lights are on), but my screen doesnt respond. After few minutes the system ask me for my user-password an then Ubuntu wake up but... sage (and Terminal) isnt open!! (just like rebooted system).

I check the energy configuration and it look fine.

If I open the laptop lid after few hours (~2hs) the system respond well and sage (in Terminal) is open and executing the script.

Please help!

Thanks a lot!

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2013-08-03 05:21:50 -0500

tmonteil gravatar image

updated 2013-08-03 05:23:30 -0500

Your problem seems not related to Sage, but to how your distro/desktop-manager handles the lid closure. It is possible that, when closing the lid, your desktop-manager just locks the screen (so that the computation continues), but then shuts down after a few hours. You should have a look to the power-management preferences (or the /etc/acpi directory).

edit flag offensive delete link more


To add to what tmonteil said - I suspect your laptop reboots because it overheats 1. check if your system actually rebooted or not by looking at the system logs (usually `/var/log/messages`). 2. Don't close your laptop lid when computations are running. Some heat is dissipated from the keyboard area, especially if your laptop is running computations. So, it is important that you do not close the lid. In case, all you want is your display to go off then run `xset dpms force off` from a terminal.

ppurka gravatar imageppurka ( 2013-08-03 08:40:14 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-08-03 03:55:32 -0500

Seen: 109 times

Last updated: Aug 03 '13