Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Safari fails after Monterey upgrade with "(NSPOSIXErrorDomain:28)"

Since I upgraded my M1 Mac mini to Monterey, I notice that after Safari has been running for a time, it starts to fail to load images. If I try to open a new page when it's in this state, I get this:



However, if I quit Safari and then immediately restart it, opening the same page works correctly.

Mac mini, macOS 12.0

Posted on Oct 27, 2021 9:33 AM

Reply
Question marked as Best reply

Posted on Oct 28, 2021 5:20 AM

brbo,


I appreciate your effort to capture the obvious things first. That's always good debugging practice. Let me address your suggestions:


> Seems Safari needs more free space than your Mac now has free, after the update.


Given the message, this was an obvious possibility that I had already checked: I have multiple drives attached to the Mac mini, but all of them have ample space -- the lowest being 266Gig free. I also did a "df -h" on the machine and compared it to another Mac that was still running the previous OS, and saw no obvious capacity issues.


> If so, with several tabs open Safari.could be struggling.


I don’t typically keep a lot of tabs open, but I can verify that I can recreate the issue with only a single tab in a single window, just by browsing through various websites for some period of time (less than 5 minutes). 


It seems like there *might* be a correlation with pages that have lots of embedded YouTube videos, but I have no solid proof of that.


> Activity monitor on your Mac is a handy way to see which apps are using all the energy:


I am familiar with Activity Monitor and use it regularly. There was nothing unusual on any of the tabs.


As to the “If Safari on Mac doesn't open a webpage or isn’t working as expected:” article:


  • Reload the page — reloading does nothing; once Safari is in this state opening any page shows the error
  • Install software updates — Already running latest: OS 12.0.1 + Safari 15.1
  • Turn off Safari extensions — No affect after disabling and removing all extensions other than 1Password. I will disable this as well for testing, but a web browser without access to the password safe is unusable.
  • Test with a private window — I was able to replicate even after clearing all history, but I will test in a private window today.
  • Check network settings — no proxy or custom DNS settings on this machine. Other applications (including Chrome looking at the same pages being tested in Safari) all continue to work.


Anyway, I hope you see that I had done some fairly extensive testing before posting the issue here. Apologies for not providing the above detail in my original post. 

31 replies

Jan 6, 2022 8:35 AM in response to theMcQ

I started seeing (NSPOSIXErrorDomain:28) after updating to Monterey 12.1 and Safari 15.2. If I use a VPN, I no longer see (NSPOSIXErrorDomain:28). However, Safari is using up all of my RAM. I like to click on Bookmark folders to jump to a whole new set of websites. Seems like Safari not releasing old processes. Activity Monitor shows multiple processes for same websites.



Feb 9, 2022 11:07 AM in response to Macbonu

Not sure where we are on this, but, my Safari is doing this less than before. When it does happen, quitting Safari and reopening it solves the problem (until it happens again). It was happening many times per day, now it is occasionally, maybe once a week (or less). So, perhaps there has been a fix and my computer updated or something. At any rate, moving to another browser was not a helpful suggestion, because for what we pay for Macs, Safari should work.


Also, I have 2 other Mac desktops and 2 laptops. Safari does not have this problem on them, so I would bet quite a bit that it is a problem with Monterrey.

Feb 9, 2022 11:38 AM in response to jlpate

This is still driving me crazy. If it wasn't for using the integrated keychain across devices for passwords, I would have moved to Firefox and still might if I can't find a solution. Currently I have to quit safari a few times a day and use Firefox when Safari stalls on trying to load a page or stalls half way through a page. One site that this occurs on quite often is Chase.


What I've tried that doesn't seem to solve the issue...

-Disabling Limit IP Tracking in sys pref/networking

-Disabling Sophos Web Protection

-Disabling Malwarebytes

-Disabling LittleSnitch

-Disabling CleanMyMac

-Disable AdBlockPlus extension (although I haven't tried uninstalling it)


I can try using another admin account to see if I run into the problem but it's not easy given you never know when its going to start and can't just use a new empty account while working trying to make it occur. Same with Safe Mode. Given when I just quit and start safari the problem goes away, I don't know what I would learn in safe mode.


I'll probably try uninstalling extensions first. Then one by one uninstall some of the security apps even if disabling the various features doesn't seem to do anything. Not looking forward to doing that.


Frustrating

Feb 9, 2022 12:50 PM in response to Tom Nash

I'm pretty sure this is not related to extensions, since I have not a single one installed.


But I agree that lately, this has been happening less frequently. My guess is that it is somehow related to the memory leak issues in Monterey. Since memory leaks became less immense since the last update, this might explain why we have been observing the behavior less frequently.


Interestingly, it only happens on my 16 GB RAM iMac. It hasn't happened even once on my 8 GB MacBook. Both running exactly the same versions of macOS and Safari all the time.

Safari fails after Monterey upgrade with "(NSPOSIXErrorDomain:28)"

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