Comments (5)
This is code that needs a throttle for open filehandles (that or something isn't closing its filehandles properly...)
from go-whosonfirst-concordances.
Work in progress (in the throttle
branch) but:
./bin/wof-concordances-list -mode directory /usr/local/data/whosonfirst-data/data
17:42:49.679310 [wof-concordances-list][index] STATUS time to index directory '/usr/local/data/whosonfirst-data/data' 7m8.20271976s
17:42:49.679380 [wof-concordances-list][index] STATUS time to index path '/usr/local/data/whosonfirst-data/data' 7m8.20281376s
17:42:49.679385 [wof-concordances-list][index] STATUS time to index paths (1) 7m8.202819701s
faa:code,inegi:id,icao,latimes:id,ne:sov_a3,nyt:id,id,hasc,marc:id,4sq:id,iata,qs:id,wk:page,tgn:id,gaul:id,wmo:id,uncrt:id,qs_pg:id,oa:id,fifa:id,fips:code,unlc:id,m49:code,itu:id,mzb:id,loc:id,sg:id,icao:code,fct:id,dbp:id,iso:id,iata:code,gn:id,gp:id,wd:id,fb:id,ioc:id,wikipedia,wikidata,hasc:id,woe:id,ne:adm0_a3
from go-whosonfirst-concordances.
/usr/local/mapzen/go-whosonfirst-concordances/bin/wof-build-concordances
21:06:49.822595 [wof-build-concordances][index] STATUS time to index directory '/usr/local/data/whosonfirst-data/data' 7m36.481430822s
21:06:49.823893 [wof-build-concordances][index] STATUS time to index path '/usr/local/data/whosonfirst-data' 7m36.483274777s
21:06:49.824086 [wof-build-concordances][index] STATUS time to index paths (1) 7m36.483288595s
21:14:59.723679 [wof-build-concordances][index] STATUS time to index directory '/usr/local/data/whosonfirst-data/data' 8m9.888069042s
21:14:59.723693 [wof-build-concordances][index] STATUS time to index path '/usr/local/data/whosonfirst-data' 8m9.888107767s
wc -l meta/wof-concordances-latest.csv
620197 meta/wof-concordances-latest.csv
I am going to fix issue #5 as part of this ticket...
from go-whosonfirst-concordances.
Should work now. I was able to generate concordances on a local laptop...
/usr/local/mapzen/go-whosonfirst-concordances/bin/wof-build-concordances
22:10:14.523610 [wof-build-concordances][index] STATUS time to index directory '/usr/local/data/whosonfirst-data/data' 6m55.427472911s
22:10:14.526101 [wof-build-concordances][index] STATUS time to index path '/usr/local/data/whosonfirst-data' 6m55.430806041s
22:10:14.526111 [wof-build-concordances][index] STATUS time to index paths (1) 6m55.430824218s
wc -l meta/wof-concordances-latest.csv
620217 meta/wof-concordances-latest.csv
from go-whosonfirst-concordances.
Confirmed. Thanks!
from go-whosonfirst-concordances.
Related Issues (5)
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 go-whosonfirst-concordances.