Next.js Discord

Discord Forum

Next 13 app routing high cpu usage on dev server. Running 13.4.12

Unanswered
Bee posted this in #help-forum
Open in Discord
BeeOP
In the image you can see load average up over 20 and there are only 4 cores. How to start troubleshooting? Server logs not showing a lot

9 Replies

European sprat
i believe there's been some improvements since .12 so i'd say try the latest and see how it looks
BeeOP
Yeah so the latest - 13.4.19 - my app doesn't run except the home page. Canary versions are the same issue. Seriously considering going back to pages router
European sprat
are you using docker?
or it doesn't run in dev at all?
BeeOP
our dev server uses PM 2 locally on my mac just run yarn dev latest version and latest canary version I get errors on every page except home page - like routing is broken or something . I get Package subpath './server.edge' is not defined by "exports" on all routes but homepage if a server load and if it's client load I get a different error
So even thought newest versions are supposed to help performance an memory leak issues with app router - I can't run them at this point.
BeeOP
So this is interesting. Our dev runs lots of instances of next apps - about 10 . Shut them all down but one and load is back around 3 right where it should be with 4 cores