An open community 
of Macintosh users,
for Macintosh users.

FineTunedMac Dashboard widget now available! Download Here

Topic Options
#50771 - 12/25/18 11:50 PM Yet another weird iMac message (El Capitan)
grelber Offline


Registered: 08/05/09
Loc: North of 49th ||
Every so often my iMac goes through a lengthy spasm of activity:
Every 30 seconds the following message pops up (in Console), always in a pair of identical entries, and carries on essentially interminably.

2018-12-26 2:35:36.981 com.apple.cts[263]: com.apple.suggestions.harvest: scheduler_evaluate_activity told me to run this job; however, but the start time isn't for 22040 seconds. Ignoring.

Anybody know what this is about? And why would whatever it is "want" to run such a job more than 6 hours before supposedly needed/required?

And is there any way to "subvert" it (ie, to make it stop)?

Running OS X El Capitan 10.11.6 on iMac (21.5", mid-2011), 2.5GHz Intel Core i5.

Top
#50913 - 01/14/19 12:36 AM Re: Yet another weird iMac message (El Capitan) [Re: grelber]
grelber Offline


Registered: 08/05/09
Loc: North of 49th ||
Lots of looky-loos but no responses. Which makes the problem even more bizarre.

The problem seems to have been resolved: I shut down my iMac for a couple hours, fired it up, and the weird message has not reappeared for the past couple weeks. So, who knows?

But just as weird is why some programmer would stuff a "diagnostic" message such as
"com.apple.suggestions.harvest: scheduler_evaluate_activity told me to run this job; however, but the start time isn't for 22040 seconds. Ignoring."
into the OS to begin with.

EDIT:
Wouldn't ya know it?! Within 18 minutes of the post above the following (similar) message started appearing — twice, every 20 seconds, with the same sort of "countdown":
2019-01-14 3:54:55.072 com.apple.cts[245]: com.apple.suggestd.persist-stats: scheduler_evaluate_activity told me to run this job; however, but the start time isn't for 600 seconds. Ignoring.

Now does anyone have anything to offer?


Edited by grelber (01/14/19 01:15 AM)
Edit Reason: Additional info (in red)

Top
#50915 - 01/14/19 01:53 AM Re: Yet another weird iMac message (El Capitan) [Re: grelber]
artie505 Online


Registered: 08/04/09
Originally Posted By: grelber
Now does anyone have anything to offer?

Condolences. frown

A search of macOS 10.14.2 turns up these three items; if you've got the same launch agent, it could be your culprit.

Does it rise (and if not it, what does rise) to the top of Activity Monitor's %CPU column when those messages are generated?

More: I'd suggest running/rerunning 10.11.6 Combo, but I don't think it's possible for you.

I can't find any details about that launch agent, and I hesitate to advise trashing it because it's in /System/Library, and I doubt that it would be recreated if it is trashed, and I don't know what you'd lose without it.


Edited by artie505 (01/14/19 03:51 AM)
Edit Reason: More
_________________________
The new Great Equalizer is the SEND button.

In Memory Of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire

Top
#50916 - 01/14/19 09:22 AM Re: Yet another weird iMac message (El Capitan) [Re: artie505]
grelber Offline


Registered: 08/05/09
Loc: North of 49th ||
Originally Posted By: artie505
Does it rise ... to the top of Activity Monitor's %CPU column when those messages are generated?

Not to my knowledge.

Originally Posted By: artie505
More: I'd suggest running/rerunning 10.11.6 Combo, ....

I've got same [osxupdcombo10.11.6 for El Capitan] in reserve but can't see the point in rerunning it since installing it originally just over a year ago. The current issue only first showed in December 2018 and so would not likely be due to a faulty installation of the update.

Top
#50917 - 01/14/19 10:03 AM Re: Yet another weird iMac message (El Capitan) [Re: grelber]
artie505 Online


Registered: 08/04/09
Originally Posted By: grelber
Originally Posted By: artie505
Does it rise ... to the top of Activity Monitor's %CPU column when those messages are generated?

Not to my knowledge.

Something's got to be using CPU cycles when those messages are generated, and although it may be for just an instant, it should rise to the top of a %CPU sort, i.e. make sure that the %CPU column is selected.

Originally Posted By: grelber
I've got same [osxupdcombo10.11.6 for El Capitan] in reserve but can't see the point in rerunning it since installing it originally just over a year ago. The current issue only first showed in December 2018 and so would not likely be due to a faulty installation of the update.

Like V1 has said many times (well, it's a paraphrase), it ain't broken 'til it is broken.

Just because that launch agent functioned properly until December doesn't mean that it didn't become corrupted in December.

I can't honestly say that that launch agent is at the root of your problem, nor do I even know if the Combo actually touches it, but rerunning it can't hurt. It's a, perhaps the, tried and true troubleshooting technique (and your only other option may be reinstalling Yosemite in its entirety).
_________________________
The new Great Equalizer is the SEND button.

In Memory Of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire

Top
#50918 - 01/14/19 12:55 PM Re: Yet another weird iMac message (El Capitan) [Re: artie505]
grelber Offline


Registered: 08/05/09
Loc: North of 49th ||
The only thing that's using CPU to any great degree is Dashboard. I don't know what that indicates.

Since there's no real time log associated with that, there's no way to know what %CPU.

There are hundreds of processes going on at any given time, most of which I don't recognize.

These are for me all dead ends.

I'm not going to pursue it further since there doesn't seem to be any 'damage' done.
I just was curious about why such diagnostic messages would be generated at all (since they're tantamount to nothing and the system 'ignores' them anyway).

Top
#50919 - 01/14/19 01:27 PM Re: Yet another weird iMac message (El Capitan) [Re: artie505]
joemikeb Online

Moderator

Registered: 08/04/09
Loc: Fort Worth, Texas
Whatever the launch agent com.apple.suggestions.harvest: was supposed to do, the launch agent has disappeared or perhaps subsumed in another launch agent in subsequent releases of MacOS, at least is does not appear on any of the Macs here running Mojave. Launch agents and launch daemons are text files similar to a property list (.plist) and like a .plist there is a small but still finite risk of damage. Unlike .plist files, launch agents and launch daemons are NOT automatically rebuilt when they are deleted so that is not a viable fix option.

If this is being being caused by a damaged launch agent I can think of at least three possible fixes...
  1. Take Artie's suggestion and re-run the combo updater (this option has the added benefit that it may solve the problem if it is caused by something other than the launch agent).
  2. If you have a Time Machine backup, go into Time Machine and restore com.apple.suggestions.harvest: from a point in time prior to the date when the error evinced itself.
  3. If you have a bootable clone of your system that does not evince the error, restore com.apple.suggestions.harvest: from the clone.
_________________________
joemikeb • moderator

Top
#50921 - 01/15/19 01:35 AM Re: Yet another weird iMac message (El Capitan) [Re: joemikeb]
artie505 Online


Registered: 08/04/09
Originally Posted By: joemikeb
Whatever the launch agent com.apple.suggestions.harvest: was supposed to do, the launch agent has disappeared or perhaps subsumed in another launch agent in subsequent releases of MacOS, at least is does not appear on any of the Macs here running Mojave.

All three of us missed the fact that grelber's original and subsequent posts reference what turn out to be different functions of the same launch agent:
  • 2018-12-26 2:35:36.981 com.apple.cts[263]: com.apple.suggestions.harvest: scheduler_evaluate_activity told me to run this job; however, but the start time isn't for 22040 seconds. Ignoring.
  • 2019-01-14 3:54:55.072 com.apple.cts[245]: com.apple.suggestd.persist-stats: scheduler_evaluate_activity told me to run this job; however, but the start time isn't for 600 seconds. Ignoring.
Both com.apple.suggestions.harvest and com.apple.suggestd.persist-stats are functions of /System/Library/LaunchAgents/com.apple.suggestd.plist in El Cap 10.11.6 (which I determined by extracting it from my El Cap 10.11.6 installer with Pacifist and openig it on my desktop).

I then examined the El Cap 10.11.6 Combo and found that it overwrites the launch agent in question.

It appears, then, that grelber's launch agent may be may be corrupted, and if that's the case, rerunning the 10.11.6 Combo ought to solve his problem. (Or could it be the functionality that causes the launch agent to fire that's misfiring?)
_________________________
The new Great Equalizer is the SEND button.

In Memory Of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire

Top

Moderator:  alternaut, dkmarsh, joemikeb