MUltiple request continuously send then My Website Down
0
My webiste frontend running on nginx with reverse proxy. And Backend Running on laravel on nginx with reverse proxy. But on website 30 request increases then website down for few seconds.
Error log
0|app1 | at Timeout._onTimeout (/var/www/html/medflick2/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:1:263635)
0|app1 | at listOnTimeout (node:internal/timers:569:17)
0|app1 | at process.processTimers (node:internal/timers:512:7) {
0|app1 | code: 'ERR_INVALID_STATE'
0|app1 | }
0|app1 | TypeError [ERR_INVALID_STATE]: Invalid state: ReadableStream is already closed
0|app1 | at new NodeError (node:internal/errors:405:5)
0|app1 | at ReadableByteStreamController.enqueue (node:internal/webstreams/readablestream:1154:13)
0|app1 | at Ae (/var/www/html/medflick2/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:1:266620)
0|app1 | at Me (/var/www/html/medflick2/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:1:266095)
0|app1 | at Timeout._onTimeout (/var/www/html/medflick2/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:1:263635)
0|app1 | at listOnTimeout (node:internal/timers:569:17)
0|app1 | at process.processTimers (node:internal/timers:512:7) {
0|app1 | code: 'ERR_INVALID_STATE'