Skip to content
This repository was archived by the owner on Jul 30, 2020. It is now read-only.

querydb process pegs CPU #82

Closed
jaelsasser opened this issue Nov 24, 2017 · 4 comments
Closed

querydb process pegs CPU #82

jaelsasser opened this issue Nov 24, 2017 · 4 comments

Comments

@jaelsasser
Copy link
Contributor

I've got two querydb processes on my system stuck in what looks like a tight loop calling xstat. Unfortunately I don't have debug symbols for the binary, but I profiled it and dumped the flamegraph, which should give some idea of where cquery's spending its time.

screen shot 2017-11-23 at 17 18 37

querydb-flamegraph.svg.zip

@MaskRay
Copy link
Contributor

MaskRay commented Dec 8, 2017

Is it still reproducible? Or just an instance of #43 (comment) ?

@jaelsasser
Copy link
Contributor Author

I'm betting that #43 will solve this, but I'll nuke the cache files for some of my larger projects and keep an eye out for a repro tomorrow.

@MaskRay
Copy link
Contributor

MaskRay commented Dec 15, 2017

Has this been resolved?

@jaelsasser
Copy link
Contributor Author

Sorry, busy week at work. Haven’t been able to reproduce, I think the added serialization fixed did the trick.

Thanks for the fix!

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

No branches or pull requests

2 participants