Skip to content

Commit

Permalink
Update production.md (#814)
Browse files Browse the repository at this point in the history
  • Loading branch information
drewpc authored and doug-wade committed Jan 10, 2017
1 parent 1be5933 commit 5b5f2fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/guides/production.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ without some sort of process/cluster manager if your application may throw an un

Read this first: [http://expressjs.com/en/advanced/pm.html](http://expressjs.com/en/advanced/pm.html)

Additionally, if you are running `react-server` on a machine with smaller amounts of memory (under 2GB), make sure to tune your node settings to start garbage collection at an appropriate time for your environment. You can read more details here: http://fiznool.com/blog/2016/10/01/running-a-node-dot-js-app-in-a-low-memory-environment/

## `pm2`
If using [pm2](http://pm2.keymetrics.io) to start `react-server`, add a file called `pm2.yml` to the top level directory
of your application. Also, you might want to have the `pm2` module installed globally by running the command `npm install -g pm2`.
Expand Down

0 comments on commit 5b5f2fe

Please sign in to comment.