RSCs Server Side Memory Leak Issue #80795
Unanswered
LikeDreamwalker
asked this question in
Help
Replies: 2 comments
-
I have built up a monitor for my online site read only, so anyone who is interested in this, you can visit this site to read some basic info about this memory leak issue |
Beta Was this translation helpful? Give feedback.
0 replies
-
Also to make a little clarify that my app will work with the real service in the same deploy machine, where they use the HTTP directly, so for the TLS Socket looks more like the connection between the client side with my server side using HTTPS proxy directly, still I think the best shot is the RSC Streaming or the Server Action. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I am investigating a Next.js memory leak issue on the server side, and what now I have confirmed, that main reason of memory leak comes from the TLS Sockets, where I find that for the normal Sockets will be opened but removed finally on my server side, but not the TLS Sockets. And for the worst after running in 2 weeks, I got nearly over 3000+ TLS Sockets still open and bring my Next.js container uses over 5GB memory.
And now I am highly suspicious that I have done something wrong with the RSC and app router, but I can't figure out the specific code parts or reasons. All my routes works as expected but just still receiving this issue.
Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions