title: Nodejs server takes multiple process
body: <p>I'm facing a problem with nodejs on a server.</p>
  
  <p>When I launch this simple node program on my server with <code>node server.js</code></p>
  
  <pre class="lang-js prettyprint-override"><code>const express = require('express');
  const app = express();
  
  app.get('/', (req, res) =&gt; {
    res.send('Hello');
  });
  
  app.listen(4000, () =&gt; console.log('App listening on port 4000'));
  </code></pre>
  
  <p>It takes several (7) process on my Cpanel dashboard (see images) and I try to figure out why.</p>
  
  <p><a href="https://i.stack.imgur.com/s5Pnx.png" rel="nofollow noreferrer">Process count without node server running - 2 process</a></p>
  
  <p><a href="https://i.stack.imgur.com/4Rfhg.png" rel="nofollow noreferrer">Process count with node server running - 9 process</a></p>
  
  <p>If I run a <code>ps aux</code> on the server, it said that there is only one node process running, but Cpanel count 7 process for this simple server. When I go to the "Resource usage" page on Cpanel, it shows a list with the same process and the same id, several times (7). </p>
  
  <p>Is it normal ? And if it's not, how can I run a node server on 1 single process ?</p>
  
  <p>Thanks for reading and I hope this question is understandable. </p>