Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 760 Bytes

FAQ.md

File metadata and controls

30 lines (22 loc) · 760 Bytes

Node-bell FAQ

How to run webapp with multiple workers

For example, using cluster-master, touch a file, i.e webapp-master.js:

var clusterMaster = require('cluster-master');

clusterMaster({
  exec: '/usr/bin/bell',  // bell bin path
  size: 5,  // workers count
  args: ['webapp', '-c', './configs.toml', '-l', '5']
})

and then run it:

$ node --harmony-generators webapp-master.js

"Too many open files" in my ssdb log

You need to set your linux's max open files to at least 10k, see how to.