-
Notifications
You must be signed in to change notification settings - Fork 0
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
Discovery is inexplicably slow #87
Comments
Running locally doesn't have this problem even on the same beacons. Maybe the application running on the server is out of date? |
There's no error in the server logs, that's worrying:
Noticed that the server version isn't very up to date, updated it and tried it out with this concept query:
And things appear to be working properly now: https://kba.ncats.io/concepts/status/GHzWxS9Som7azhx2C5wd |
Bug has come back. KBA appears to have been using a massive amount of the CPU: top - 18:41:14 up 225 days, 16:06, 2 users, load average: 9.09, 9.06, 8.96
Tasks: 255 total, 2 running, 253 sleeping, 0 stopped, 0 zombie
%Cpu(s): 56.5 us, 0.3 sy, 0.0 ni, 43.2 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 65963760 total, 13862524 free, 31716400 used, 20384836 buff/cache
KiB Swap: 0 total, 0 free, 0 used. 33255776 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
18074 root 20 0 18.056g 7.811g 11040 S 796.0 12.4 45067:57 java I stopped and restarted the container and top no longer reported this CPU usage, and the bug once again disappeared. |
The issue appears to be that clique building runs the maximum number of threads. On the server the number of threads seems to max out at 48, and any queries I try to initiate after that do not do anything. |
I posted a concept query with keywords=["phone"]. I left it alone for a few minutes, and coming back still no data was discovered: https://kba.ncats.io/concepts/status/E5wH3pLwZ3AM3oE1JTEl. Then I went to one of the beacons and tried the same query (https://kba.ncats.io/beacon/rkb/concepts?keywords=phone&size=1000) and data came back almost immediately.
The text was updated successfully, but these errors were encountered: