<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Publishing map services containing rasters very slow in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-map-services-containing-rasters-very/m-p/203436#M7960</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Craig,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also tried to publish the data using individual rasters in ArcMap and it takes just as long.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Oct 2014 16:48:24 GMT</pubDate>
    <dc:creator>DaveBarrett</dc:creator>
    <dc:date>2014-10-13T16:48:24Z</dc:date>
    <item>
      <title>Publishing map services containing rasters very slow</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-map-services-containing-rasters-very/m-p/203429#M7953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We're on ArcGIS Server 10.1 and find that publishing any map servcies that contain raster layers is very slow (an increases with the number of ratser layers in the map).&amp;nbsp; Publishing vector-only map servcie by comparison is extremely rapid.&amp;nbsp; We're not copying data to the server when publishing or creating caches.&amp;nbsp; It seems like the publishing should just be a simple process.&amp;nbsp; Where we use image services we have no comparable issues but this is not always possibel or preferred.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas on how we can speed up publishing?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 15:27:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-map-services-containing-rasters-very/m-p/203429#M7953</guid>
      <dc:creator>SimonRoss_User</dc:creator>
      <dc:date>2013-12-12T15:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing map services containing rasters very slow</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-map-services-containing-rasters-very/m-p/203430#M7954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You've analyzed the mapservice during publishing to make sure the raster location is registered with AGS so the rasters do not get copied to the server?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 15:48:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-map-services-containing-rasters-very/m-p/203430#M7954</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2013-12-12T15:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing map services containing rasters very slow</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-map-services-containing-rasters-very/m-p/203431#M7955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;By "raster layers" are you referring to raster datasets, raster catalogs, mosaic datasets, or individual images in TIFF, IMG, JPG, or some other format?&amp;nbsp; What type of storage location is being used for the raster layer sources (RDBMS vs. file system)?&amp;nbsp; Do the layers take the same amount of time to draw in the map document as they do when rendering the service?&amp;nbsp; For your map service, is it being served dynamically or is it cached?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 16:21:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-map-services-containing-rasters-very/m-p/203431#M7955</guid>
      <dc:creator>WilliamCraft</dc:creator>
      <dc:date>2013-12-12T16:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing map services containing rasters very slow</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-map-services-containing-rasters-very/m-p/203432#M7956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are definitely not copying data to the server when publishing.&amp;nbsp; This issue occurs with any raster we've tried including the following:&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;file based rasters - TIFF and JPEG&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mosaic datasets (file based images)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;unmanaged raster catalogs&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just tried doing this with a raster catalog this mornign and after about 3 hours theservcie publishing result (in ArcGIS Desktop) came back as ERROR 001269: Compressing the Service Definition Failed.&amp;nbsp; Haven't had a chance to look up what this means yet.&amp;nbsp; Previously when working with raster layers it has always published eventually&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 17:09:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-map-services-containing-rasters-very/m-p/203432#M7956</guid>
      <dc:creator>SimonRoss_User</dc:creator>
      <dc:date>2013-12-12T17:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing map services containing rasters very slow</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-map-services-containing-rasters-very/m-p/203433#M7957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The error you are reporting indicates the following based on Esri's help: "Make sure you are not accessing files in the folder containing the service definition."&amp;nbsp; Is it possible that someone had one of the raster images open during the attempt to publish?&amp;nbsp; If you're running Windows 7, 8, or 2008 R2 the go to the Start menu and type fsmgmt.msc, hit enter, and click on the Open Files node.&amp;nbsp; If any of your rasters are showing as open, then mass select them and right click them to Close.&amp;nbsp; It's possible that some of those files are locked by another process that should have been terminated, perhaps leading to issues with publishing.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regarding the main issue you reported, can you check the permissions on the directories involved with the raster data on the file system?&amp;nbsp; It may be possible that the logon account used for the AGS Windows Service requires read permission on the source data in order to properly publish.&amp;nbsp; That being said however, the very first thing to make sure of is that the folder(s) containing all of your raster imagery is registered with ArcGIS Server as a data store.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 17:51:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-map-services-containing-rasters-very/m-p/203433#M7957</guid>
      <dc:creator>WilliamCraft</dc:creator>
      <dc:date>2013-12-12T17:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing map services containing rasters very slow</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-map-services-containing-rasters-very/m-p/203434#M7958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;William,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the detailed response - it helped get to the rotue of the problem.&amp;nbsp; The paths within the raster catalog had not been updated (didn't realise that file GDB, unlike PGDB, does not support relative paths).&amp;nbsp; Setting the path to local server drive fixed the issue and published very quickly (we still have slow times with standalone file based rasters but can live with that for the time being)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 19:58:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-map-services-containing-rasters-very/m-p/203434#M7958</guid>
      <dc:creator>SimonRoss_User</dc:creator>
      <dc:date>2013-12-12T19:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing map services containing rasters very slow</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-map-services-containing-rasters-very/m-p/203435#M7959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi William,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've just come across this post regarding slow publishing for map services with raster layers.&lt;/P&gt;&lt;P&gt;I'm experiencing pitiful performance when I publish my map service that contains 4 layers based up different raster catalogues.&amp;nbsp; The paths to the rasters in the catalog are to a UNC share which is visible to and registered with the server.&amp;nbsp; The path to the actual catalog is on the same UNC as the rasters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 4 raster catalogs have 56, 815, 2285 and 10951 rasters respectively.&lt;/P&gt;&lt;P&gt;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.&amp;nbsp; Publishing the service takes several hours (2+ hours).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&amp;nbsp; The workstation publishing the service has 128GB RAM, 48-processors and masses of free disk space (&amp;gt;1TB).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any insight you could lend would be useful.&lt;/P&gt;&lt;P&gt;Craig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 15:05:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-map-services-containing-rasters-very/m-p/203435#M7959</guid>
      <dc:creator>CraigColeman</dc:creator>
      <dc:date>2014-09-15T15:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing map services containing rasters very slow</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-map-services-containing-rasters-very/m-p/203436#M7960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Craig,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also tried to publish the data using individual rasters in ArcMap and it takes just as long.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 16:48:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-map-services-containing-rasters-very/m-p/203436#M7960</guid>
      <dc:creator>DaveBarrett</dc:creator>
      <dc:date>2014-10-13T16:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing map services containing rasters very slow</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-map-services-containing-rasters-very/m-p/203437#M7961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't get any response to this posting other than yours.&lt;/P&gt;&lt;P&gt;I've just learned to accept that it is just going to take this long and I work it into my day somehow.&amp;nbsp; Yesterday in fact, I republished the services after some updates and it took just over an 1.5 hours.&amp;nbsp; I believe a Mosaic Dataset would be faster if you have AGS Advanced but we don't (yet) so I can't test this.&amp;nbsp; My catalogues are all unmanaged but I might see what happens if I make them managed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be nice to get a commentary from Esri as to what it is doing when it publishes a raster catalogue.&amp;nbsp; I believe that it's not just testing for the existence of each raster but opening each raster and testing it for something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Craig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2014 09:15:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-map-services-containing-rasters-very/m-p/203437#M7961</guid>
      <dc:creator>CraigColeman</dc:creator>
      <dc:date>2014-10-14T09:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing map services containing rasters very slow</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-map-services-containing-rasters-very/m-p/203438#M7962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Craig,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2014 17:12:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-map-services-containing-rasters-very/m-p/203438#M7962</guid>
      <dc:creator>DaveBarrett</dc:creator>
      <dc:date>2014-10-14T17:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing map services containing rasters very slow</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-map-services-containing-rasters-very/m-p/203439#M7963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I've discovered the insanity that is causing this to perform so badly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During the publication process, ArcGIS appears to be copying (yes, copying!) each raster to a subfolder beneath C:\Users\&lt;STRONG&gt;&lt;EM&gt;user&lt;/EM&gt;&lt;/STRONG&gt;\AppData\local\ESRI\Desktop10.1\Staging\&lt;STRONG&gt;&lt;EM&gt;connection&lt;/EM&gt;&lt;/STRONG&gt; 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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why it is doing this I do not know nor can I fathom!&amp;nbsp; 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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd love to know what Esri say about this!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Craig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 10:30:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-map-services-containing-rasters-very/m-p/203439#M7963</guid>
      <dc:creator>CraigColeman</dc:creator>
      <dc:date>2014-10-20T10:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing map services containing rasters very slow</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-map-services-containing-rasters-very/m-p/203440#M7964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Craig,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry its taken a while to get back to this, I have been looking into a few working theories and the latest that seems to have some weight to it is the folder depth the rasters are stored in.Too deep and the server won't read it hence using the staging folder. Some of our users have also commented that in some cases arcgis server doesnt seem to register all the subfolders in a registered folder. I haven't had a chance to test this but will post back when I have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 17:26:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publishing-map-services-containing-rasters-very/m-p/203440#M7964</guid>
      <dc:creator>DaveBarrett</dc:creator>
      <dc:date>2014-11-06T17:26:47Z</dc:date>
    </item>
  </channel>
</rss>

