Very slow after Hibernation/Sleep, using linux-perf

Kernels & Hardware, configuring network, installing services

Very slow after Hibernation/Sleep, using linux-perf

Postby scibearspace » 2020-10-20 08:44

Hello Debian board,

My first post to this board, but I'm not a total 'newbie' linux bod.

I've seen multiple posts for people with problems with performance after a wake from sleep, but this is the first time I have experienced it.

System details :
Uname-a
Code: Select all
Linux SciBearSpace 4.19.0-11-amd64 #1 SMP Debian 4.19.146-1 (2020-09-17) x86_64 GNU/Linux

Hardware : I've put the output of
Code: Select all
lshw
at the bottom of this post.

Not sure what else may be relevant so please just ask.

My situation :

If I walk away from my system (to make / eat lunch ~ I've not yet found out how to get calories from reading html, but I'm working on it !), when I return I find my system is running seriously slowly.

I can't even switch to different terminal (using ctrl-alt-f[key]). I have been able to get top to run (after a long time), and see that firefox is often sitting at the top of the list, so I kill it, which will solve the initial problem.

However I'm not convinced it is a firefox problem, as trying to close firefox using the button (if I can get the mouse to click on it), is non responsive. If I wait long enough I get an error message about a script slowing down a page, and asking if I would like to stop the script. However I can't stop it as the system doesn't like to accept any input ?
In fact when I get to the 'screen saver' and it can take a long time to just to be able to enter my password to get back to my desktop (and I'm not going to bore you with how long it takes for the desktop to come back !), this also makes me think it is not a firefox issue.

I've downloaded linux-perf (4.19+105+deb10u7), but in honesty I don't know what to do with it ? I just think it may be able to help after reading about someone using it to alter the performance level of his computer after hibernation over on the perl forums, the post is from 2016.

Anyhow, does anyone have any ideas of how I can troubleshoot my problem. I'm not sure what logs to look in (although having looked at dmesg I can't see anything change after waking up (just messages saying about going to sleep, then waking up. nothing in between) I need to get a copy of this.

My current solution is to simply remember to close firefox before I walk away from my pc (probably not a bad idea in terms of security anyhow), but could I get it so as my 'sleep' process did this automatically (or maybe it should do ??), and then restart firefox when I wake it up.

I am also not sure if this is a general issue as I find that after signing in the system takes a long time before I can become productive, particularly compared to an __old__ 2008 single core, 32bit HP netbook running windows !

What I would like to do is have
Code: Select all
 top
,
Code: Select all
iotop
and
Code: Select all
dmesg
run automatically when I wake up the system (as it almost impossible to run them manually as the system is so slow on wake), so as I can capture the required information into a file and then just perform a hard reboot once I get the screen saver back (a hard reboot is actually the quickest way to get the system to be useable again) .

Thanks in advance for your input, any questions / suggestions will be gratefully accepted.

David.



__output of lshw__

Code: Select all
davem@SciBearSpace:~$ lshw
scibearspace               
    description: Computer
    width: 64 bits
    capabilities: smp vsyscall32
  *-core
       description: Motherboard
       physical id: 0
     *-memory
          description: System memory
          physical id: 0
          size: 8GiB
     *-cpu
          product: Intel(R) Core(TM) i5-3437U CPU @ 1.90GHz
          vendor: Intel Corp.
          physical id: 1
          bus info: cpu@0
          size: 2632MHz
          capacity: 2900MHz
          width: 64 bits
          capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp x86-64 constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm cpuid_fault epb pti tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts cpufreq
     *-pci
          description: Host bridge
          product: 3rd Gen Core processor DRAM Controller
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 09
          width: 32 bits
          clock: 33MHz
          configuration: driver=ivb_uncore
          resources: irq:0
        *-display
             description: VGA compatible controller
             product: 3rd Gen Core processor Graphics Controller
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             version: 09
             width: 64 bits
             clock: 33MHz
             capabilities: vga_controller bus_master cap_list rom
             configuration: driver=i915 latency=0
             resources: irq:30 memory:d0000000-d03fffff memory:c0000000-cfffffff ioport:2000(size=64) memory:c0000-dffff
        *-usb:0
             description: USB controller
             product: 7 Series/C210 Series Chipset Family USB xHCI Host Controller
             vendor: Intel Corporation
             physical id: 14
             bus info: pci@0000:00:14.0
             version: 04
             width: 64 bits
             clock: 33MHz
             capabilities: xhci bus_master cap_list
             configuration: driver=xhci_hcd latency=0
             resources: irq:28 memory:d0720000-d072ffff
        *-communication:0
             description: Communication controller
             product: 7 Series/C216 Chipset Family MEI Controller #1
             vendor: Intel Corporation
             physical id: 16
             bus info: pci@0000:00:16.0
             version: 04
             width: 64 bits
             clock: 33MHz
             capabilities: bus_master cap_list
             configuration: driver=mei_me latency=0
             resources: irq:27 memory:d0735000-d073500f
        *-communication:1
             description: Serial controller
             product: 7 Series/C210 Series Chipset Family KT Controller
             vendor: Intel Corporation
             physical id: 16.3
             bus info: pci@0000:00:16.3
             version: 04
             width: 32 bits
             clock: 66MHz
             capabilities: 16550 cap_list
             configuration: driver=serial latency=0
             resources: irq:17 ioport:20b0(size=8) memory:d073c000-d073cfff
        *-network
             description: Ethernet interface
             product: 82579LM Gigabit Network Connection
             vendor: Intel Corporation
             physical id: 19
             bus info: pci@0000:00:19.0
             logical name: enp0s25
             version: 04
             serial: a0:48:1c:db:af:30
             capacity: 1Gbit/s
             width: 32 bits
             clock: 33MHz
             capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
             configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.15-4 latency=0 link=no multicast=yes port=twisted pair
             resources: irq:33 memory:d0700000-d071ffff memory:d073b000-d073bfff ioport:2080(size=32)
        *-usb:1
             description: USB controller
             product: 7 Series/C216 Chipset Family USB Enhanced Host Controller #2
             vendor: Intel Corporation
             physical id: 1a
             bus info: pci@0000:00:1a.0
             version: 04
             width: 32 bits
             clock: 33MHz
             capabilities: ehci bus_master cap_list
             configuration: driver=ehci-pci latency=0
             resources: irq:16 memory:d073a000-d073a3ff
        *-multimedia
             description: Audio device
             product: 7 Series/C216 Chipset Family High Definition Audio Controller
             vendor: Intel Corporation
             physical id: 1b
             bus info: pci@0000:00:1b.0
             version: 04
             width: 64 bits
             clock: 33MHz
             capabilities: bus_master cap_list
             configuration: driver=snd_hda_intel latency=0
             resources: irq:31 memory:d0730000-d0733fff
        *-pci:0
             description: PCI bridge
             product: 7 Series/C216 Chipset Family PCI Express Root Port 1
             vendor: Intel Corporation
             physical id: 1c
             bus info: pci@0000:00:1c.0
             version: c4
             width: 32 bits
             clock: 33MHz
             capabilities: pci normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:24 ioport:3000(size=4096) memory:d0600000-d06fffff ioport:bf200000(size=2097152)
        *-pci:1
             description: PCI bridge
             product: 7 Series/C210 Series Chipset Family PCI Express Root Port 3
             vendor: Intel Corporation
             physical id: 1c.2
             bus info: pci@0000:00:1c.2
             version: c4
             width: 32 bits
             clock: 33MHz
             capabilities: pci normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:25 ioport:4000(size=4096) memory:d0500000-d05fffff ioport:bf400000(size=2097152)
           *-generic:0
                description: System peripheral
                product: SD/MMC Host Controller
                vendor: JMicron Technology Corp.
                physical id: 0
                bus info: pci@0000:02:00.0
                version: 30
                width: 32 bits
                clock: 33MHz
                capabilities: bus_master cap_list rom
                configuration: driver=sdhci-pci latency=0
                resources: irq:18 memory:d0503000-d05030ff memory:d0510000-d051ffff
           *-generic:1 UNCLAIMED
                description: SD Host controller
                product: Standard SD Host Controller
                vendor: JMicron Technology Corp.
                physical id: 0.2
                bus info: pci@0000:02:00.2
                version: 30
                width: 32 bits
                clock: 33MHz
                capabilities: cap_list
                configuration: latency=0
                resources: memory:d0502000-d05020ff
        *-pci:2
             description: PCI bridge
             product: 7 Series/C216 Chipset Family PCI Express Root Port 4
             vendor: Intel Corporation
             physical id: 1c.3
             bus info: pci@0000:00:1c.3
             version: c4
             width: 32 bits
             clock: 33MHz
             capabilities: pci normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:26 ioport:5000(size=4096) memory:d0400000-d04fffff ioport:bf600000(size=2097152)
           *-network
                description: Wireless interface
                product: Centrino Advanced-N 6205 [Taylor Peak]
                vendor: Intel Corporation
                physical id: 0
                bus info: pci@0000:03:00.0
                logical name: wlo1
                version: 34
                serial: a4:4e:31:db:c1:70
                width: 64 bits
                clock: 33MHz
                capabilities: bus_master cap_list ethernet physical wireless
                configuration: broadcast=yes driver=iwlwifi driverversion=4.19.0-11-amd64 firmware=18.168.6.1 ip=192.168.1.36 latency=0 link=yes multicast=yes wireless=IEEE 802.11
                resources: irq:32 memory:d0400000-d0401fff
        *-usb:2
             description: USB controller
             product: 7 Series/C216 Chipset Family USB Enhanced Host Controller #1
             vendor: Intel Corporation
             physical id: 1d
             bus info: pci@0000:00:1d.0
             version: 04
             width: 32 bits
             clock: 33MHz
             capabilities: ehci bus_master cap_list
             configuration: driver=ehci-pci latency=0
             resources: irq:16 memory:d0739000-d07393ff
        *-isa
             description: ISA bridge
             product: QM77 Express Chipset LPC Controller
             vendor: Intel Corporation
             physical id: 1f
             bus info: pci@0000:00:1f.0
             version: 04
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master cap_list
             configuration: driver=lpc_ich latency=0
             resources: irq:0
        *-sata
             description: SATA controller
             product: 7 Series Chipset Family 6-port SATA Controller [AHCI mode]
             vendor: Intel Corporation
             physical id: 1f.2
             bus info: pci@0000:00:1f.2
             version: 04
             width: 32 bits
             clock: 66MHz
             capabilities: sata ahci_1.0 bus_master cap_list
             configuration: driver=ahci latency=0
             resources: irq:29 ioport:20a8(size=8) ioport:20bc(size=4) ioport:20a0(size=8) ioport:20b8(size=4) ioport:2060(size=32) memory:d0738000-d07387ff
        *-serial
             description: SMBus
             product: 7 Series/C216 Chipset Family SMBus Controller
             vendor: Intel Corporation
             physical id: 1f.3
             bus info: pci@0000:00:1f.3
             version: 04
             width: 64 bits
             clock: 33MHz
             configuration: driver=i801_smbus latency=0
             resources: irq:18 memory:d0734000-d07340ff ioport:ef80(size=32)
     *-pnp00:00
          product: PnP device PNP0c02
          physical id: 2
          capabilities: pnp
          configuration: driver=system
     *-pnp00:01
          product: PnP device IFX0102
          physical id: 3
          capabilities: pnp
          configuration: driver=tpm_tis
     *-pnp00:02
          product: PnP device PNP0c02
          physical id: 4
          capabilities: pnp
          configuration: driver=system
     *-pnp00:03
          product: PnP device PNP0b00
          physical id: 5
          capabilities: pnp
          configuration: driver=rtc_cmos
     *-pnp00:04
          product: PnP device HPQ8001
          physical id: 6
          capabilities: pnp
          configuration: driver=i8042 kbd
     *-pnp00:05
          product: PnP device SYN019e
          physical id: 7
          capabilities: pnp
          configuration: driver=i8042 aux
     *-pnp00:06
          product: PnP device PNP0c01
          physical id: 8
          capabilities: pnp
          configuration: driver=system
  *-network:0 DISABLED
       description: Ethernet interface
       physical id: 1
       logical name: virbr0-nic
       serial: 52:54:00:63:26:b1
       size: 10Mbit/s
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=tun driverversion=1.6 duplex=full link=no multicast=yes port=twisted pair speed=10Mbit/s
  *-network:1
       description: Ethernet interface
       physical id: 2
       logical name: virbr0
       serial: 52:54:00:63:26:b1
       capabilities: ethernet physical
       configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=192.168.122.1 link=no multicast=yes
  *-network:2
       description: Ethernet interface
       physical id: 3
       logical name: docker0
       serial: 02:42:54:ca:5e:d9
       capabilities: ethernet physical
       configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=172.17.0.1 link=no multicast=yes
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
davem@SciBearSpace:~$
User avatar
scibearspace
 
Posts: 6
Joined: 2017-02-22 07:11

Re: Very slow after Hibernation/Sleep, using linux-perf

Postby sunrat » 2020-10-20 10:00

journalctl might help. To show errors in the current boot:
Code: Select all
journalctl -b -p 3

Read the man page for more info and options.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 3316
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Very slow after Hibernation/Sleep, using linux-perf

Postby sickpig » 2020-10-20 10:03

Bear having hibernation problems! :) That's just not done, what has the world come to.
You might want to check journalctl to check what gives.
User avatar
sickpig
 
