noahlocke
noahlocke

Reputation: 39

Pencilblue (node.js) performance issue: constantly writing to disk

just got done installing my first local instance of Pencilblue. I'm running OSX 10.11 with a fresh install of node.js/mongodb/pencilblue. The very first time I ran "pencilblue start", I noticed that I could hear my HDD working feverishly. Sure enough, Activity Monitor showed "node" writing at 3MB/s!! It just kept going. I went to bed and the next morning it had written 26GB!! I ran a "killall node" and re-ran "pencilblue start", same thing, immediately started writing to disk at 3MB/s! Help!

Upvotes: 0

Views: 89

Answers (1)

user3476274
user3476274

Reputation: 36

The only files that PB would continuously write out to would be the log files. The log level as well as the transports can be configured. The only time that there would be an enormous amount of log output is if your configuration has cluster.workers = "auto" and all of your workers (~7 on a mac book pro) were failing to make a connection to a dependent system (mongo and/or redis).

I'd be interested to see the log file to see what it was writing out.

Upvotes: 1

Related Questions