cfprefsd hogging all my RAM and swapfiles being constantly used

Joined
Apr 1, 2022
Messages
2
Reaction score
0
Points
1
Hi!
The past few days I've noticed my mac was running slow. It's been so bad that after a full restart, just opening CleanMyMac froze the app completely. I have 8Go of RAM but seem to constantly run at 90% of that used, even with no apps turned on. (Idk if it's any use to answer my problem, but i've got 120Go of memory and 35Go out of that is free.)

Using Monitor, i found that the process hogging most of my RAM is cfprefsd. I looked it up and found this thread : cfprefsd is hijacking my CPU which explains how to check what it's doing. Sadly, it doesn't solve my problem.

Using the terminal as explained in the thread above, this is what I get (I cut it short for you guys, but imagine that x infinity, or so it seems) :
21:00:04 PgIn /private/var/vm/swapfile1 0.001216 W kextd
21:00:04 PgIn /private/var/vm/swapfile1 0.001167 W kextd
21:00:04 PgIn /private/var/vm/swapfile0 0.000755 W kextd
21:00:04 PgIn /private/var/vm/swapfile0 0.000405 W kextd
21:00:04 PgIn /private/var/vm/swapfile0 0.000614 W kextd
21:00:04 PgIn /private/var/vm/swapfile1 0.000366 W kextd
21:00:04 PgIn /private/var/vm/swapfile1 0.000326 W kextd
21:00:04 PgIn /private/var/vm/swapfile0 0.000410 W kextd
21:00:04 PgIn /private/var/vm/swapfile0 0.000565 W kextd
21:00:04 PgIn /private/var/vm/swapfile2 0.000518 W kextd

Going to /private/var/vm/ I've indeed noticed that the files are constantly being swapped.
But that's pretty much the limit of my knowledge and I've no idea why this is happening or how to stop it. If you can help you'd be a lifesaver!
Thanks in advance!

Antares

Ps: dunno if that's useful or not, but I'm on a MacBook Pro (Retina 13 inches, early 2015) and running Mojave 10.14.6
 
Joined
Jan 1, 2009
Messages
16,379
Reaction score
4,735
Points
113
Location
Winchester, VA
Your Mac's Specs
MBP 16" 2023 (M3 Pro), iPhone 16 Pro, plus ATVs, AWatch, MacMinis (multiple)
This article: Mac’s Hidden Daemons: Should You Be Exorcising 'cfprefsd' and 'cloudd'?

mentions in the bottom half of the article:
With cfprefsd, its task is fairly basic: reading and writing to preference files. If cfprefsd is using excess resources, chances are a corrupt plist fileis causing the issue; or, if you have recently installed or updated an app, it may be modifying its plist files. As with the cloudd daemon, it’s a good idea to wait and see if the resource usage subsides.

If CPU or memory usage remains high for the daemon in question, you may want to quit the app that is suspected to be using the daemon. However, figuring out which app is the cause can be very difficult, unless you happen to notice the issue occur after launching an app or using a specific feature in an app.
 

IWT


Joined
Jan 23, 2009
Messages
10,702
Reaction score
2,601
Points
113
Location
Born Scotland. Worked all over UK. Live in Wales
Your Mac's Specs
M2 Max Studio Extra, 32GB memory, 4TB, Sequoia 15.4.1 Apple 5K Retina Studio Monitor
Perhaps relevant, perhaps not; but CleanMyMac is known to cause problems of its own. We tend not to recommend it here, but it's your choice of course.

It may have damaged or altered some hidden components of the Operating System (OS)??

Ian
 
OP
A
Joined
Apr 1, 2022
Messages
2
Reaction score
0
Points
1
Perhaps relevant, perhaps not; but CleanMyMac is known to cause problems of its own. We tend not to recommend it here, but it's your choice of course.

It may have damaged or altered some hidden components of the Operating System (OS)??

Ian
Oh, really? I had no clue. Mmh, I wonder how I could check for that. Thanks for the info in any case!
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top