Infinite xhr-streaming, websocket and info calls in nodejs angular application

  amazon-web-services, angular, node.js, sockets, ubuntu

I have deployed my application developed in NodeJS + Angular8 on Ubuntu 18.04 using AWS EC2. Application runs fine but I am seeing infinite websocket and xhr_streaming related request keeps going as attached below. How it can be stopped?
ps:- There is no any socket related functionality implemented in my applicatin.

It seems because of this cpu utilization is going high and server stops after some time. I get below error in apache logs.

caught SIGTERM, shutting down

I am trying to resolve it by following the instructions given below, but its not yet resolved.

enter image description here

enter image description here

enter image description here

Source: Angular Questions

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.