Comments (11)
precached just seems to be the last process before the 1.30 minutes timeout.
But they seem unrelated atm.
At least I can not reproduce it.
from precached.
Still need to verify the suggested methods tomorrow.
from precached.
Well the newest version did fix my slow shutdown. It now takes just 1 second. To be honest after I had to wait now I am thinking maybe something is wrong this is damn fast :)
from precached.
"Linux precess monitor and pre-caching daemon"
A stop job is running for Session 3 of user idnovic (x / 1min 30s)
from precached.
There is a known thread-deadlock problem on exit of the daemon, that is triggered sometimes during system shutdown. Precached currently will be killed by systemd after 15 seconds have elapsed, when the system is shutting down.
I wrote at/after because the service "precached monitor" exits quickly but the process after that "user shell 3" needs the whole 1.30 minutes to exit.
I too have seen this happen on my Fedora box, with and without precached running. I suspect that this will be hard to reproduce...
from precached.
I think it has to do the the 3rd part of precached. The user service.
Because when I boot to gdm and shutdown instead of login everything is perfect.
systemctl --user enable --now precached-trigger.service
from precached.
I can live with it. Just 1.30 minutes seem long...
from precached.
I think it has to do the the 3rd part of precached. The user service.
Because when I boot to gdm and shutdown instead of login everything is perfect.
$ systemctl --user enable --now precached-trigger.service
I can live with it. Just 1.30 minutes seem long...
This clearly should not happen!
I will prepare a new build tomorrow, could you please try to disable the user service and the prime-caches-timer then (after you have installed the new build)?
$ systemctl --user disable --now precached-trigger.service
$ sudo systemctl disable --now precached-prime-caches.timer
Profile transition will then be done using a .desktop
file that can be added to Gnome 3 autostart. The other two possibilities of profile transition (.timer and user service) will be kept for non-Gnome users.
Background on precached modes-of-operation (profiles)
Currently precached discriminates between two distinct runtime profiles:
- BootUp
- UpAndRunning
During BootUp
, no offline-prefetching will be done. When transitioning to UpAndRunning
, offline-prefetching will be enabled.
from precached.
Okay I can try that out. But honestly I am just pointing fingers :) not sure whatever the the precached trigger is the culprit.
from precached.
I need to debug this. I deactivated all 3 precached services and I still have the timeout.
from precached.
In case you missed it on the other issue report, the slow shutdown happens even with precached disabled. So let it be as it is. No need to rewrite that part.
from precached.
Related Issues (19)
- Fix Compiler Warnings
- flatpak HOT 7
- SUID blacklist HOT 14
- high cpu usage 2 HOT 27
- run as non root HOT 5
- decrease cpu usage over time HOT 8
- feedback on version 1.7.1 HOT 1
- Does not work on linux systems with kernel lockdown HOT 43
- hot-applications list displays same item multiple times HOT 2
- selinux confinement for precached HOT 10
- create directories at install HOT 2
- blacklist is not honored HOT 1
- unclean build HOT 2
- allow mouse interaction inside precachedtop
- high cpu usage HOT 1
- is precached supposed to preload iotrace files? HOT 2
- Do files in cache become to old? HOT 2
- Dependencies tree HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from precached.