Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A possible leak when in "standby" mode #151

Open
nikita-volkov opened this issue Mar 3, 2015 · 4 comments
Open

A possible leak when in "standby" mode #151

nikita-volkov opened this issue Mar 3, 2015 · 4 comments

Comments

@nikita-volkov
Copy link

I have a Scotty application. When I start it, the top command shows that it consumes ~ 1% of CPU. If I leave it running and say for a day nobody makes a single request to it, the CPU consumption grows to 25%, and keeps growing if I keep the app running. So it evidences a leak. However, as soon as I make a single request to the app, the CPU consumption drops to initial levels.

@xich
Copy link
Member

xich commented Mar 3, 2015

Interesting. Have you tried doing this with a plain WAI application? That would tell us if the leak is in Scotty or WAI/warp.

@nikita-volkov
Copy link
Author

No, I haven't. I've made a basic analysis of my app and it seems like Scotty is the cause. Possibly, some time later I'll do a more thorough analysis of my app to get to the bottom of this, but I can't promise.

Any way, I think it's best to at least keep this issue open in case somebody else bumps into the same problem, thus confirming that Scotty is the cause.

@chessai
Copy link
Contributor

chessai commented Dec 17, 2019

@nikita-volkov this is a longshot, but do you happen to have a copy of the code or a minimal reproduction available?

@nikita-volkov
Copy link
Author

@chessai No unfortunately

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants