openstreetmap - Nominatim导入数据导入导致Segmentation fault
问题描述
我有一个 6 核、60GB RAM 和 1TB SSD 空间的 VPS。
我在此处的官方安装之后在 Ubuntu 18.04 上安装了Nominatim
我试图导入位于此处Planet OpenStreetMap的 openstreet 星球 pbf 文件
./utils/setup.php --osm-file planet-latest.osm.pbf --all --osm2pgsql-cache 28000 2>&1 | 三通设置.log
几个小时后,我收到错误 Segmentation fault ERROR: No Data 见下文:
> 2019-11-30 16:50:55 == Setup DB Postgres version found: 10 Postgis
> version found: 2.4 set_config
> ------------
>
> (1 row)
>
> 2019-11-30 16:51:04 == Import data osm2pgsql version 1.2.0 (64 bit id
> space)
>
> Allocating memory for dense node cache Processing: Node(618450k
> 2425.3k/s) Way(0k 0.00k/s) Relation(0 0.00/s) Allocating memory for sparse node cache Sharing dense sparse Node-cache: cache=28000MB,
> maxblocks=448000*65536, allocation method=11 Mid: loading persistent
> node cache from /srv/nominatim/flatnode/flatnode.file Mid: pgsql,
> cache=28000 Setting up table: planet_osm_nodes Setting up table:
> planet_osm_ways Setting up table: planet_osm_rels Processing:
> Node(621390k 2427.3k/s) Way(0k 0.00k/s) Relation(0
> 0.00/s)import-full.style'. Using projection SRS 4326 (Latlong) NOTICE: table "place" does not exist, skipping
>
> Reading in file:
> /srv/nominatim/Nominatim-3.4.0/build/planet-latest.osm.pbf Using PBF
> parser. Processing: Node(5612922k 3148.0k/s) Way(437617k 33.05k/s)
> Relation(0 0.00/s)Segmentation fault ERROR: No Data string(7) "No
> Data"
知道为什么我会收到这个错误吗?谢谢。
解决方案
推荐阅读
- c# - 获取最大值的字节数组
- mysql - mysql版本用shell脚本安装
- google-app-engine - IOError:[Errno 2] 没有这样的文件或目录:'app.yaml'
- go - 将指针重新分配给函数是goroutine安全的吗?
- java - 当我第一次启动应用程序时,用户名为空
- javascript - 如何通过 Angular 6 指令向 dom 元素添加驼峰式属性?
- python - 在多索引数据帧上运行标准差
- android - 无效的模板编译
- vb.net - 如何转换日期格式(SQL Server)?
- ios - 使用macOS Mojave和Xcode 10.0成功构建iOS框架但框架文件为0KB