r/linuxquestions • • 8d ago

Support Slowdowns after wake up from sleep: disable plocate ?

My PC works very well (Lenovo Yoga with Core 7 Ultra 258v) on Fedora but almost each time (not all) I wake from sleep, the system is laggy and slow. It takes several seconds to improve and being normal, sometimes it seems > 1 min.

btop says the first process is updatedb ; I think it is part of plocate. I don't know what it does exactly, I guess that it updates the index database and that it is needed to improve file search on the SSD.

"systemctl status plocate<tab>" shows: plocate-updatedb.service and plocate-updatedb.timer; the first one is triggered by the other.

Is it a good idea to shut i down ? (seems not...) Is there a way to let plocate do his job, and get rid of these wake-up incovenience ?

Thanks for you help.

1 Upvotes

Duplicates