NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi,

Got below error while rendering vector tiles for 6th or above zoom levels.

Error: Copy operation timed out
at Timeout.<anonymous> (/usr/local/lib/node_modules/tilelive/lib/tilelive.js:390.22)
at Timeout.wrapper (timer.js:408:11) at tryOnTimeOut (timer.js:224:11)
at Timer.listOnTimeout (timer.js:198:5)

Command executing that time:

/usr/local/bin/tilelive-copy —scheme=pyramid —bounds=-180, -85, 180, 85 —timeout=1800000 —minzoom=4 —maxzoom=6 tmsource://tmp/project mbtiles:///data/export/tiles.mbtiles

Kindly help us to solve this issue.

Note: Searched in google & got this unanswered issue from git:
https://github.com/mapbox/tilelive/issues/158

asked 29 Jun '17, 11:23

Rajavelu_M's gravatar image

Rajavelu_M
253454858
accept rate: 33%

edited 29 Jun '17, 11:27


I believe you have already found the answer: you need to either ask or potentially pay MapBox to fix the issue or fix it yourself https://github.com/mapbox/tilelive/issues You are using OSS that the authors and maintainers don't seem to be willing to maintain outside of their own needs and don't want to provide free support for, but given that it is OSS you can either investigate and fix the issue yourself or pay somebody to do so, completely without involving MapBox at all.

TANSTAAFL.

Now if this was community developed and/or maintained software the situation would be slightly different.

permanent link

answered 29 Jun '17, 11:46

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

edited 29 Jun '17, 14:50

Your command has a timeout of 30 minutes, which should be very long for one tile, however maybe you have a really really complicated & slow to render project/style. Does the timeout happen after ~ 30 minutes or does it happen after less than 30 minutes? One approach could be to increase the timeout ever more. Or you can improve your style. Maybe you're missing some database indexes which might make it go faster.

permanent link

answered 03 Jul '17, 14:41

rorym's gravatar image

rorym
5.4k1449100
accept rate: 11%

@rorym: This timeout happening after 5 minutes.

(04 Jul '17, 06:02) Rajavelu_M

Oh that doesn't sound right then. Sorry I don't know how to help, unless you dive into the javascript source code.

(04 Jul '17, 08:48) rorym

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×440
×287
×204
×45
×18

question asked: 29 Jun '17, 11:23

question was seen: 3,512 times

last updated: 04 Jul '17, 08:48

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum