-
SummaryOnce we upgraded to Next 15.1.0, we started experiencing weird CPU usage peaks at times of low request counts: ![]() The above is our CPU usage vs request count for the last 2 weeks. Here's one for the last 3 hours, captured just now: ![]() As you can see, request counts stay fairly stable, while CPU usage explodes… Edit: Here's another screenshot — traffic stays the same, yet CPU usage drops significantly: ![]() This has probably happened because the servers stopped getting overwhelmed with requests, as the response times had become near-instant — from ~0.80s to ~0.03s. Such response times only happen for cached content. Therefore, I think that something's wrong with the cache. Does anyone experience something similar? Related discussion: #73908 Additional information
ExampleNo response |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 10 replies
-
@leerob do you think that the We heavily rely on the ISR cache to reduce server load, so my guess is that an increase in CPU usage could be due to some issue regarding the cache. This makes me suspicious of the following PRs that are part of the 15.1.0 release:
@acdlite @ijjk since you collaborated on those PRs, can you think of a reason why this happens? @reh2ur has also noticed a similar issue since his upgrade to 15.1.0, as he has said here: #73908 (comment) |
Beta Was this translation helpful? Give feedback.
-
We have similar problem. NextJS 15.1.4 For some reason CPU usage and CPU throttling on container go up in time. |
Beta Was this translation helpful? Give feedback.
-
We have a fix in v15.1.6 that potentially can help reduce memory leak issue. Could you upgrade to v15.1.6 to see if memory usage goes down in monitoring? Thanks 🙏 |
Beta Was this translation helpful? Give feedback.
-
✅ i had the same problem to on my linode vps where i find cpu usage very high in the midnight but i discovered there was milicious executable running and using high cpu usage i saw it through htop and it reulted to be a crypto miner✅ How I Removed a Malicious Crypto Miner on My Linux ServerI recently discovered that my Linux system was compromised by a malicious cryptocurrency mining script. Here's how I diagnosed and resolved the issue: 🔎 Step 1: Spotted High CPU Usage with
|
Beta Was this translation helpful? Give feedback.
We landed a patch in https://github.com/vercel/next.js/releases/tag/v15.1.7 related to memory leak. Please upgrade and let us know if that fixes your issue. Thanks 🙏