title: High HTTP latency with PM2
body: <p>I have a NestJS application running in docker with PM2 and it's extremely slow although it consumes very little resources. The reason is definitely not the traffic as there is nearly no traffic. When looking into PM2 Monitoring I see that the HTTP Latency is extremely high.</p>
  <p>When running the same application locally I can't see any of this issues.</p>
  <p>This is a snapshot of one of the clusters in PM2.</p>
  <p>│ Heap Size                                          106.32 MiB  │<br />
  │ Heap Usage                                            86.07 %  │<br />
  │ Used Heap Size                                      91.51 MiB  │<br />
  │ Active requests                                             0  │<br />
  │ Active handles                                             16  │<br />
  │ Event Loop Latency                                    0.61 ms  │<br />
  │ Event Loop Latency p95                                1.59 ms  │<br />
  │ HTTP Mean Latency                                        2 ms  │<br />
  │ HTTP P95 Latency                                      9752 ms  │<br />
  │ HTTP                                                0 req/min  │</p>
  <p>Any ideas what I can change in the configuration or how I can investigate into this issue? I haven't found anything on this topic anywhere.</p>