Select to view content in your preferred language

rd.lock issue with webgisdr

83
1
a week ago
JonathanDandois
Frequent Contributor

Hi all,

I'm running the WebGISDR tool for one of our ArcGIS Enterprise environments (version 11.1). It's been working fine until recently, when I started encountering this error on the Backing Up Server stage

{ "code":500, "messages":[ "Export operation failed. M:\\arcgisserver\\directories\\arcgissystem\\arcgisinput\\[MapServiceName].MapServer\\extracted\\cd\\[somegeodatabase].gdb\\[FeatureClassName].[hash].rd.lock (The process cannot access the file because it is being used by another process)" ], "status":"error" }

 

This is a MapServer for a Hosted layer.

I’ve already:

  • Stopped the associated MapServer service via Server Manager

  • Confirmed the .rd.lock file remains present after stopping the service

  • Attempted to inspect which process holds the lock using Task Manager, PowerShell, and Process Explorer (even as Administrator), but cannot see command-line details for any ArcSOC.exe processes

  • Restarted the ArcGIS Server service entirely — still no success

Has anyone else seen this behavior where a .rd.lock file in the extracted service workspace causes the WebGISDR export to fail, even after the service is stopped?

Any advice on how to track down or forcefully release this lock safely? Would love to avoid a recurring restart of Server just for this. 

Thanks.

Tags (2)
0 Kudos
1 Reply
JustinMallinckrodt
Esri Contributor

Hello Jonathan,

You should be able to do step 1 (Stopped the associated MapServer service via Server Manage). Then attempt to delete the rd.lock file. If it cannot be deleted, something is keeping that file in use. Hopefully it can be deleted, and then it should allow you to complete the backup. This is not expected behavior, but lock files sometimes do require manual deletion.

0 Kudos