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

postgres queries limited by CPU #20

Open
jmigueldelgado opened this issue Jan 25, 2019 · 1 comment
Open

postgres queries limited by CPU #20

jmigueldelgado opened this issue Jan 25, 2019 · 1 comment
Labels
wontfix This will not be worked on

Comments

@jmigueldelgado
Copy link
Collaborator

jmigueldelgado commented Jan 25, 2019

Currently wms is querying postgres on every zoom and pan operation. Querying and rendering is taking about 10-14 s. When zooming and panning I get the following warning from glances:

                     2019-01-25 14:38:33 (0:00:04) - CRITICAL on CPU_SYSTEM (100.0)
                     2019-01-25 14:38:33 (0:00:16) - WARNING on CPU_USER (86.8)
                     2019-01-25 14:38:04 (0:00:06) - WARNING on CPU_USER (86.6)
                     2019-01-25 14:37:34 (0:00:04) - CRITICAL on CPU_SYSTEM (100.0)
                     2019-01-25 14:37:27 (0:00:04) - CRITICAL on CPU_SYSTEM (100.0)
                     2019-01-25 14:37:27 (0:00:11) - WARNING on CPU_USER (86.8)
                     2019-01-25 14:36:54 (0:00:04) - CRITICAL on CPU_SYSTEM (100.0)

The virtual machine is currently running on 4 cores. I have tried optimizing with work_mem (right now at 8MB, tested 4-64MB) and shared_buffers (128MB right now, tested 512MB) with no visible improvement.

@jmigueldelgado jmigueldelgado changed the title posgres queries are limited by CPU postgres queries limited by CPU Jan 25, 2019
@jmigueldelgado jmigueldelgado added the wontfix This will not be worked on label Feb 20, 2019
@jmigueldelgado
Copy link
Collaborator Author

we need to host this on a better server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant