【问题标题】:Unknown FIND processes running in UBUNTU在 UBUNTU 中运行的未知 FIND 进程
【发布时间】:2015-07-07 03:03:27
【问题描述】:

我已经看到了大量的这些 FIND 过程。我正在使用 express 运行 nodejs 并尝试使用 POSTMAN 戳 Web 服务。我不知道是什么触发了这些进程,这件事正在减慢服务器的速度。

虽然它确实说明了有关 node_modules 的内容,但我不知道发生了什么。注意:我正在使用带有 MongoJS 插件的 MongoDb。

root     23597     1  0 Jun27 ?        00:10:03 find -L / ( -ipath /.git -prune -or -ipath /node_modules -prune -or
root     23669     1  0 Jun27 ?        00:09:53 find -L / ( -ipath /.git -prune -or -ipath /node_modules -prune -or
root     23723     1  0 Jun27 ?        00:09:43 find -L / ( -ipath /.git -prune -or -ipath /node_modules -prune -or
root     23788     1  0 Jun27 ?        00:09:36 find -L / ( -ipath /.git -prune -or -ipath /node_modules -prune -or
root     23846     1  0 Jun27 ?        00:09:28 find -L / ( -ipath /.git -prune -or -ipath /node_modules -prune -or
root     23915     1  0 Jun27 ?        00:09:19 find -L / ( -ipath /.git -prune -or -ipath /node_modules -prune -or
root     23988     1  0 Jun27 ?        00:09:10 find -L / ( -ipath /.git -prune -or -ipath /node_modules -prune -or
root     24100     1  0 Jun27 ?        00:09:02 find -L / ( -ipath /.git -prune -or -ipath /node_modules -prune -or
root     24284     1  0 Jun27 ?        00:08:52 find -L / ( -ipath /.git -prune -or -ipath /node_modules -prune -or

【问题讨论】:

    标签: node.js mongojs


    【解决方案1】:

    我终于找到了原因。结果是 NODEMON 产生了所有这些查找进程。

    根据 github 上的讨论,进行以下更改以避免 nodemon 尝试查找以下目录:

    nodemon/lib/config/defaults.js

    ignore: ['.git/', 'node_modules/', 'bower_components/', '.sass-cache/'],
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-09-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多