标题:[实践OK]Macbook下不关机再使用时出现 fork failed: resource temporarily unavailable
出处:向东博客 专注WEB应用 构架之美 --- 构架之美,在于尽态极妍 | 应用之美,在于药到病除
时间:Sat, 02 Oct 2021 13:45:28 +0000
作者:jackxiang
地址:https://jackxiang.com/post/11101/
内容:
强制关掉一些进程后,方可使用zsh,发现有一个进程开了太多的进程:
ps -ef|grep UltraSearchSyste|wc -l
3594
zsh出现 :fork failed: resource temporarily unavailable,且启动不了程序了。
ps -ef|grep UltraSearchSyste|head -1
0 105 1 0 四05下午 ?? 9:44.65 /var/root/.UltraSearchSystem/UltraSearchSystemDaemon pd
0 98562 105 0 3:41下午 ?? 0:00.00 (UltraSearchSyste)
0 98569 105 0 9:05下午 ?? 0:00.00 (UltraSearchSyste)
开机启动位置,以为它是:
ls ~+/com.UltraSearchSystemDaemon.plist
cat ~+/com.UltraSearchSystemDaemon.plist
Label
com.UltraSearchSystemDaemon
ProgramArguments
/Library/Application Support/com.UltraSearchSystemDaemon/UltraSearchSystem
r
RunAtLoad
StartInterval
14400
其实,它不是,是它,符合位置和pd参数:
/Library/LaunchDaemons/com.UltraSearchSystemP.plist
KeepAlive
Label
com.UltraSearchSystemP
ProgramArguments
/var/root/.UltraSearchSystem/UltraSearchSystemDaemon
pd
RunAtLoad
StandardErrorPath
/dev/null
StandardOutPath
/dev/null
解决开机启动问题:
sudo rm -rf ~+/com.UltraSearchSystemP.plist
Password:
来自:
如何删除mac上的ultrasearchapp?
https://www.zhihu.com/question/400059869
再次参考:https://www.makeuseof.com/tag/hidden-launchdaemons-launchagents-mac/
来自:https://www.pcrisk.com/removal-guides/18893-ultrasearchsystem-adware-mac
Generated by Jackxiang's Bo-blog 2.1.1 Release