cancel
Showing results for 
Search instead for 
Did you mean: 

Store size growing although most files deleted

mwildam
Champ in-the-making
Champ in-the-making
During a test phase I have imported tons of test data into Alfresco and deleted again.
Although I have got to Manage deleted items and deleted everything, the store size is still growing.

And this although I already set the protectDays property to 1 in the /opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/content-services-context.xml

I have read http://forums.alfresco.com/en/viewtopic.php?f=10&t=22481 and http://wiki.alfresco.com/wiki/Content_Store_Configuration#Cleaning_up_Orphaned_Content_.28Purge.29 - however, the store is growing and growing.

I think I simple did not get it right how to start the contentStoreCleaner job. How can this be done?
7 REPLIES 7

gyro_gearless
Champ in-the-making
Champ in-the-making
Hi,
you should check if the required cleanup job is activated in scheduled-jobs-context.xml:

    <bean id="fileContentStoreCleanerJobDetail" class="org.springframework.scheduling.quartz.JobDetailBean">
    ….
    </bean>


For reasons unknown to mankind, this is per default commented out (at least for 3.2r2)  :roll: 

HTH
Gyro

mwildam
Champ in-the-making
Champ in-the-making
Ha! - I have edited the frequency when to run the job but I didn't either notice that this part is commented out.
Indeed this is very strange. - However, I noticed that when the scheduler runs and a bulk of orphaned items is to be processed, it may stress HD a little. Maybe this was the reason why they commented it out. In reality I think this is mostly only for test installations or developer machine where you want to get rid of a whole lot of stuff.

Now I have the items in the contentstore.deleted - can I delete that folder manually from there to make that stuff finally REALLY disappear?

mwildam
Champ in-the-making
Champ in-the-making
OK, I have deleted the folder contentstore.deleted now manually.
It seems that it has not disturbed Alfresco.
However in managed deleted items it still claims 14,3 GB usage (as before).
So something did not recognize dissappearance of the stuff.

mischa
Champ in-the-making
Champ in-the-making
We have the same Problem. The usage shown above "Manage Deleted Items" keeps growing and growing. Meanwhile, the shown usage is bigger than the file system itself.

cboita
Champ in-the-making
Champ in-the-making
does anyone know if this error is corrected in the new version 3.3g?

thanks

umasantra
Champ in-the-making
Champ in-the-making
Hi All,

I am also facing the same issue. i am using Alfresco 2.1
I have deleted the documents using the "Manage deleted Items", but it has not shown any effect on the size of the harddisk.
Now the size of alfdata is more than 10 GB. I really need help to free this memory area.
I have deleted the folders from the "alf_data\contentstore.deleted" and restarted the alfresco. It was working fine but the size of alf_data was same. Means it is not releasing the memory after deleting from "Manage deleted Items".

Do we need to make any changes in the property file or somewhere which will delete the unwanted documents and space from the alfresco.

thanks in advance.

dranakan
Champ on-the-rise
Champ on-the-rise
Hello,

I'm using Alfresco 32r2. Can we uncomment the fileContentStoreCleanerJobDetail ?
A modification in these files give effect only if Alfersco is restarted ?

(I have done it with tests servers and all seems to be ok - the deleted files are moving in the contentStore.deleted).

Thanks