cancel
Showing results for 
Search instead for 
Did you mean: 

how to release the disk space taken by 'download-as-zip'

sunjian_xy
Champ in-the-making
Champ in-the-making

I'm using alfresco community edition 5.2.g, which has the download-as-zip api. ( alfresco/api/-default-/public/alfresco/versions/1/downloads/ ). Each time the API is called, alfresco seems to create a temporary node in data space. When there are tens of user use this function, my server's disk space quickly runs out. 

Finally, I have to disable this function. To me, Alfresco keep those temporary nodes and won't delete it.

I wonder if Alfresco is able to free the space taken by the 'temporary' nodes. I think there should be a way to config the life time of the temporary data. Please if you can help.

4 REPLIES 4

ashwin_mor
Champ in-the-making
Champ in-the-making

Alfresco has a cleaner job to delete such files. 

Default configuration is 24 hours and can be modified via global properties

Thank you for reply. Could you tell the name of the property?

ashwin_mor
Champ in-the-making
Champ in-the-making

# 
# Download Service Cleanup 
# 
download.cleaner.startDelayMins=60 
download.cleaner.repeatIntervalMins=60 
download.cleaner.maxAgeMins=60 

maqsood
Confirmed Champ
Confirmed Champ

Hello Guys,

Can you please share the job details or any documentation link to refer from?

Also, please let me know:

  1. does this job also support cron expression?
  2. I want the download content created by the public API should be deleted on specific time in a week, would it be possible?
  3. if setting up maxAgeMins value to some 5 days would not delete the content for the specified period?

Appreciate your kind help!