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

Its never too busy.. #33

Open
matejkramny opened this issue Apr 9, 2014 · 3 comments
Open

Its never too busy.. #33

matejkramny opened this issue Apr 9, 2014 · 3 comments

Comments

@matejkramny
Copy link

I have a beefy server.. On my laptop (an older mbp), i have to disable toobusy because its always busy.

But to monitor (and prove) that its never busy on the server, although it is, but toobusy never detects it.
I made all requests log to mongodb, which includes stats like in pics (also toobusy.lag()). Mongodb aggregates to every second and streams back via a websocket.

This is what I got:
screen shot 2014-04-09 at 19 06 02
screen shot 2014-04-09 at 19 06 21

Any advice?
even if i set the threshold to 10, it still doesn't hit it.

@matejkramny
Copy link
Author

I've also been watching top.. The process is > 90% CPU.

@pocesar
Copy link

pocesar commented Apr 9, 2014

does the same happen with https://github.com/STRML/node-toobusy? this version seem to be unmaintained

@matejkramny
Copy link
Author

Hmm that raised the lag number a bit, but never went over 10 (which is minimum). The server has many cores, could that be why? The CPU was 97% for a long time and responses were taking > 1.5s.

I've tested the theory myself on the server, and the lag between intervals is always between 0-3 therefore I don't think this concept will work for me.

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

No branches or pull requests

2 participants