Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Sporadic Performance issues with 1.1 #221
This is a tracking issue for some unreasonably long
Some preliminary strace runs reveal severe hangups here:
Namely here, note the entire 2 minute delay:
And in particular:
Something is trying to poll a file handle, this could be symptomatic and not causal. We need Python profiling ala
It's important to note here that we initially thought this was due to running containers inside a VM (particularly quads_db / mongo) and although we see it less testing directly in a VM via RPM against latest master c72d9b2 we still do see it there.
Update: After running some profiling with
Here is what I've found so far:
Symptoms / cause:
Why is this an issue for QUADS
We use the paramiko libraries which make calls to libsodium / nacl bindings.
It's entirely possible that we only hit a lack of entropy because at the time in testing/using QUADS 1.1/master code we're not running the scheduling processes and tasks as we normally would, but we don't want users to experience this on first trying things out and get discouraged.
Switching to (or telling others) to use the
As amusing as it would be to have a valid excuse to run a service that just loops opening/closing a CD-ROM or some other behavior that makes the bare-metal system appear haunted to provide more entropy, passing it to the VM guest is probably not the best solution. This would be hilarious though, maybe we'll do this anyway.