mac mds是什么

While checking out Activity Monitor, you noticed a couple of processes you don’t recognize: mds and mdworker. Neither have an icon, and they seem to be running constantly. Don’t worry, they’re harmless.

在检出Activity Monitor时 ,您注意到了几个您不认识的过程:mds和mdworker。 两者都没有图标,并且它们似乎一直在运行。 不用担心,它们是无害的。

This article is part of our ongoing series explaining various processes found in Activity Monitor, like kernel_task, hidd, installd, and many others. Don’t know what those services are? Better start reading!

这篇文章是一部分我们正在进行一系列的解释活动监视器中发现,像各种Craft.iokernel_task , hidd , INSTALLD ,和其他许多人 。 不知道这些服务是什么? 最好开始阅读!

The two processes are part of Spotlight, the macOS search tool. The first, mds, stands for metadata server. This process manages the index used to give you quick search results. The second, mdworker, stands for metadata server worker. This does the hard work of actually indexing your files to make that quick searching possible.

这两个过程是macOS搜索工具Spotlight的一部分。 第一个是mds,代表元数据服务器。 此过程管理用于为您提供快速搜索结果的索引。 第二个是mdworker,代表元数据服务器工作程序。 这实际上是对文件建立索引以使快速搜索成为可能的艰巨工作。

为什么mds和mdworker使用如此多的RAM和CPU? (Why Are mds and mdworker Using So Much RAM and CPU?)

If you’ve recently migrated your files and apps from one Mac to another, it’s normal for mds and mdworker to take up a great deal of CPU power and memory. The same goes if you recently added a bunch of new files to your computer. The processes are both working to build an index of all your files, which is what will later power your fast searches.

如果您最近将文件和应用程序从一台Mac迁移到另一台Mac ,则mds和mdworker占用大量CPU能力和内存是正常的。 如果您最近在计算机中添加了一堆新文件,情况也是如此。 这些过程都在为所有文件建立索引,这将在以后为快速搜索提供动力。

How can you tell this is the case? Open Spotlight and you’ll see the word “Indexing” next to a progress bar.

你怎么能这样说呢? 打开Spotlight,进度条旁边会显示“索引”字样。

If you see that message, you know that Spotlight is hard at work creating your index, and that’s the reason for the resource usage. This typically only takes a couple of hours, though this can vary depending on your hard drive and processor speed.

如果看到该消息,则说明Spotlight很难创建索引,这就是资源使用的原因。 这通常只需要几个小时,但是具体时间取决于您的硬盘驱动器和处理器速度。

Spotlight is configured to not use up all your resources. If you’re doing something that’s processor intensive, these processes should back off. But if your Mac is left idle, and you’re not on battery power, Spotlight will feel free to use whatever resources are necessarily in order to build the database.

Spotlight配置为不耗尽所有资源。 如果您要进行处理器密集型的工作,则这些过程应该退后。 但是,如果Mac闲置,并且没有电池供电,Spotlight将可以随意使用构建数据库所需的任何资源。

重建您的Spotlight索引 (Rebuild Your Spotlight Index)

If these processes never seem to finish their job, and are constantly using your CPU and memory days after the indexing began, there’s a chance your index is corrupted. Happily, you can fix problems like this by rebuilding the Spotlight index.

如果这些进程似乎从未完成他们的工作,并且在索引开始之后几天一直在使用您的CPU和内存,那么您的索引可能会损坏。 令人高兴的是,您可以通过重建Spotlight索引来解决此类问题 。

There are two main ways to do this. The first is to add your entire hard drive to the Excluded Locations list, and then remove it from the exclusion list afterward. The second is to open the Terminal, then run the following command:

有两种主要方法可以做到这一点。 首先是将整个硬盘驱动器添加到“排除的位置”列表中,然后再将其从排除列表中删除。 第二种是打开终端,然后运行以下命令:

sudo mdutil -E /

sudo mdutil -E /

Either way, your entire Spotlight index will be re-built, which again you can see by pulling up Spotlight and looking for the word “Indexing” at top left, alongside the progress bar. Once that process is done, mds and mdworker should stop taking up excessive CPU. If not, consider running First Aid to fix file system problems on your Mac, then re-building the index again. That will solve the problem in almost all instances.

无论哪种方式,都将重新构建整个Spotlight索引,您可以再次拉起Spotlight并在进度栏旁边寻找左上角的“索引”一词来查看。 完成该过程后,mds和mdworker应该停止占用过多的CPU。 如果不是,请考虑运行“急救”来修复Mac上的文件系统问题 ,然后再次重新构建索引。 这样几乎可以解决所有问题。

翻译自: https://www.howtogeek.com/311362/what-are-mds-and-mdworker-and-why-are-they-running-on-my-mac/

mac mds是什么

