Home
Posted By: artie505 Microstackshots & Swap files? - 04/11/16 08:26 AM
(April 2010 15" MacBook Pro/2.66GHz/Core i7/8GB RAM [maxed out]/OS X 10.11.4)

Since I upgraded to El Cap I've had an endless run of events like this that are apparently the root cause of stuff like this. I'm almost never aware of them until long after they've happened, but every once in a while Safari slows down inexplicably and when I look... Voila! (Actually, most of the events I'm seeing are related to WindowServer, they don't correlate with the WebKit events, and don't seem to have any "visible" affect with the possible exception of causing Butler to crash.)

This happened in 10.11.2 and .3, and it continues in .4, the swap files are created at the same time as the .diag files, and ALL I'm doing when this-all happens is listening to music over AirPlay and emailing or surfing.

Is anybody else seeing similar behavior?

Edit: I haven't got any log files lying around at the moment, but I'm also experiencing (I guess I can call them) hangs that cause CPU usage spikes for a minute or two at a time.

I see far fewer of them than I do of the "microstackshot" events, and I don't see any correlation between the two types of events.
Posted By: artie505 Re: Microstackshots & Swap files? - 04/12/16 05:58 AM
Quote:
I haven't got any log files lying around at the moment, but I'm also experiencing (I guess I can call them) hangs that cause CPU usage spikes for a minute or two at a time.

Unfortunately, I've now got one...

Code:
Date/Time:       2016-04-11 20:37:22 -0400
OS Version:      Mac OS X 10.11.4 (Build 15E65)
Architecture:    x86_64
Report Version:  19

Command:         iTunes
Path:            /Applications/iTunes.app/Contents/MacOS/iTunes
Version:         12.3.3 (12.3.3.17)
Build Version:   2
Project Name:    iTunes
Source Version:  1200012003003017
Parent:          launchd [1]
PID:             494

Event:           cpu usage (microstackshots only)
Thread:          0x54c1 (64% cpu over 141 seconds)
Duration:        141.00s
Steps:           134

Hardware model:  MacBookPro6,2
Active cpus:     4

Fan speed:       2001 rpm
Posted By: artie505 Re: Microstackshots & Swap files? - 04/22/16 07:09 AM
Hmmm... The events are "freestanding", too.

4/21/16 1:56:11.012 PM cloudd[398]: Could not create primary backing account
4/21/16 1:56:11.158 PM FileStatsAgent[2090]: Metadata.framework [Error]: couldn't get the client port
4/21/16 1:56:11.210 PM com.apple.xpc.launchd[1]: (com.apple.FileStatsAgent) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
4/21/16 1:56:17.462 PM sandboxd[191]: ([1625]) Cookie(1625) deny file-read-data /Users/artie/Library/Caches/com.apple.Safari/WebKitCache
4/21/16 1:56:21.361 PM FileStatsAgent[2091]: Metadata.framework [Error]: couldn't get the client port
4/21/16 1:58:22.295 PM MemoryStick[395]: 178 pageouts
4/21/16 1:58:32.897 PM MemoryStick[395]: 71937 pageouts
4/21/16 1:58:43.499 PM MemoryStick[395]: 28163 pageouts

4/21/16 1:59:01.328 PM MemoryStick[395]: 7 pageouts
4/21/16 1:59:22.534 PM MemoryStick[395]: 6 pageouts
4/21/16 2:00:04.142 PM tccd[388]: SecTaskLoadEntitlements failed error=22
4/21/16 2:00:04.225 PM com.apple.WebKit.WebContent[2093]: SecTaskLoadEntitlements failed error=22
4/21/16 2:00:04.226 PM com.apple.WebKit.WebContent[2093]: SecTaskLoadEntitlements failed error=22
4/21/16 2:00:04.226 PM com.apple.WebKit.WebContent[2093]: SecTaskLoadEntitlements failed error=22
4/21/16 2:00:17.455 PM sandboxd[191]: ([1625]) Cookie(1625) deny file-read-data /Users/artie/Library/Caches/com.apple.Safari/WebKitCache

Can anybody hazard even a wild guess about what would cause the activity in red? (The only apps open when it happened were Mail, Safari, and iTunes, and I wasn't even sitting in front of my deuced Mac(hina).)
Posted By: MacManiac Re: Microstackshots & Swap files? - 04/22/16 01:03 PM
Looks like it points to WebKit as the culprit/victim......restart Safari.
Posted By: artie505 Re: Microstackshots & Swap files? - 04/23/16 10:04 PM
Thanks, but I dunno about restarting Safari.

The WebKit incident was over a minute after the pageouts, and under any circumstances, I wasn't even aware that anything was amiss until long after the fact. (I see those same WebKit entries - always in groups of three - frequently, but almost never with any side effects.)

As an experiment, I've stopped leaving eBay pages open to see if anything changes.

Edit: Nothing changed with eBay pages closed.
Posted By: artie505 Re: Microstackshots & Swap files? - 04/24/16 07:00 AM
I've never seen the second and third Console entries before, but that's not to say that I haven't just overlooked them; the sequence accompanied a WebKit crash and the creation of a swap file.

Quote:
4/23/16 11:00:10.541 PM MemoryStick[330]: 562 pageouts
4/23/16 11:00:31.850 PM WindowServer[181]: disable_update_timeout: UI updates were forcibly disabled by application "Safari" for over 1.00 seconds. Server has re-enabled them.
4/23/16 11:00:40.867 PM WindowServer[181]: common_reenable_update: UI updates were finally reenabled by application "Safari" after 10.02 seconds [0.10fps] (server forcibly re-enabled them after 1.00 seconds [1.00fps])
© FineTunedMac