Next.js Discord

Discord Forum

Excessive CPU usage

Unanswered
Korat posted this in #help-forum
Open in Discord
Avatar
KoratOP
We have nextjs project.
Unfortunately I can't share the source code. When we exit to prod, we have a problem with high cpu usage in which the server simply crashes. Some introductory notes: we use the pm2 balancer in cluster mode with 4 nodes, do we have react-query? In some places there is prefetch, there is also a multilingual system with next-translate and translated URLs. All this is assembled into Docker and started. But when there is a load of 10 users at the same time, the server crashes

0 Replies