Fast User Switching Problem (Sometimes Cannot open applications with two accounts logged in)
Hi there,
I'm using a Late 2012 21.5" iMac running Sierra (10.12.2), (though the problem has existed for some time, I believe dating back to El Capitan).
I'm running into some problems with Fast User Switching.
The main problem seems to be that after two users are logged in for a while (might take anywhere from a few days to a week) we run into a problem where everything slows down quite a bit and launching new applications gives us an error message that says something to the effect of "Cannot open this Application" new processes generally can't spawn but the computer keeps running processes that are already running, albeit generally pretty slowly.
In the past I've mostly fixed this by just restarting the computer because it seems like the fastest way to solve it, and it always seems to crop up when I or my wife have something we need to get done, This especially annoys my wife because she doesn't actually use the iMac all that often (she does most everything on her iPad but occasionally needs to use the iMac) but quite often by the time she gets on the iMac we're experiencing the problem. It's gotten to the point that she doesn't want to log into her own account because it always seems slow and unusable. I'd prefer we keep using our own login's so things are exactly as we expect them to be when we get back to the computer (I tend to leave a lot of windows and tabs open for various projects, not to mention I'd prefer not to have gifts I'm buying for her ruined while I'm doing research, as almost happened this past month).
Until today I had only suspected that the issue was related to Fast User Switching, but hadn't had time to really dig into it to try and experiment and figure it out. Today I ran into the issue and did a bit more experimenting. Because I had some time Instead of just restarting the computer I switched over to my wife's account, (which takes a very long time whenever the issue is happening, which is another annoyance), and then logged her out and switched back to my account. Low and behold I could launch new programs again.
I've gone to the console and I can see when the problem is happening but I can't figure out what the root cause is. Below is some of the logs showing what I'm seeing when the problem is happening I haven't yet gone so far as to reinstall OS X and then load our info back on from a time machine backup, but I'm not against giving that a try, though I'd prefer something less drastic if anyone has any suggestions.
Please let me know if you have any questions or need any further information.
Logs:
Dec 31 12:58:21 BeanBrandoniMac com.apple.xpc.launchd[1] (com.apple.iTunesCacheExtension): Could not spawn trampoline /usr/libexec/xpcproxy: 35: Resource temporarily unavailable
Dec 31 12:58:21 BeanBrandoniMac com.apple.xpc.launchd[1] (com.apple.iTunesCacheExtension): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Dec 31 12:58:21 BeanBrandoniMac com.apple.xpc.launchd[1] (com.apple.iTunesCacheExtension): Deferred spawn of service failed: 35: Resource temporarily unavailable
Dec 31 12:58:21 BeanBrandoniMac com.apple.xpc.launchd[1] (com.apple.iBooks.CacheDelete): Could not spawn trampoline /usr/libexec/xpcproxy: 35: Resource temporarily unavailable
Dec 31 12:58:21 BeanBrandoniMac com.apple.xpc.launchd[1] (com.apple.iBooks.CacheDelete): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Dec 31 12:58:21 BeanBrandoniMac com.apple.xpc.launchd[1] (com.apple.iBooks.CacheDelete): Deferred spawn of service failed: 35: Resource temporarily unavailable
Dec 31 12:58:22 BeanBrandoniMac com.apple.xpc.launchd[1] (com.apple.WebKit.WebContent.42922E43-A512-4182-9CB8-D1C8966FEA07): Could not spawn trampoline /usr/libexec/xpcproxy: 35: Resource temporarily unavailable
Dec 31 12:58:22 BeanBrandoniMac com.apple.xpc.launchd[1] (com.apple.WebKit.WebContent.42922E43-A512-4182-9CB8-D1C8966FEA07): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Dec 31 12:58:22 BeanBrandoniMac com.apple.xpc.launchd[1] (com.apple.WebKit.WebContent.42922E43-A512-4182-9CB8-D1C8966FEA07): Deferred spawn of service failed: 35: Resource temporarily unavailable
Dec 31 12:58:22 BeanBrandoniMac com.apple.xpc.launchd[1] (com.gog.galaxy.commservice): Could not spawn trampoline /usr/libexec/xpcproxy: 35: Resource temporarily unavailable
Dec 31 12:58:22 BeanBrandoniMac com.apple.xpc.launchd[1] (com.gog.galaxy.commservice): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Dec 31 12:58:22 BeanBrandoniMac com.apple.xpc.launchd[1] (com.gog.galaxy.commservice): Deferred spawn of service failed: 35: Resource temporarily unavailable
Dec 31 12:58:22 BeanBrandoniMac com.apple.xpc.launchd[1] (com.gog.galaxy.commservice): Could not spawn trampoline /usr/libexec/xpcproxy: 35: Resource temporarily unavailable
Dec 31 12:58:22 BeanBrandoniMac com.apple.xpc.launchd[1] (com.gog.galaxy.commservice): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Dec 31 12:58:22 BeanBrandoniMac com.apple.xpc.launchd[1] (com.gog.galaxy.commservice): Deferred spawn of service failed: 35: Resource temporarily unavailable
Dec 31 12:58:23 BeanBrandoniMac com.apple.xpc.launchd[1] (com.apple.universalaccessd): Could not spawn trampoline /usr/libexec/xpcproxy: 35: Resource temporarily unavailable
Dec 31 12:58:23 BeanBrandoniMac com.apple.xpc.launchd[1] (com.apple.universalaccessd): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Dec 31 12:58:23 BeanBrandoniMac com.apple.xpc.launchd[1] (com.apple.universalaccessd): Deferred spawn of service failed: 35: Resource temporarily unavailable
iMac, macOS Sierra (10.12.2)