Hi Fabio, There is no way to flush (effectively delete) a file from the cache. We have talked about providing such a feature but didn't have a use case for it. Anyway, I assume you are logging into the Xcache server and physically removing the files. As long as you do that when no one is using the file a subsequent xrdcp should not hang. So, I suspect the timing was a bit off or I don't understand the actual steps you were taking. Andy On Tue, 12 Apr 2022, Fabio Andrijauskas wrote: > Hi Folks, > > I am improving the Xrootd cache monitoring on OSG, and I would like to > check if the cache can provide a cached file and if the cache can fetch a > file from the origin. To check the origin cache process, I want to delete a > specific file on the cache and request this file on the client, in that way > forcing the cache to fetch the origin file. > > I am deleting 4 files, two links, and two files related to this > cached file. However, when I do that, the xrdcopy process hangs and > timeout. So, I need to restart the cache to back to the regular operation. > > What is the right way to force the cache to fetch a file on the origin? > > > > *--Fábio Andrijauskas* > > ######################################################################## > Use REPLY-ALL to reply to list > > To unsubscribe from the XROOTD-L list, click the following link: > https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1 > ######################################################################## Use REPLY-ALL to reply to list To unsubscribe from the XROOTD-L list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1