node.js - Unknown FIND processes running in UBUNTU -
i have been seeing tons of these find process. running nodejs express , trying poke web service using postman. have no clue triggers these processes , thing slowing server down.
while node_modules, have no idea what's going on. note: using mongodb mongojs plugin.
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
i found reason this. turns out nodemon spawns find processes.
as per discussion on github, make following changes avoid nodemon trying find following directories:
nodemon/lib/config/defaults.js
ignore: ['.git/', 'node_modules/', 'bower_components/', '.sass-cache/'],
Comments
Post a Comment