-
Notifications
You must be signed in to change notification settings - Fork 54
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
perf: bblfshd 2.9 non responsive after parsing 1000+ files #226
Comments
Hey @kuba-- thank you for report, this seems to echo the #209 as well.
That would help to understand the the high-level situation better. We have started to look into building a performance baseline for bblfshd recently. |
@bzz - I tried, but no success (totally unresponsive, so even simple ls took forever). |
@kuba-- I would suggest to enable traces (src-d/gitbase#642) and check what the trace of the last call looks like. This won't show the state of the driver pool but will give at least some information about the issue. |
@bzz, @dennwc - I've ran the test against bblfshd v2.10.0 with enabled tracing. Unfortunately I don't see anything more informative. On
On
Jaeger started timing out:
I also attach screenshots from jaegger UI and htop: |
Quick heads up: next upcoming bblfshd release (v2.12?) will include fixes for driver scheduling that are already in the master that should most probably fix this. |
v2.13.0 is out and should fix this. |
No feedback so far, assuming this was fixed. |
Most often the gitbase is tested against following quries:
When bblfsh starts parsing lot of files (so far I can mainly stand for go) quickly becomes unresponsive. It works fine for small number of files ~ 10.
For higher traffic all go drivers were busy, so the next requests timeout (doesn't matter what was the file size):
At some point bblfshd threw an exception:
During handling of the above exception, another exception occurred:
The text was updated successfully, but these errors were encountered: