Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Warning during Online Revision Cleanup in AEM 6.3.2

Avatar

Level 1

We could find some warnings when the online revision cleanup process is running. Please find the sample logs below

WARN [org.apache.jackrabbit.oak.segment.file.FileReaper] Unable to remove file rootpath\crx-quickstart\opt\helpers\..\..\repository\segmentstore\data00497a.tar java.nio.file.FileSystemException: rootpath\crx-quickstart\opt\helpers\..\..\repository\segmentstore\data00497a.tar: The process cannot access the file because it is being used by another process. at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86) at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102) at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269) at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108) at java.nio.file.Files.deleteIfExists(Files.java:1165) at org.apache.jackrabbit.oak.segment.file.FileReaper.reap(FileReaper.java:73) at org.apache.jackrabbit.oak.segment.file.FileStore$3.run(FileStore.java:245) at org.apache.jackrabbit.oak.segment.file.SafeRunnable.run(SafeRunnable.java:67) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748)

Please let us know ways to solve this warning during Online Revision cleanup.

Thanks in Advance!

1 Reply

Avatar

Level 10

Please refer to the official docs here -- Revision Cleanup

For your warning - it appears that a process is using a file in the repository.