Replies: 2 comments 9 replies
-
50% CPU usage does sound resonable for a Nominatim import. There are a lot of computations to be done. |
Beta Was this translation helpful? Give feedback.
-
I'm still unclear what exactly these servers are doing when they use so vastly different CPU. I assumed you are talking about the initial import of the database but apparently that is done. So, please be more specific. Do you send search requests? Reverse search requests? Is something else running on these servers? Do you send exactly the same request to both servers or different ones? If they are different, then how many requests does each server handle? And what exactly is 'DB type: dw'? |
Beta Was this translation helpful? Give feedback.
-
Helo! I am in the second installation of a nominatim server, in a VPS of 16gb of RAM, 6 cores of CPU and 400gb SSD. The first installation is consuming only 3% of CPU, the second installation is consuming above 50% of CPU, both servers have the same configuration. I'm using pgtune for better distribution of resources in postgres. The configuration is as follows:
DB Version: 10
OS Type: linux
Total Memory (RAM): 16 GB
CPUs num: 6
Data Storage: ssd
max_connections = 40
shared_buffers = 4GB
effective_cache_size = 12GB
maintenance_work_mem = 2GB
checkpoint_completion_target = 0.9
wal_buffers = 16MB
default_statistics_target = 500
random_page_cost = 1.1
effective_io_concurrency = 200
work_mem = 17476kB
min_wal_size = 4GB
max_wal_size = 16GB
max_worker_processes = 6
max_parallel_workers_per_gather = 3
max_parallel_workers = 6
I have tried to reduce these resources, but still, the CPU consumption does not go down. I also noticed that there are countless open postgres processes, when using the top command
I'm using S.O Ubuntu 18, nominatim 3.5.2
Beta Was this translation helpful? Give feedback.
All reactions