Highlighted

Issue on repository cleanup - AEM 6.2

allanq872167

28-09-2017

Hello there,

We're having some problems with the repository cleanup on AEM 6.2.

In high-level CQ is deleting old files, but keeps them open, In all UNIX systems, you can delete file that is still open in app, that means it will no longer exist in directory listing, but still consume space on disk, until app will not release file handler, then file will be dropped, and space reclaimed.

Executing : 

/usr/sbin/lsof |grep DEL |grep tar

We have :

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02889a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02886a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02882a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02877a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02876a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02875a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02873a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02871a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02866a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02859a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02665g.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02666g.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02669g.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02670g.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02671g.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02674g.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02675g.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02681g.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02772b.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02777b.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02778b.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02779b.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02782b.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02783b.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02792b.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02804b.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02807a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02808a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02809a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02810a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02811a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02812a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02813a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02814a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02815a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02816a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02817a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02818a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02819a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02820a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02821a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02822a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02823a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02824a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02825a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02826a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02827a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02828a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02829a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02830a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02831a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02832a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02833a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02834a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02835a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02836a.tar

java      48654       cq6  DEL       REG              253,3             crx-quickstart/repository/segmentstore/data02734a.tar

A list of files that are marked as deleted, but still open.

Any hints on that?

Thanks in advance.