Posts: 589
Joined: 2019-01-23 10:34

Re: Very slow after Hibernation/Sleep, using linux-perf

Postby Deb-fan » 2020-10-20 13:04

^ Lmao, nice. :D

Could help to clarify which desktop you're using. Depending on that, would look around in its settings/controls for things which apply to setting hibernate/suspend and fiddle around with them. It's not clearly established at this point which of them is even involved, can depend on how your OS is setup, when to do which action, hibernate is to disk, suspend is to RAM, one or the other might be the culprit and it'd help knowing which one is the source of the headaches, try using them with the cmds ie "systemctl suspend" after using your pc the way you normally do, come back after lunch and fire er up, if it works without the issue ... well seems suspend may not be the problem, do the same with hibernate.

Hibernate used to require someone have a swap partition, the size of or slightly bigger than the amount of RAM on the system. Do you have a swap partition (a swapfile)? What size ? You say screen saver ... I do remember seeing many people over the years having issues due to screen locking apps, getting rid of that app or adjusting the settings for it may resolve your problem. Finally there's also the somewhat big-guns approach and outright just disabling hibernate and suspend, the info Head_on provided in this thread viewtopic.php?f=20&t=147222 looked universal on anything gnu/Linux which uses systemd as the init. Also take note of the info about scripts put into /lib/systemd/system-sleep, something as simple as ...