mac mds是什么_什么是mds和mdworker,为什么它们在我的Mac上运行?相关推荐

  1. pythonspark集群模式运行_有关python numpy pandas scipy 等 能在YARN集群上 运行PySpark

    有关这个问题,似乎这个在某些时候,用python写好,且spark没有响应的算法支持, 能否能在YARN集群上 运行PySpark方式, 将python分析程序提交上去? Spark Applicat ...

  2. linux java jar打包_【Java】Java程序打包成jar包在Linux上运行

    当需要把在Windows上开发的Java程序用在Linux上运行时,就需要吧该Java程序打包成jar包上传到Linux上去运行. 1.Java程序用MyEclipse打包成可运行的jar包 (1)在 ...

  3. java 线程 内部_从Java中的main()内部在线程实例上运行wait()

    我正在使用java.lang.Object中的wait()的定时版本,并观察到它在两种不同的情况下的行为不同. 方案1:在线程中使用run()的默认定义 public static void main ...

  4. ios安卓模拟器_软件 | iOS影视神器!Android虚拟大师APP,手机上运行安卓模拟器,还自带ROOT!...

    工具名称:高清电视大全.虚拟大师(文末获取下载方式,直接下载安装) 文章来源:白问黑科技 大家好,我是小白.今天给小伙伴们分享两个APP,一个iOS的,另一个Android的. ▎高清电视大全 iOS ...

  5. mac运行什么脚本_这是什么过程,为什么要在我的Mac上运行?

    mac运行什么脚本 If you spend any time at all poking through Activity Monitor, you know that loads of proce ...

  6. mds聚类matlab,机器学习C9笔记:MDS聚类可视化

    MDS简介 MDS是一个统计技术集合,用于可视化地描述距离集合中的相似性和差异性.对于经典的MDS的处理过程包括:输入一个包含数据集中任意两个数据点之间距离的距离矩阵,返回一个坐标集合,这个集合可以近 ...

  7. 编程获取ip地址与mac地址的对应关系_[读书笔记]CSAPP:25[VB]网络编程1

    视频地址: [精校中英字幕]2015 CMU 15-213 CSAPP 深入理解计算机系统 课程视频_哔哩哔哩 (゜-゜)つロ 干杯~-bilibili​www.bilibili.com 课件地址: ...

  8. mac云显卡服务器_重磅!NVIDIA GeForce NOW登陆Mac:云显卡玩吃鸡逆天

    未来,只要网络足够好,想玩游戏大作,自己有没有一块顶级显卡,似乎已经不重要了. 近日,NVIDIA宣布,旗下最新的GeForce Now云端游戏服务正式登陆Mac平台,提供Beta版下载.该服务于今年 ...

  9. mac 大写锁定延迟_延迟分析中的案例研究:锁定与同步

    mac 大写锁定延迟 特别是在这篇文章中,我们将讨论: java.concurrent.Lock创建的垃圾 比较锁与同步 如何以编程方式测量延迟 争用对锁和同步的影响 遗漏对延迟测试的影响 回到我最喜 ...

最新文章

  1. 策略路由实验,指定出口
  2. getId()方法的作用
  3. java中队列的类是什么意思_java中LinkedList集合类实现栈和队列要注意什么?
  4. 抛出错误_如何找到抛出ORA00933错误的SQL
  5. 大牛书单 | 系统架构方向好书推荐
  6. 第三十三章 机械化印刷
  7. MacDroid for mac(安卓手机数据传输助手)
  8. Matlab 画图(全网最优质文章)
  9. 华为面试题——压缩字符串
  10. 查找图片中隐藏的flag
  11. 鼠标中键控制音量大小
  12. 作为面试官的一点心得
  13. 怎样在表格中选出同一类_怎样在excel中筛选出带同样文字的
  14. 阿里云禁止root用户直接登录的解决办法
  15. 双平衡吉尔伯特混频器设计(项目设计论文)
  16. Golang如何正确的停止Ticker
  17. 单利终值和现值matlab,单利终值现值和复利终值现值公式
  18. 个人发展战略思维导图
  19. Arduino驱动OLED显示屏
  20. Anaconda安装OpenBLAS

热门文章

  1. 你会对老板说这十句傻话吗
  2. n分频器 verilog_verilog实现简单分频器
  3. python下载B站视频(简单)
  4. 管理信息系统三种常见逆向操作流程的设计方案
  5. JavaScript高级之面向对象高级
  6. Day5/7:2021-1-29 mysql必知必会【5-12】
  7. Silverlight 2.5D RPG游戏技巧与特效处理:(八)无限缩放空间系统
  8. SpringBoot在线电子商城管理系统
  9. 灰烬使者服务器可以建立新账号吗,魔兽世界怀旧服:灰烬使者服务器排队过万,玩家头铁,原因太真实...
  10. shttpd php,shttpd和Lua组合-提供嵌入式web服务