This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Copy operation timed out while rendering vector tiles

0

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


2 Answers:

2

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.

answered 29 Jun '17, 11:46

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

edited 29 Jun '17, 14:50

0

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.

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

Source code available on GitHub .