Code: Select all
#!/bin/bash
case $1 in
  pre)
    killall $(pgrep firefox)
    ;;
esac


May get what you were mentioning, kill all instances of firefox that are running before going into suspend/hibernate and believe by default firefox will helpfully offer to restore the previous session if it's killed off like that. Kind of hacky-dirty, intentionally crashing FF like that but don't see the harm. Haven't really gotten a decent grasp of how to use these pre/post suspend-resume scripts yet and my scripting kinda sucks but a little playing around with the idea shown would work. More junk, you might also look into using something(a firefox extension)like Noscript, prevents scripts from even running on a website unless someone allows them to and that's good from a security standpoint for one thing.
Most powerful FREE tech-support tool on the planet * HERE. *
Deb-fan
 
Posts: 968
Joined: 2012-08-14 12:27

Re: Very slow after Hibernation/Sleep, using linux-perf

Postby scibearspace » 2020-10-20 13:48

@sickpig : yeah ha ha, nice one LMAO here too. I hadnt seen the incongruence of this !

@deb-fan :

OK thanks for the info, I'll try the different types of hibernate / suspend. see which is giving the greater problem.

I'm using the XFCE desktop. I noticed the issue with screensavers, it uses xscreensaver, it turns out to be a bunch that are listed in the screen saver preferences, that are selected by default, but aren't actually installed ?? I've deselected these and that has solved some problems ... it wakes to the screen saver a little more quickly now !

