Skip to content
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.

Generation job immediate finish #113

Open
Avadon opened this issue Jul 8, 2019 · 2 comments
Open

Generation job immediate finish #113

Avadon opened this issue Jul 8, 2019 · 2 comments

Comments

@Avadon
Copy link

Avadon commented Jul 8, 2019

Greetings everyone,

I have a strange problem when generation job finishes in less 1 second.

Job screen

Example POST request:

curl -X POST "http://HOSTNAME/add?generatorId=substbasemap&storageId=basemap&zoom=11&fromZoom=11&beforeZoom=12&parts=10&deleteEmpty=true&keepJob=true&checkZoom=-1"

What is the possible reason?

@thesocialdev
Copy link
Contributor

thesocialdev commented Jul 8, 2019

@Avadon does it happen in all zoom levels?

A possible reason I have experienced:

  • Empty OSM database
  • uiOnly enabled

Maybe @nyurik can have a different perspective.

@Avadon
Copy link
Author

Avadon commented Jul 9, 2019

@thesocialdev thanks for the answer. Yep, I've tried the same on different zoom levels.

Postgis DB was definitely not empty, but I have to mention that in the beginning tile generation was OK. But at some point of time all tile generation jobs started to finish immediately. It would be great to have an option for activating more detailed log.

uiOnly was actually enabled, but only in API container. I use scheme with 2 containers:

  tilerator:
    environment:
      - TILERATOR_MODE=api # This service will not process tiles
    volumes:
     - ./tilerator_config:/etc/tilerator
     - ./update_tiles_data:/data/update_tiles_data

  tilerator-worker:
    environment:
      - TILERATOR_NUM_WORKERS=ncpu # Number of workers (or ncpu by default)
    volumes:
     - ./tilerator_config:/etc/tilerator

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants