If you are using nestjs this is a known issue https://github.com/nestjs/nest/issues/7249 The best solution for now is to set max listeners.