[mapserver-users] How much memory is required to seed tiles?

parsis presswala parsispresswala at gmail.com
Mon Jan 28 20:25:21 PST 2019


Hello,
I am running mapserver on 61 GB RAM and cpu of 8 core.
When I am trying to seed the tiles it is showing me following error.

I am seeding tiles with following command:
mapcache_seed -c /etc/apache2/mapcache.xml -t asia-tileset -g grid2 -n 4 -z
3,3

failed to seed tile z3,x0,y0:
curl failed to request url
http://13.126.201.198/cgi-bin/mapserv?VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&STYLES=&BBOX=-20428865.584820%2c-20428865.584820%2c20428866.270399%2c20428866.270399&WIDTH=2088&HEIGHT=2088&FORMAT=image%2fpng&SRS=EPSG%3a3857&LAYERS=osm_new_admin%2cosm_new_adminocean%2cosm_new_landusages%2cosm_new_water%2cbuildings%2caeroway%2cosm_new_waterways%2cosm_new_railways%2cplanet_osm_roads%2cplanet_osm_roads_line%2cosm_new_railways1%2ccountry_line%2ccountry_line_claim%2cstate_line%2cmotorway_label%2cmainroad_label%2cminorroad_label%2cosm_new_railways_symbol%2cplace-country%2cplace-state%2cplace-city%2cplace-town%2cplace-Suburb%2cplace-village%2cplace-locality%2carea_label%2caerodrome_label%2cwaterway_label%2cwaterarea_label%2cpoi_pointlabel&MAP=%2fhome%2fubuntu%2fworldmap%2fasiamap.map
:
The requested URL returned error: 504 Gateway Timeout

aborting seed as 100.0% of the last 1000 requests failed

I was seeding tiles successfully when I have only two continents (asia +
central america) in database.But as I insert other continents in database I
am getting error.


Here is my mapfile.

http://13.126.201.198/asiamap.map

I have used MAXSCALEDENOM and MINSCALEDENOM in every layer. Here is my
mapfile. What should I change in it?

I haven't use  https://github.com/mapserver/basemaps , I have created on my
own.


Can I generate tiles with same configurations?


Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20190129/8b0e71a8/attachment.html>


More information about the mapserver-users mailing list