title: Node.js How to setMaxListeners()
body: <p>I never used the node.js before. But followd the steps from <a href="https://github.com/dergachev/solr-security-proxy" rel="nofollow">here</a> for solr security proxy. Everything is working fine but its giving me this warning. I know i have to set max listener, but don't know how and where i do. Kindly help me please.</p>
  
  <pre><code>(node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.
  Trace
      at addListener (events.js:160:15)
      at /home/abc/node_modules/solr-security-proxy/node_modules/http-proxy/lib/node-http-proxy/routing-proxy.js:63:27
      at Array.forEach (native)
      at null.&lt;anonymous&gt; (/home/abc/node_modules/solr-security-proxy/node_modules/http-proxy/lib/node-http-proxy/routing-proxy.js:62:33)
      at emit (events.js:98:17)
      at addListener (events.js:138:10)
      at Array.0 (/home/abc/node_modules/solr-security-proxy/solr-security-proxy.js:69:13)
      at Server.handler (/home/abc/node_modules/solr-security-proxy/node_modules/http-proxy/lib/node-http-proxy.js:175:40)
      at Server.emit (events.js:98:17)
      at HTTPParser.parser.onIncoming (http.js:2164:12)
  (node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.
  Trace
      at addListener (events.js:160:15)
      at Array.0 (/home/abc/node_modules/solr-security-proxy/solr-security-proxy.js:69:13)
      at Server.handler (/home/abc/node_modules/solr-security-proxy/node_modules/http-proxy/lib/node-http-proxy.js:175:40)
      at Server.emit (events.js:98:17)
      at HTTPParser.parser.onIncoming (http.js:2164:12)
      at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:152:23)
      at Socket.socket.ondata (http.js:2022:22)
      at TCP.onread (net.js:528:27)
  </code></pre>