7

Now I have 21 instances of "fsevent_watch" for which the parent process & process group is "ruby".

I am developing a rails project but nothing is currently running now. The server I started earlier was closed by using cntrl+C. I am on a mac.

How is it getting created? Shouldn't it be closed after the ruby application is closed?

user7579349
  • 581
  • 1
  • 5
  • 10
  • 1
    Answer so far: nobody seems to quite know why -> https://github.com/rails/rails/issues/22312 – Casper Mar 04 '17 at 23:03
  • I saw that prior to posting here, but since it started in 2015, I assumed that the conversation broke off midway. So are you telling that it's still a mystery? – user7579349 Mar 05 '17 at 04:57

1 Answers1

3

It is caused by spring server that is running in the background for your Rails application.

You can check the spring status by,

spring status

Then, stop the spring server by,

spring stop

This will kill/close all the active processes that you see.

Akshay Mohite
  • 2,168
  • 1
  • 16
  • 22
  • I don't have spring running, checked `ps`, and also have `DISABLE_SPRING=true`. This is either Rails server or Atom editor for me. Seems to be the `listen` gem we added to our gemfile and environment to help ActiveSupport and Rails 'hotload' code for the server. – Pysis Aug 21 '19 at 17:41