The other xscreensaver settings are for screen 'standby' after 15 minutes, Suspend at 20 and power off at 30.

I'll try your suggestion for hibernate / suspend from the cli and see what that shows up.

I'll report back tomorrow ....

Dave (the 'non hibernating' polarbear)
User avatar
scibearspace
 
Posts: 6
Joined: 2017-02-22 07:11

Re: Very slow after Hibernation/Sleep, using linux-perf

Postby Head_on_a_Stick » 2020-10-20 16:48

Deb-fan wrote:
Code: Select all
    killall $(pgrep firefox)

Lolwut? I take it you haven't read the pgrep or killall man pages then? :lol:
Code: Select all
pkill firefox

Although 'killall firefox' will also work just fine, not sure why you want the PID — killall accepts process names...

Also note that pkill & killall send a SIGTERM by default so Firefox will close itself normally, just the same as if you had clicked the close button on the window, and it doesn't have to ask to restore the session afterwards. They're not "crashing" the program at all.

@OP: we're still waiting for the journal contents around the time of the problem. Use the --since= option to narrow down the window, see the journalctl man page for details.

Have you checked the RAM usage after the performance degrades? Linux handles out-of-memory events really badly so it could be that. Perhaps try earlyoom to kill memory-hogging programs automatically.

EDIT: for perf usage see
Code: Select all
perf
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12770
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Very slow after Hibernation/Sleep, using linux-perf

