cancel
Showing results for 
Search instead for 
Did you mean: 

Huge amount of data in contentstore directory

tkrieger
Champ in-the-making
Champ in-the-making
Hi there,

i am a newbie to alfresco. So far it is a really nice product which has some tricky installation but not too tricky. So i got an CIFS Server and the Web-Interface working. When i try now to setup some backup scripts to get it in a productivity installation. I was wondering why the tar command takes so long for the "contentstore" directory. I had a look and saw that the amount of data is 2,4 GB on this directory. But on the normal Windows Share i have only ca. 10 MB of data.
I know that some Versioning and deleting is kept so that is normal that the contentstore is bigger than the normal view. But so much differences ???

I got the community version 2.1 on an ubuntu 8.04 server running with tomcat. I read something about cleaning up the contentstore but the given hints already in my "content-services-context.xml". http://wiki.alfresco.com/wiki/Content_Store_Configuration#Cleaning_up_Orphaned_Content_.28Purge.29

Hoply someone can give me a hint what is the cause for this?

Greetings

tkrieger
4 REPLIES 4

pmonks
Star Contributor
Star Contributor
Have you edited or deleted much content?  Files in the contentstore are only ever created or deleted but never modified - editing a file (whether via the Web Client, CIFS, FTP, WebDAV, APIs, wotnot) always creates a new file in the contentstore, orphaning the previous version (assuming versioning is turned off).  Files that are "orphaned" in the contentstore (due to either edits or deletes) are not physically deleted until 14 days (by default) after they become orphaned.

Deleted files are even more tricky in that deleting a file actually moves it to a kind of "Recycle Bin" (the deleted items area), and unless a user (or the admin) cleans out deleted items regularly, the deleted files will continue to hang around in both the repository and the contentstore indefinitely (consuming disk space in the process).

Cheers,
Peter

tkrieger
Champ in-the-making
Champ in-the-making
Hi,

thank you for the answer i looked around direct in the "contentstore" directory and the amount of 2,4G is only in 1 date-directory from february. (2008/2/11…).
Where can i find these "Recycle Bin" i never saw something like this. I now got "Manage deleted items" but even after deleting here everything the amount of "contentstore" directory still is 2,4 GB.

Normaly i expected that data from February would be deleted, since we now are on june so a lot more than 14 days ago. Or could this be a missunderstanding on my site?

Best Regards

tkrieger

pmonks
Star Contributor
Star Contributor
Are you shutting down Alfresco at night?  By default the background job that prunes the orphaned files from disk runs early in the morning (2am from memory), so if Alfresco isn't running at that time the background job won't run and the orphaned files won't be cleaned up.

Cheers,
Peter

tkrieger
Champ in-the-making
Champ in-the-making
Hi,

Yes i shut the server off every night, because at the moment i build my infrastructe for an own firm. Can you possible say me where to configure this time?

Thank you for your help!

Greetings

tkrieger