Comments (6)
This error is not related to Nominatim. Your postgres DB is corrupted, might be due to a crash or due to a disc fault.
from nominatim.
I renamed the existing nominatim database in postgres to nominatim_old before trying to load again. So the DB was created new by the import. The old DB still works when I rename it back, so I wonder ...
from nominatim.
Well, yes, I would expect it to still work. If the newly created DB hit a bad sector on your disc, then this won't have any effect on the old DB.
If you don't want to overwrite the old DB you can also make the new import in a DB with a different name. Simply add @define('CONST_Database_DSN', 'pgsql://@/whatevername');
to your local.php settings. But renaming works just as well.
from nominatim.
Thanks.
Actually, I think the I/O error was a memory issue. I increased PGs shared memory a bit, now it seems to import fine.
from nominatim.
Yes it was a memory issue, 2GB shared memory for PG wasn't enough, the rebuild worked with 4GB now.
from nominatim.
Glad it worked. But I'm a bit surprised that insufficient memory should result in an IO error. It would probably be wise to test both your RAM and disc for hardware errors nonetheless, just to avoid nasty surprises later.
from nominatim.
Related Issues (20)
- Python frontend takes long time to processes certain queries and returns 500 error to the user HOT 5
- /reverse response missing ZIP code in Des Moines HOT 1
- Wrong ZIP code returned for southwest Berkeley HOT 4
- DeadLock while running whole planet build HOT 9
- amenity=university should be handled like a landuse (campus) instead of a POI HOT 12
- "Nominatum lite" for reverse geocoding only?
- How to update Map Data of Nominatim 2.5 on Red Hat Linux 7?
- is there any way to check data is property index without missing any data
- Long running query during import process(more than 10.hrs) HOT 4
- Strange issue in Wildschönau HOT 5
- Curious issue in Wildschönau HOT 1
- 实际返回地址的经纬度与查询时的经纬度不一致 HOT 2
- U.S. ZIP Code 5 Plus 4 (also known as ZIP+4) Broken/Misunderstood HOT 2
- Word tokens with cardinal abbreviations not being assigned to addresses HOT 3
- SQL queries on python debug output are mangled HOT 1
- Search issue with addr:flats and addr:housename HOT 2
- New GB postcode Feb 2024 files HOT 1
- "nominatim refresh --word-counts" breaks the database after recent commit HOT 1
- Update location information HOT 2
- Switch to new osm2pgsql middle
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nominatim.