Solved! Go to Solution.
Hi William,
I've just come across this post regarding slow publishing for map services with raster layers.
I'm experiencing pitiful performance when I publish my map service that contains 4 layers based up different raster catalogues. The paths to the rasters in the catalog are to a UNC share which is visible to and registered with the server. The path to the actual catalog is on the same UNC as the rasters.
The 4 raster catalogs have 56, 815, 2285 and 10951 rasters respectively.
The process is still extremely slow even though analysis confirms that no files need to be copied to the server - the more rasters I have in the catalog the slower this is. Publishing the service takes several hours (2+ hours).
The network is 10Gbps, server is a virtualised (VM Ware) 2-node configuration in a single arcgis server instance each with 40GB RAM and 4 processors. The workstation publishing the service has 128GB RAM, 48-processors and masses of free disk space (>1TB).
Any insight you could lend would be useful.
Craig
Hi Craig,
Have you had any joy with this issue? We are having the same problems with unmanaged raster catalogs with thousands of small tiles taking hours to publish if at all. We are running two arcgis servers (10.1) in a site. Vector data publishes in minutes with no problems. Both servers use a single data store for the rasters and the rasters are access via UNC paths.
I have also tried to publish the data using individual rasters in ArcMap and it takes just as long.
Thanks
Dave
Hi Dave,
I didn't get any response to this posting other than yours.
I've just learned to accept that it is just going to take this long and I work it into my day somehow. Yesterday in fact, I republished the services after some updates and it took just over an 1.5 hours. I believe a Mosaic Dataset would be faster if you have AGS Advanced but we don't (yet) so I can't test this. My catalogues are all unmanaged but I might see what happens if I make them managed?
It would be nice to get a commentary from Esri as to what it is doing when it publishes a raster catalogue. I believe that it's not just testing for the existence of each raster but opening each raster and testing it for something.
Craig
Hi Craig,
Had a bit more of alook into this today and used a managed catalog which published within minutes for the same data. I have been in touch with our ESRI rep here and they going to visit us and work out the issue. Any answer I get I'll let you know. Mosaics are ok but at 10.1 you need the image server extension to publish which we don't have.
Dave
Hi Dave,
I think I've discovered the insanity that is causing this to perform so badly.
During the publication process, ArcGIS appears to be copying (yes, copying!) each raster to a subfolder beneath C:\Users\user\AppData\local\ESRI\Desktop10.1\Staging\connection this is cleaned up at the end but it's a complete waste and (depending on your environment) can impede your ability to publish more than one service at once.
Why it is doing this I do not know nor can I fathom! In my case, this is copying roughly 40GB of data one raster at a time from the shared network file location which is a) registered with the server and b) visible to the server.
If you create a Service Definition without connecting to the server, it still takes as long but there doesn't appear to be any of the copying.
I'd love to know what Esri say about this!
Craig