[mapserver-users] mapcache seed speed optimization

2019-11-08 Thread Sebastiano Laini
Hi all, I'm evaluating new stacks but seems that I'm stuck with mapserver and mapcache due to the input source of our maps, so I'm trying to improve the speed of the mapserver/mapcache stack and what I cannot improve is the seed speed. The -n and -p parameters seems to be useless. -n | -nthrea

Re: [mapserver-users] mapcache seed speed optimization

2019-11-08 Thread Yves Jacolin
Sebastiano, Some though in my mind: * –n 2 : do you really have 2'000 CPU on your WMS server? if not, it could be worst than better, flooding your WMS server. * what is the bottleneck? If WMS server is slow you can't make MapCache faster, you should optimise WMS Server. Multi-domain can help,

Re: [mapserver-users] mapcache seed speed optimization

2019-11-08 Thread Rahkonen Jukka (MML)
Hi, When you seed tiles from WMS the slowest component is usually the WMS server. And what the WMS server is spending its time is usually rendering. And what makes rendering slow is usually that you render too much, and sometimes that WMS server gets the vector data too slow because the backend

Re: [mapserver-users] mapcache seed speed optimization

2019-11-08 Thread Sebastiano Laini
My MapServer is on the same server as MapCache and my network is pretty fast. I was just trying to experiment with the -n and -p value and checking the CPU load and I didn't seen any difference, but now that I read the responses I'm trying -n 6 and the CPU and the RAM is more in use now and seem

Re: [mapserver-users] mapcache seed speed optimization

2019-11-08 Thread Rahkonen Jukka (MML)
Hi, You can see examples about how to debug and improve the rendering speed with Mapserver in the presentation of Lars Schylberg https://media.ccc.de/v/bucharest-271-mapserver-optimize-for-performance. Your maps look pretty and I hope you will find some bottleneck layers so you can make them f

Re: [mapserver-users] mapcache seed speed optimization

2019-11-08 Thread Sebastiano Laini
Thanks, I'll take a look at it :), What should be maxsize to seed? Before was 2084 with 8 8 metatiles now is 4096 with 16 16 metatiles I found some of the problematic layers, some of them take 4 to 6 seconds in TAB files, while the same layer in raster take 40ms, we just need to find another

Re: [mapserver-users] mapcache seed speed optimization

2019-11-08 Thread Sebastiano Laini
We don't create the data, we rely on OS (ordnance survey) to supply us the maps files and then we publish them in our service but I assume that probably we will need to create some flow to improve it or download it in other format that is faster. Sebastiano Laini Web Developer Buchanan Computin

[mapserver-users] OpenLayers Zoom Selected Feature

2019-11-08 Thread StefanWebViewer
In our OpenLayer.js we first call the maximum extent of the map: "maxExtent: new OpenLayers.Bounds (X1, Y1, X2, Y2)," on. After the layer definition follows "map.addLayers ([lyr1, layer3, layer4]);" and "map.zoomToMaxExtent ();". In between, the variable for "OpenLayers.Control.GetFeature" is defi

[mapserver-users] mapserv on IIS 10

2019-11-08 Thread Richard Greenwood
I used the the excellent instructions at https://mapserver.org/installation/iis.html to setup MapServer on WIndows Server 2019, IIS 10, FastCGI. It works, but it's not seeing my environment variables. I don't usually run MapServer on Windows but in this case it's a requirement. In previous IIS inst