Ronnie:
Thank you for getting back to me so quickly on this thread and providing your advice and insight (This is the power of these forums).
I do have a follow up question based on your response. Do you need to keep load off the entire server or just the mapservice that is being cached as there is quite a difference in the procedure to accomplish one or the other option?
Thank you for your assistance on this matter.
Michael, Ronnie - I suggest regardless of where you try to build the cache, secure the service first. That way it cannot appear in the rest and has no chance of being accessed while the cache is running
David
Dave:
Did you get a notification from ESRI about a patch for this bug in v10.2.2? Do you have the ability to test caching in the v10.2.2 environment anymore?
I did not see a patch for v10.3 though.
Michael-
No I did not and sorry I no I don't have the ability to cache in 10.2.2. I did however find that I still receive a bundle move error when recreating all tiles if those tiles have not been deleted first. I've adopted that as part of my workflow for 10.3:
Secure Service
Delete Tiles
Recreate all tiles (full)
Rercreat all tiles (aoi)
Unsecure Service (ie make public)
so it's 5 scripts in 3 tasks.
David
Note on ArcGIS 10.2.2 for Server Map Cache Consumption Patch | Samples and Utilities
This patch from March 30th is for BUG-000082467 not NIM104348. However, I gave it a try to see if it would also address this issue.
First, I tried to update an area of interest using Manage Map Server Cache Tiles on a bundled tiled service that is often under load (though the specific area that I was updating is not necessarily likely to have been in use at the time) I Got the error, "Output failure, error string = Error moving bundle"
I installed this patch on both machines in a cluster (10.2.2)
I reran the Manage Map Server Cache Tiles. Low a behold, it worked.
So, I guess more testing is in order.
That's great Matt. Unfortunately I'm already at 10.3 so no help. Now if they would release one for 10.3 that would be great
I've just been informed by @David Crosby that the same patch will be incorporated into the 10.3.1 impending release
Matt,
This is great thanks for letting us know. We applied this to our environment and it seems to working for us. Amazing how cool caching is when it actually works and none of the silly work-a-rounds have to be initiated. Is ArcGIS the only software package that we all clap when it works? Whew finally that is fixed now we wait for the 10.3.1 release
Sure wish I heard this news from ESRI because we are on the bug watch list. That system needs to improve since we reported this issue last summer around the same time David reported it AND we should not have to report an issue to be aware of it. This information should be readily available and subscriptions to interested parties.
Ronnie:
This is an E-mail I received from an ESRI representative on 3/30/0215:
"
I’m writing because you’ve been attached to the following
bug:
[#NIM104348 In ArcGIS Server 10.2.2, you're unable to
re-cache tiles while the existing tiles are being accessed.]
Esri has today released a patch for a similar, but different
issue:
ArcGIS
10.2.2 for Server Map Cache Consumption Patch
http://support.esri.com/en/downloads/patches-servicepacks/view/productid/66/metaid/2191
This patch was built specifically to address the following
bug:
[#BUG-000082467 ArcGIS for
Server opens a large number of files and does not release the file handles when
serving cached services.]
We believe that the patch for BUG-000082467 *MAY*
also help to address the issues reported as NIM104348.
We recommend that all users currently at ArcGIS for Server
10.2.2 apply this patch. Patches for other versions (10.2.1, 10.3) will be
released soon.
As you were added to NIM104348, I’d like to solicit your
feedback and input regarding the efficacy of this patch in terms of the cache
generation process by asking you to re-test failing caching workflows with this
patch installed.
If the results from the users asked to test this workflow are positive, we will update the patch details to also list [#NIM104348 In ArcGIS Server 10.2.2, you're unable to re-cache tiles while the existing tiles are being accessed.]
We very much value your input, please let me
know if you have any questions at all."
I'm not sure why you did not get this alert if you were on the bug list.
Matt- I'd like to mark your reply as the correct reply to this long, long thread but unfortunately I didn't post this discussion as question. Nevertheless, the ArcGIS
10.2.2 for Server Map Cache Consumption Patch
is the answer.
After applying the patch, caches are now created using any tile management method and whether under load or not, cache directories are now renamed along with the service if a cached service is renamed, and service overwrites with a cache in place no longer leave behind a temp service.
Same at 10.3.
Thank you ESRI, I would consider this thread complete.
David