This has been taking place rather a lot, and I do know it is associated to DNS decision as a result of I’ve an aggressive firewall blocking most of Apple’s bs (All Apple ASNs and the [sub]area[s] akadns.web
, apart from just a few APNS factors for MDM) and I’ve observed it goes away once I transfer the Macs (it occurs on each Mac) to a community with no firewall, or once I merely unplug the ethernet cable forcing the system to surrender instantly since there is no hyperlink up. Or that is what I’ve concluded by way of statement.
There is not any CPU or reminiscence contingency, no malware*, storage is quick and plentiful. Opening dialogs — I assume as a result of the automount
ed shares are queried with one thing already holding off the queue — take soo lengthy to load, to make a choice, to alter directories can be insufferable if I did not know all of the shortcuts.
*: occurs on contemporary installs too, however that is not all of what I am basing it
Generally this app, ForkLift, would freeze the system on launch for a 5-10 minutes if an SMB share is mounted and if I am not fast sufficient to alter one thing in regards to the system’s binding to Lively Listing so it is restarted — I traced (additionally by way of statement) that drawback to opendirectoryd
, it seems to be the dealer dealing with AD. I execute dsconfig -packetsign disable
to repair it, as a result of at very first thing pointed to be the associated to signing/encryption however later I spotted it simply wants a restart. I needs to be fast sufficient although as a result of the freeze expands app by app, it requires superuser privileges and an out there terminal that is already logged in**. I added it up on a script as a service by way of Automator, and assigned a shortcut to it and added %<DOMAIN><domaingroup> ALL = NOPASSWD: ALL
in sudoers
so I am not requested for a password once I sudo
, however y’know, it is nonetheless not superb.
**: new community connections such because the one made to Area Controllers/Kerberos when a terminal is opened aren’t profitable till the system unfreezes.
sudo
makes one other connection on prime of that.
Sadly I spotted that although comparable, they’re completely different issues. Now I believe it may be mDNSResponder
and mDNSResponderHelper
because it’s what I kill to flush DNS. However on the most, this could solely be hypothesis no matter how efficient (fortunately) my options have been thus far if I haven’t got proof that does not stem from a conclusion, or the impact one thing had. I must hint these processes/issues as in actual tracing; dtrace
, Devices, and many others. which I do not know how one can use…and even how I learn about them.
As soon as I came across an utility that might print actually quick both system calls to the kernel or knowledge being written not solely to the filesystem however I believe in reminiscence, however I forgot what it was and it was LONG earlier than I used to be comfy messing with the system’s information or I’d dare to take away/add GPT indexes with out backing up. I believe that was what I want know but it surely’s gone from my reminiscence.
May you give me some pointers, huge image, on how one can use these (or which) instruments to see what course of is holding up the system?
SKILLSET+SYSTEM(S): I am not a dev, not even shut, I do know slightly Bash scripting however no programming languages, I could make sense of issues shortly although. These techniques I am utilizing are on Excessive Sierra and Mojave. They will run newer factor however why would I; I lasted on Catalina up till I used to be reminded of the brand new file system locks, about quarter-hour. Reverted again, and cease updating (and buying from ). Gatekeeper is off (
spctl --master-disable
). So long as you do not go all the way in which toC
, I believe I needs to be OK if you wish to geek out to your coronary heart’s content material, what I do not perceive instantly, I am going to analysis. 🙂 It is like I ama closeted developerdev-curious.