High Sierra freeze

Hi,


after upgrade to high Sierra I have a problems with freezing. Previous week freeze two times, when I work with photoshop, now freeze, when have only browser opened, black screen, I must to turn off and turn on computer. Previous version Sierra works great.


Thank you

MacBook Pro with Retina display, macOS High Sierra (10.13)

Posted on Oct 3, 2017 4:42 AM

Reply
Question marked as Top-ranking reply

Posted on Oct 13, 2017 1:40 PM

I think I found where the issue is. WindowServer on High Sierra seems to leak memory quite fast when Scaled resolutions are used. This is with both internal retina display and external display. Specially with 4K displays. With internal retina and scaled resolution the memory leak seems to be quite moderate and you probably get only one freeze per day. But with attached 4K display WindowServer seems to leak memory as fast as 0.2GB/10min and grows beyond some limit quite fast.


Setting all display resolutions to "default" solves the problem. I guess nobody at Apple QA runs scaled displays.

668 replies

Feb 24, 2018 1:53 PM in response to markfromblackheath

so i finally bit the bullet ... i've had my 2012 mbp retina for 5.x years ... decided to do a TRUELY clean install ... i've been wanting to do this for a while but workload prohibited and my daily driver (2017 imac 27" motherboard hit the s-can) ... but with my displays freezing between 5-7 times per day, i had to move forward with my evil plans ... so ... i started my rebuild friday afternoon during work hours (yes, i bill by the hour).



rebooted with command-R ... internet install ... disk utility ... reformatted journalized HFS (non-encrypted) ... installed lion (10.7) ... boy, what a flashback ... as much as i ***** about apples QA/QC, they have come a long way ... from 10.7, you can't go directly to 10.12 or 10.13, you gotta be on 10.8 ... so, 10.8 i went (trying to locate it from the app store was an adventure, but alas, i found it) ... 10.8 it is ... by the way ... NO UI LAG on 10.7 or 10.8 ... and this is all powering their 27" cinema display (2560x1440).



made it to 10.8 ... then on to 10.12(.6) - cant go directly to 10.13.x ... everything updated fine (EXCEPT OF COURSE, APPLES KEYCHAIN DEBOCKLE ... whoever was in charge of that should be hanged, buried, dug up, then re-hung.



so, at 10.12.6 ... no UI lag, no display freezes. just mac OS ... works great. TM backed-up at that point.



i wanted to see how the UI behaves at 10.13.3 ... updated ... sure enough, while the UI lag is less than my original 5 year old constantly upgraded account .... its still not close to the buttery smooth UI of 10.12.6 ... but, haven't had a display freeze in over 48 hours.



added my typical developer software ... parallels, chrome, pdfedit, filezilla, ultraedit/compare, securecrt, dashlane, iheart radio, podcast for overcast, itsycalc, weatherbug, office 2016, snagit, apples FCP, GarageBand, LogicX, etc. including the 100gb of content download ... all other software runs in a vm (visual studio for mac, xcode, github, etc)



END RESULT: while my displays aren't freezing anymore, i'd image 10.13.x's metal2 re-write isn't fully baked (at least not for my 2012 mbp retina). still considering to move back to 10.12 at this point ... i'll wait a couple weeks before making that decision.

Mar 2, 2018 1:30 AM in response to mrwrighty

Probably just coincidence you open less windows on the machines with less RAM. I've got 32GB RAM and after enough windows have been opened it freezes. I can replicate the freeze by opening many windows, doing full screen youtube, command+tab back to first desktop, then closing the tab (command+w) that says youtube is playing in fullscreen. Screen freezes with the File menu item blue, but can move mouse, can SSH in and system appears to be running normally but can't restart WindowServer and restart command stops system but doesn't reboot. A way to reboot without hard power off is running sysdiagnose with command+control+option+shift+period which is supposed to generate system report but instead reboots. Playing video on other websites like Facebook also causes it, I can predict it about to happen by videos struggling to play, quicklook videos not working, or receiving a video iMessage appears as blank white box.


Like others experiencing this daily freeze I use a 4k external monitor in scaled res.

Apr 18, 2018 4:30 PM in response to beioe

I've been an Onyx user for several years so I'll go ahead and add that as another user in this long, long thread mentioned, Onyx does seem to clear up the issue quite a bit for at least a few days at a time. It's a bit of a pain to run it every week or so but it definitely helps.


I run the Onyx maintenance scripts pretty much as the default configuration though I do make some changes to which files are cleaned (deleted). If I had to guess, I say it's probably one of the "Rebuilding" tasks that's helping the problem. The problems do creep back in though over time.


Since a recent post mentioned Launch Services, that is one of the things that is rebuilt when the maintenance script is run. I tried the steps that poster mentioned and they didn't help me but re-running Onyx did. There are several other databases that are rebuilt during the script, some of which I'm not familiar with.


I have no association with the product, and make no money from it in any way (it's actually a free utility) and while I won't say it'll solve everyone's problems, it has definitely helped me weather this ridiculous bug that Apple seems to be doing essentially nothing to resolve. It doesn't do anything you can't do some other way but it does pull them into one place which makes it about as convenient as it can be when my system deteriorates.


---

Tim

Oct 16, 2017 5:59 AM in response to MarkTappert

Mark,


There seems to be a specific issue with the Mac Pro, I have the same system spec. but without raid and with different monitors - check your system log for "com.apple.DumpGPURestart" for confirmation and, please report it to Apple, we need as many voices as possible as we're all loosing many working hours restarting and re-doing work. Thanks.

Oct 16, 2017 2:13 PM in response to Nightprowler83

I found it in a stack overflow answer. It says thats resets display preferences, whenever it means... But it's just another desperate attempt ... No freeze since I ran it, but was just a few hours

#!/bin/sh echo "" sudo echo "Reset Display Settings v. 1.0.0" echo "" echo "Deleting global preferences" sudo rm -f /Library/Preferences/com.apple.windowserver.plist sudo rm -f /Library/Preferences/com.apple.windowserver.plist.* sudo rm -f /Library/Preferences/com.displaylink.plist sudo rm -f /Library/Preferences/com.displaylink.plist.* sudo rm -f /Library/Preferences/.GlobalPreferences.plist sudo rm -f /Library/Preferences/.GlobalPreferences.plist.* sudo rm -f /private/var/db/.com.apple.iokit.graphics sudo rm -f /private/var/db/.com.apple.iokit.graphics.* echo "" echo "Deleting user preferences" for i in ~root /Users/* do echo $i sudo rm -f $i/Library/Preferences/com.displaylink.USBNivoListener.plist sudo rm -f $i/Library/Preferences/ByHost/com.apple.windowserver.*.plist sudo rm -f $i/Library/Preferences/ByHost/com.apple.windowserver.*.plist.* sudo rm -f $i/Library/Preferences/.GlobalPreferences.plist sudo rm -f $i/Library/Preferences/.GlobalPreferences.plist.* sudo rm -rf $i/Library/Preferences/Caches done echo "" echo "Resetting NVRAM" sudo nvram -c echo "" echo "Done! Please restart the system"

Oct 16, 2017 2:24 PM in response to beioe

So this just happened to me again. This time before shutting my Mac down via SSH I first had it gather a sysdiagnose so I could examine the state it gets in when this occurs. When I look at the top.txt file in this sysdiagnose (output of running the top command-line tool), it lists WindowServer as “stuck”. So, this is irrefutable evidence that at least what I’ve been seeing is indeed a problem with WindowServer. When the screen freezes in this way, WindowServer is indeed not functional. Hints further at Metal 2 being the likely culprit... Even without a clear way to reproduce this in a definite set of steps I think that I’ll submit a bug report to Apple, now that I have a sysdiagnose from in the middle of this problem. That, at least, may help them. I sincerely hope that the bug is otherwise marked as a duplicate, and that maybe even in 10.13.1 this gets fixed.

Oct 17, 2017 11:41 AM in response to kallisti

kallisti wrote:


I was experiencing fairly frequent irrecoverable freezes. SSH as root would not trigger a reboot etc.
I have 3 external displays in addition to the one on my 2017MBP (max config)
A lot of ppl are citing the GPU/Metal2 as the culprit and I absolutely agree that seems to be related

Most of the time, the lock-ups occurred while editing in Premiere Pro CC and AfterEffects

However

With High Sierra came a number of other minor bugs that I sought to remedy and I'm not entirely sure, but I may have inadvertently stopped the GPU glitch at the same time. It's been 4 days since the system froze and it ceased coincidentally with the following:


• ran drive repair from recovery (to fix all the damage from the last few panics)

• updated all drivers

• safe booted, logged in to both root account & user account during safe boot (my root login is enabled)

-waited until all drive activity dropped to zero

• reset NVRAM

• turned off automatic graphics switching

• rebuilt LaunchServices

• rebuilt DYLD's shared cache

• rebuilt XPC cache

• rebuilt CoreDuet database

• rebuilt Mac Help

• rebooted twice


it's been 4 days of serious video and audio production/rendering across 4 displays and mysteriously no lockups
I'll report back as soon as one happens again

Well that was short-lived


it freaked out again last night.


Corrupted my backup drive ....that's 14TB I'll never get back

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

High Sierra freeze

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.