I'd humbly like to offer my 2-cents, if I may. I found that when I have a failed tile cache update job, similar (if not identical) to the problem listed on this thread I do the following:
My plan for preventing this issue, until I can install the 'Map Cache Consumption' patch, is (via python script ran by a scheduled task late at night):
I think that, once the temp/lock files are removed and after 'bouncing' the ArcGIS Server service, the update process should run successfully - if no one is consuming the tiles of the service in question. I could be wrong - it's only been 3 or 4 successful updates using this method - but so far it looks promising. NOTE: I am running ArcGIS for Server v10.2.2, Windows 2008 R2 OS, single server deployment.
- Robb
Question for cache experts:
Do you think that the caching performance has increased between 10.0 and 10.2? I ask because the same cache update in 10.2.2 is taking twice as long as the existing process that is still occurring with a cached v10.0 mapservice.
I am still having this problem at 10.3.1 using UNC paths
Really? I don't know what to say. My caching has been very stable at 10.3 since applying the ArcGIS 10.3 for Server Map Consumption patch and subsequently at 10.3.1. I have not had to change to drive-letter paths, and even my maplex-engine basemap service is caching well.
Jeff,
We also still have this issue in 10.3.1 but we are still using the 10.2.2 compact cache format and we hoping it was fixed but does not seem to be the case. It appears instead of fixing the problem with the compact cache, a new cache format was created in 10.3. Are you using the new 10.3.1 cache format?
Is there a patch for this issue at 10.3.1? Or is the fix supposed to be built into the software?
Hola, les comento que nos sucede lo mismo que a ustedes sobre ArcGis 10.1 Sp1, Windows Server 2012 R2, direct conect contra 11G
Tenemos 3 mensajes detectados:
-ERROR: @ Error HRESULT E_FAIL has been returned from a call to a COM component.
-INFO: Failed to cache extent: -58.128823 -29.225041 -58.040981 -29.147969 at scale 250000 The index was either too large or too small.
-INFO: Field is not editable.
incluso, a veces nos responde:
INFO: Succeeded at Mon Sep 28 14:43:20 2015 (Elapsed Time: 1 minutes 3 seconds)
y en realidad no genero los datos.
¿Alguno encontro una forma de trabajo para evitarlo.?
Saludos,
Anibal Martinez
Telecom Argentina
Hi Anibal - is your server environment still at 10.1?
Hola David, terminamos de migrar desde 9.3.1 hace 30 días. El proyecto nos demando mas de 8 meses, dado la gran cantidad de desarrollo que tenemos sobre lo openthebox. Esto recién comienza.
En este breve tiempo que seguimos investigando, hemos logrado reproducir el error en el ambiente de Desarrollo a demanda. Si se crea un cache y en simultaneo consumís la escala que se esta cacheando (ej paning), ocurre este isue.
Evidentemente es un problema de concurrencia al directorio cache con los archivos (*.bundlx , *.freelist, *.bundle y .bundle.lock).
Saludos,
Anibal Martinez
Telecom Argentina
Correct.
Caching services under load at 10.1 persist locks on the bundle exchange files, preventing bundles from moving and causing caches to fail. The only way I could maintain caches at 10.1 and 10.2 was to create a duplicate service with a new cache for each service, and then move it's bundles into the existing cache folders via Windows xcopy or something.
If at all possible move to 10.3 or better, to 10.3.1 and these problems will disappear.
Cheers-
David