Code Monkey home page Code Monkey logo

Comments (4)

aberrios85 avatar aberrios85 commented on July 26, 2024

+1

Seen same issue, stops pelias chef recipe completing.

Seen on imports of west-yorkshire and south-yorkshire osm.pbf GBR imports.

from openstreetmap.

cesozgen avatar cesozgen commented on July 26, 2024

Any update or workaround to this?

from openstreetmap.

sevko avatar sevko commented on July 26, 2024

@cesozgen , yes, a quick and very dirty hack: change the module.exports = stats; in /stream/stats.js to module.exports = through.obj;. This will prevent the OSM parser from spitting out ingestion stats (though you'll still see elasticsearch indexer stats), but the process will exit. Here's the reason why:

tl;dr, the OSM ingestion statistics-logging setInterval() isn't getting clearInterval()'d.

The stats module exports a stream that tracks the number of records that pass through, and stores the total number of such streams instantiated globally. The counter is incremented on pipe and decremented on unpipe events respectively: the interval gets set when the first pipe's created and torn down when the last one's closed, which is inferenced from the value of the counter. It turns out that the number of pipes and unpipes detected is !=, meaning that the counter doesn't drop to 0 like it should.

from openstreetmap.

missinglink avatar missinglink commented on July 26, 2024

resolved by #27

from openstreetmap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.