I built a Nominatim Server on GCP with 128 GB of RAM and 950 GB SSD. I finished the initial import of the pbf data, created all the indexes and search indices. Now I'm trying to tune the db, but it's saying I don't have enough disk space. How much more disk space do I need to re-calibrate the word frequencies?


sudo -u $USERNAME -H sh -c "$BUILD_UTILS/update.php --recompute-word-counts"


ERROR:  could not extend file "base/16386/13231037.2": wrote only 4096 of 8192 bytes at block 302206
HINT:  Check free disk space.


After allocating more disk space, I'm getting this error -

ERROR:  could not write to file "base/pgsql_tmp/pgsql_tmp3657.4": No space left on device

asked 15 Sep '20, 17:14

rirhun's gravatar image

accept rate: 0%

edited 15 Sep '20, 17:37

The output will be about 7GB, I don't know how much the temporary table during the processing will take. You can delete the planet.pbf file you imported, that's no longer needed, will free 65GB on the harddrive.

permanent link

answered 15 Sep '20, 17:23

mtmail's gravatar image

accept rate: 29%

Thanks for the lightning fast response @mtmail.

I already deleted the planet.pbf file so I would like to think that I have more than enough space left.

(15 Sep '20, 17:25) rirhun

It was a partition issue. I had to resize the partition from the VM and it seems to be ok now.

permanent link

answered 15 Sep '20, 21:18

rirhun's gravatar image

accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 15 Sep '20, 17:14

question was seen: 820 times

last updated: 15 Sep '20, 21:18

powered by OSQA