My ArcGIS Server services are locking tables in SDE. This is a problem if I need to edit or overwrite them. Unfortunately the locks don't go away upon stopping the services. The only solution I have found is to restart the Linux arcsde service, which has many implications. Is there a better way to lose these phantom locks?

  • Are spatially-enabled views an option? They've worked well for me in cases where I can't have a table locked. – Roger D. Jul 31 '10 at 16:15

Tell ArcGIS Server not to make those locks.

In your service cfg files, add this:


ESRI does not recommend this practice, but it should work for you. I did this for a bunch of really big services that required a massive (thousands of layers) data update while still running.

For more info, refer to the ESRI docs.

  • It worked! Restarting map services + SDE was not enough for the changes to take effect. I also had to restart AGS + IIS. (Not sure whether AGS or IIS was the problem, but I figure either one could be caching the XML content.) – nw1 Jul 30 '10 at 14:56

At the UC ESRI was in fact recommending the use of the tag, so long as you carefully consider the "Use caution..." paragraph in the documentation.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.