Postby Deb-fan » 2020-10-20 17:27

If there happened to be more than one instance running, doesn't matter as per usual it'd work, would be killing firefox by pid vs by name, as long as it goes down when/as desired its irrelevant. Also as far as firefox is concerned, yeppers it's a crash, which is why it pops up and says sorry, something went wrong, should I restore previous session or start a new one ? Also that's what the OP wanted, a way to kill it during suspend + an easy way to restore it on resume which what I outlined could do perfectly well. Ahhh, doesn't matter, its not a biggie and David has some stuff to chew on which might help. :)

Lol ... gotta do it, though thank you Hoas, perhaps you could read a manpage or cite something from the Archwiki for me dude ? Pleaseeeee ... :P
Most powerful FREE tech-support tool on the planet * HERE. *
Deb-fan
 
Posts: 968
Joined: 2012-08-14 12:27

Re: Very slow after Hibernation/Sleep, using linux-perf

Postby Head_on_a_Stick » 2020-10-20 17:41

Deb-fan wrote:If there happened to be more than one instance running, doesn't matter as per usual it'd work, would be killing firefox by pid vs by name

No, it wouldn't:
Code: Select all
~$ killall $(pgrep firefox)
5778: no process found
5779: no process found
5917: no process found
5999: no process found
6062: no process found
6130: no process found
~1$

Deb-fan wrote:Also as far as firefox is concerned, yeppers it's a crash, which is why it pops up and says sorry, something went wrong, should I restore previous session or start a new one ?

No, it doesn't.

@OP: sorry for the diversion.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12770
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Very slow after Hibernation/Sleep, using linux-perf

Postby Deb-fan » 2020-10-20 18:24

Idea is more than sound though. Not going to spend a bunch of time ironing things out, set my OS up to bother dorking together the script to get it done. What's outlined is much freakin better than your suggestion, which basically amounts to blahblah, +1 sunrat and +1 sickpig +1'ing sunrat. :D Yes, with a tad of playing around a script could be setup as described to automatically kill firefox on suspend and using session restore a good way to get a user back where they were beforehand. With minimum time + pain.
Most powerful FREE tech-support tool on the planet * HERE. *
Deb-fan
 
Posts: 968
Joined: 2012-08-14 12:27

Re: Very slow after Hibernation/Sleep, using linux-perf

Postby sickpig » 2020-10-20 18:43

Image
User avatar
sickpig
 
