This thread has been on before but I lost it. I need my system to run long simulations without my intervention. It keeps going to a reboot intermittently. The program has recovery that all is not lost with a shutdown but the time getting back to check on the system. Don't remember the setting to tell fedora what to do for always on systems.
You do not need to tell it anything. All of my systems run until I reboot them or the power goes off.
Do you mean keeps going to a "crash", ie not something issuing a controlled reboot? If so then you likely have a hardware issue.
Note when I ran large supercomputers with long running jobs any nodes with weak hardware would regularly crash and have to be repaired or simply thrown out.
On Thu, May 23, 2024 at 5:37 PM Robert McBroom via users users@lists.fedoraproject.org wrote:
This thread has been on before but I lost it. I need my system to run long simulations without my intervention. It keeps going to a reboot intermittently. The program has recovery that all is not lost with a shutdown but the time getting back to check on the system. Don't remember the setting to tell fedora what to do for always on systems.
-- _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
On 5/23/24 3:37 PM, Robert McBroom via users wrote:
This thread has been on before but I lost it. I need my system to run long simulations without my intervention. It keeps going to a reboot intermittently. The program has recovery that all is not lost with a shutdown but the time getting back to check on the system. Don't remember the setting to tell fedora what to do for always on systems.
It should never reboot on its own. But if you don't login, then the default behaviour is for the computer to go to sleep after 15 minutes. If suspend isn't working, then that could be a problem. If you aren't going to login, then you need to disable the automatic sleep.
Thanks Michael, those changes to sleep.conf seem to have done the trick
On 24 May 2024 at 16:50, Robert McBroom via users wrote:
Date sent: Fri, 24 May 2024 16:50:40 -0400 Subject: Re: Need system to run 24/7 To: users@lists.fedoraproject.org Send reply to: Community support for Fedora users users@lists.fedoraproject.org From: Robert McBroom via users users@lists.fedoraproject.org Copies to: Robert McBroom robert.mcbroom@yahoo.com
Thanks Michael, those changes to sleep.conf seem to have done the trick
Glad it worked for you also. I run BOINC on my machines, and having it go to sleep even when machine is running something seemed stupid. Seems it was related to Lenova wanting to get some kind of higher power saving rating with Linux?? Don't know why they made it the default settings. Took me a while to find it some time ago.
Would think would only go into effect if machine isn't running something.
-- _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
+------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:mikes@guam.net mailto:msetzerii@gmail.com mailto:msetzerii@gmx.com Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+
On 24 May 2024, at 22:47, Michael D. Setzer II via users users@lists.fedoraproject.org wrote:
Seems it was related to Lenova wanting to get some kind of higher power saving rating with Linux?? Don't know why they made it the default settings.
I recall the default of suspend after 15 mins is a legal/regulatory driven change.
The owner has to opt into keeping a device on by turning off the power saving defaults.
Barry
On 5/25/24 4:01 AM, Barry wrote:
On 24 May 2024, at 22:47, Michael D. Setzer II via users users@lists.fedoraproject.org wrote:
Seems it was related to Lenova wanting to get some kind of higher power saving rating with Linux?? Don't know why they made it the default settings.
I recall the default of suspend after 15 mins is a legal/regulatory driven change.
The owner has to opt into keeping a device on by turning off the power saving defaults.
Barry
None of the various desktop powers setting menus that I could find showed such an option.
On Sat, 2024-05-25 at 07:51 -0400, Robert McBroom via users wrote:
On 5/25/24 4:01 AM, Barry wrote:
On 24 May 2024, at 22:47, Michael D. Setzer II via users users@lists.fedoraproject.org wrote:
Seems it was related to Lenova wanting to get some kind of higher power saving rating with Linux?? Don't know why they made it the default settings.
I recall the default of suspend after 15 mins is a legal/regulatory driven change.
The owner has to opt into keeping a device on by turning off the power saving defaults.
Barry
None of the various desktop powers setting menus that I could find showed such an option.
I use KDE, where the various options are under the Power menu in Settings. I've never had the system power down autonomously.
poc
On 5/25/24 8:39 AM, Patrick O'Callaghan wrote:
On Sat, 2024-05-25 at 07:51 -0400, Robert McBroom via users wrote:
On 5/25/24 4:01 AM, Barry wrote:
On 24 May 2024, at 22:47, Michael D. Setzer II via users users@lists.fedoraproject.org wrote:
Seems it was related to Lenova wanting to get some kind of higher power saving rating with Linux?? Don't know why they made it the default settings.
I recall the default of suspend after 15 mins is a legal/regulatory driven change.
The owner has to opt into keeping a device on by turning off the power saving defaults.
Barry
None of the various desktop powers setting menus that I could find showed such an option.
I use KDE, where the various options are under the Power menu in Settings. I've never had the system power down autonomously.
Finally found the setting for "do nothing"
On 5/25/24 11:25, Robert McBroom via users wrote:
On 5/25/24 8:39 AM, Patrick O'Callaghan wrote:
On Sat, 2024-05-25 at 07:51 -0400, Robert McBroom via users wrote:
On 5/25/24 4:01 AM, Barry wrote:
On 24 May 2024, at 22:47, Michael D. Setzer II via users users@lists.fedoraproject.org wrote:
Seems it was related to Lenova wanting to get some kind of higher power saving rating with Linux?? Don't know why they made it the default settings.
I recall the default of suspend after 15 mins is a legal/regulatory driven change.
The owner has to opt into keeping a device on by turning off the power saving defaults.
Barry
None of the various desktop powers setting menus that I could find showed such an option.
I use KDE, where the various options are under the Power menu in Settings. I've never had the system power down autonomously.
Finally found the setting for "do nothing"
Then the system went to sleep
On 25 May 2024 at 13:39, Patrick O'Callaghan wrote:
Subject: Re: Need system to run 24/7 From: Patrick O'Callaghan pocallaghan@gmail.com To: users@lists.fedoraproject.org Date sent: Sat, 25 May 2024 13:39:43 +0100 Send reply to: Community support for Fedora users users@lists.fedoraproject.org
On Sat, 2024-05-25 at 07:51 -0400, Robert McBroom via users wrote:
On 5/25/24 4:01 AM, Barry wrote:
On 24 May 2024, at 22:47, Michael D. Setzer II via users users@lists.fedoraproject.org wrote:
Seems it was related to Lenova wanting to get some kind of higher power saving rating with Linux?? Don't know why they made it the default settings.
I recall the default of suspend after 15 mins is a legal/regulatory driven change.
The owner has to opt into keeping a device on by turning off the power saving defaults.
Barry
None of the various desktop powers setting menus that I could find showed such an option.
I use KDE, where the various options are under the Power menu in Settings. I've never had the system power down autonomously.
Not 100% sure, but think the /etc/systemd/sleep.conf settings are for systemd and thus doesn't matter which desktop one uses? Know that my machines are setup with XFCE and they were going to sleep after 15 minutes after upgrading to Fedora 39. Not sure if Fedora 38 had different default settings, but 38 to 39 upgrade changed how the machine worked. Other items like blanking screen stayed the same. When upgraded from 39 to 40 the sleep.conf setting remained same so no problem..
Don't know if any XFCE or KDE or Gnome or other sleep settings would change the systemd sleep.conf settings.
poc
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
+------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:mikes@guam.net mailto:msetzerii@gmail.com mailto:msetzerii@gmx.com Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+
These are the changes that I made to keep machine from not sleeping by the default setting.
# cat /etc/systemd/sleep.conf
# This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (at your option) # any later version. # # Entries in this file show the compile time defaults. Local configuration # should be created by either modifying this file, or by creating "drop-ins" in # the sleep.conf.d/ subdirectory. The latter is generally recommended. # Defaults can be restored by simply deleting this file and all drop-ins. # # See systemd-sleep.conf(5) for details.
[Sleep] AllowSuspend=no AllowHibernation=no AllowSuspendThenHibernate=no AllowHybridSleep=no #SuspendMode= #SuspendState=mem standby freeze #HibernateMode=platform shutdown #HibernateState=disk #HybridSleepMode=suspend platform shutdown #HybridSleepState=disk #HibernateDelaySec= #SuspendEstimationSec=60min
On 23 May 2024 at 18:37, Robert McBroom via users wrote:
Date sent: Thu, 23 May 2024 18:37:22 -0400 To: users users@lists.fedoraproject.org Subject: Need system to run 24/7 Send reply to: Community support for Fedora users users@lists.fedoraproject.org From: Robert McBroom via users users@lists.fedoraproject.org Copies to: Robert McBroom robert.mcbroom@yahoo.com
[ Double-click this line for list subscription options ]
This thread has been on before but I lost it. I need my system to run long simulations without my intervention. It keeps going to a reboot intermittently. The program has recovery that all is not lost with a shutdown but the time getting back to check on the system. Don't remember the setting to tell fedora what to do for always on systems.
-- _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraprojec t.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
+------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:mikes@guam.net mailto:msetzerii@gmail.com mailto:msetzerii@gmx.com Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+
On Fri, 2024-05-24 at 09:49 +1000, Michael D. Setzer II wrote:
These are the changes that I made to keep machine from not sleeping by the default setting. # cat /etc/systemd/sleep.conf # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (at your option) # any later version. # # Entries in this file show the compile time defaults. Local configuration # should be created by either modifying this file, or by creating "drop-ins" in # the sleep.conf.d/ subdirectory. The latter is generally recommended. # Defaults can be restored by simply deleting this file and all drop-ins. # # See systemd-sleep.conf(5) for details. [Sleep] AllowSuspend=no AllowHibernation=no AllowSuspendThenHibernate=no AllowHybridSleep=no #SuspendMode= #SuspendState=mem standby freeze #HibernateMode=platform shutdown #HibernateState=disk #HybridSleepMode=suspend platform shutdown #HybridSleepState=disk #HibernateDelaySec= #SuspendEstimationSec=60min
Is there a good write-up on this?
I'm thinking about options for user-initiated versus automatic idle sleeping. You may want to be able to manually do it, and not allow it to go to sleep when it thinks it's idle. Or may want to change the patience it has so that it'll stay running for hours, but go to sleep if you accidentally left it running for half a day, or controlled by a battery charge-state monitor.
Looking into the file you mentioned, it seems only related to what to do when sleep is initiated, rather than controlling if and when sleep is initiated.
Is there a good write-up on this?
There's https://discussion.fedoraproject.org/t/gnome-suspends-after-15-minutes-of-us... which I have bookmarked.
Tim:
Is there a good write-up on this?
Andre Robatino:
There's https://discussion.fedoraproject.org/t/gnome-suspends-after-15-minutes-of-us... which I have bookmarked.
Yes, I've seen that. I've already linked to it in this thread.
I meant that /etc/systemd/sleep.conf file quoted in the message I replied to.
As I said: Looking into the file you mentioned, it seems only related to what to do when sleep is initiated, rather than controlling if and when sleep is initiated.
On Thu, 2024-05-23 at 18:37 -0400, Robert McBroom via users wrote:
This thread has been on before but I lost it. I need my system to run long simulations without my intervention. It keeps going to a reboot intermittently. The program has recovery that all is not lost with a shutdown but the time getting back to check on the system. Don't remember the setting to tell fedora what to do for always on systems.
There's some info about systems suspending after a certain amount of (perhaps ill-conceived ideas of) idleness:
https://discussion.fedoraproject.org/t/gnome-suspends-after-15-minutes-of-us...
But if it's rebooting rather than simply shutting down, I wonder if something is crashing?
On 5/24/24 11:57 PM, Tim via users wrote:
On Thu, 2024-05-23 at 18:37 -0400, Robert McBroom via users wrote:
This thread has been on before but I lost it. I need my system to run long simulations without my intervention. It keeps going to a reboot intermittently. The program has recovery that all is not lost with a shutdown but the time getting back to check on the system. Don't remember the setting to tell fedora what to do for always on systems.
There's some info about systems suspending after a certain amount of (perhaps ill-conceived ideas of) idleness:
https://discussion.fedoraproject.org/t/gnome-suspends-after-15-minutes-of-us...
But if it's rebooting rather than simply shutting down, I wonder if something is crashing?
Quirk of multi os system. Windows is first in the boot/efi list so a restore from sleep starts windows not any of the linux systems
On Sat, 2024-05-25 at 07:47 -0400, Robert McBroom via users wrote:
On 5/24/24 11:57 PM, Tim via users wrote:
On Thu, 2024-05-23 at 18:37 -0400, Robert McBroom via users wrote:
This thread has been on before but I lost it. I need my system to run long simulations without my intervention. It keeps going to a reboot intermittently. The program has recovery that all is not lost with a shutdown but the time getting back to check on the system. Don't remember the setting to tell fedora what to do for always on systems.
There's some info about systems suspending after a certain amount of (perhaps ill-conceived ideas of) idleness:
https://discussion.fedoraproject.org/t/gnome-suspends-after-15-minutes-of-us...
But if it's rebooting rather than simply shutting down, I wonder if something is crashing?
Quirk of multi os system. Windows is first in the boot/efi list so a restore from sleep starts windows not any of the linux systems
You can change that using efibootmanager.
poc
On 5/25/24 4:47 AM, Robert McBroom via users wrote:
On 5/24/24 11:57 PM, Tim via users wrote:
On Thu, 2024-05-23 at 18:37 -0400, Robert McBroom via users wrote:
This thread has been on before but I lost it. I need my system to run long simulations without my intervention. It keeps going to a reboot intermittently. The program has recovery that all is not lost with a shutdown but the time getting back to check on the system. Don't remember the setting to tell fedora what to do for always on systems.
There's some info about systems suspending after a certain amount of (perhaps ill-conceived ideas of) idleness:
https://discussion.fedoraproject.org/t/gnome-suspends-after-15-minutes-of-us...
But if it's rebooting rather than simply shutting down, I wonder if something is crashing?
Quirk of multi os system. Windows is first in the boot/efi list so a restore from sleep starts windows not any of the linux systems
That only applies to hibernation, not sleep. Sleep doesn't shut down the computer, so it doesn't go through the boot process.