Posts: 589
Joined: 2019-01-23 10:34

Re: Very slow after Hibernation/Sleep, using linux-perf

Postby Deb-fan » 2020-10-20 19:44

^ LMFAO again .. glad you're back fellow nixer. :)

Nor am I saying it's the ideal solution either, evidently David identified FF running was a common denominator in the issue and shutting it down mostly fixes things. What's noted in that linked thread is the obvious intent of the people who designed it, shutting down and restarting whatever services etc causing problems w suspend/resume. Not sure what's going on in this situation, suggested a few things to look at and consider. Point is to try to help a fellow nixer having a problem with something that's bothering them.
Most powerful FREE tech-support tool on the planet * HERE. *
Deb-fan
 
Posts: 968
Joined: 2012-08-14 12:27

Re: Very slow after Hibernation/Sleep, using linux-perf

Postby sickpig » 2020-10-21 06:56

Deb-fan wrote:Point is to try to help a fellow nixer having a problem with something that's bothering them.

Yes ofcourse, some of your responses have certainly helped the posters which is great. Also hoas correcting us keeps the quality of responses made on this forum high. The man doesn't need to cite any wiki he himself is a wiki unto himself.
User avatar
sickpig
 
Posts: 589
Joined: 2019-01-23 10:34

Re: Very slow after Hibernation/Sleep, using linux-perf

Postby sunrat » 2020-10-21 07:17

There's an off-topic section in the forum if you guys just want to chat. This is a help subforum.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 3316
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Very slow after Hibernation/Sleep, using linux-perf

Postby sickpig » 2020-10-21 07:49

sunrat wrote:There's an off-topic section in the forum if you guys just want to chat. This is a help subforum.

I guess lockdown affects each in different ways, some start stating the obvious.
User avatar
sickpig
 
Posts: 589
Joined: 2019-01-23 10:34

Re: Very slow after Hibernation/Sleep, using linux-perf

Postby Deb-fan » 2020-10-25 14:08

Think David said heel to this, I'm out of here but ...

For sake of completeness, read being an anal dork. Had to go ahead and fiddle with this firefox thing a bit. Took all of a couple mins of poking, "killall firefox" works, so would "kill $(pidof firefox)" but both allow the process to exit cleanly not what this hair-brained exercise intended so ended with ...

Code: Select all
#!/bin/bash

PATH=/sbin:/usr/sbin:/bin:/usr/bin

case "$1" in
pre) kill -9 $(pidof firefox)
exit 0
;;   
  *) exit 1
;;
esac


Which knocks firefox out, that cmd is telling firefox shutdown, SHUTDOWN NOW and when relaunched it offers to restore previous session. A little finnagling, like using almost the same syntax in another script and substituting post) instead could be used to automagically bring firefox backup at system resume. Then just hit the button to restore session. There ya go, almost back where you were minus however much of the session was lost(want to say default FF saves every 15secs or so.) There's docs and examples aplenty outlining this easily accessible online. They can also be combined, the pre) + post) things as mentioned in an above post. Other random junk, this is dirty, think as stated OP should do other things, like testing suspend, hibernate, fiddle with power management settings in Xfce, if hibernate turns out to be the issue, uncheck the box telling Xfce to hibernate in 15mins, set it to suspend instead, poke at, remove/replace or reconfig xscreensaver's settings to see if it's the problem etc.

Still if it proves effective and you're satisfied with it, then it's a solution and it's hard to argue with results. Big part of this is just to point out to people this is definitely one thing /lib/systemd/system-sleep is clearly meant for, shutting down, starting/restarting services, restart pulseaudio for audio issues, removing/reloading drivers-modules, execute a script to get your backlight right again, reset a problematic touchpad etc which are causing issues during system suspend/resume. Plenty of ready solutions all over the internet, folks should go looking as needed but system-sleep can definitely help smooth things out.
Most powerful FREE tech-support tool on the planet * HERE. *
Deb-fan
 
Posts: 968
Joined: 2012-08-14 12:27

Next

Return to System configuration

Who is online

Users browsing this forum: No registered users and 13 guests

fashionable