Attachment Size Limits

IT KnowledgeSystemsManagement July 4, 2011

Recently we have had one of our users request a limit increase for attachements in our confluence install. Has anyone experienced any issues with attachments in the 300MB and up range?

Is there an upper limit before DB storage becomes a problem?

4 answers

3 votes
Jim Birch
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 4, 2011

I'd be careful about allowing attachments bigger than 10 Mb - it imposes discipline on users. To mitigate this we have we temporarly increase the limit on request for valid purposes.

Where have had a few cases of really big files - eg, 200 Mb training videos - we use the tomcat sever rather than Confluence to handle them.

Create a directory under the the Confluence app directory eg \confluence-3.4.9-std\confluence\bigfiles Grant access to selected users to put the big files files there.

The files can them be linked via a confluence url, eg, http://confluence.ourcompany.local/bigfiles/x.txt or via a link on a Confluence page like //bigfiles/x.txt (in square brackets)

If you want to go one stop further you can use a directory outside the Confluence structure, see eg http://gandhim.wordpress.com/2008/01/31/tomcat-55-virtual-directory/ We didn't bother with this because we add the big files ourselves and we trust ourselves. Content type controls are also possible to prevent server side executables from being added.

Pros

  • Fast serve. Files are not triple served, SQL -> Confluence -> tomcat
  • Fast upload via file system.
  • Not stored in SQL Server
  • Not indexed
  • Can embed like external content

Cons

  • Outside the "system"
  • Not indexed, or searchable
  • Need to move directory on upgrade
  • No automatic pickup of files in the editor
  • Security risk if you don't trust the content/provider since server side executables could be added.
  • Upload complexity. If occasional could be an admin task.
  • Difficult to do external upload
2 votes
David at David Simpson Apps
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
July 4, 2011

I'm sure you've got your reasons, but I can't help thinking that this is just a bad idea. If this is a popular download it will have a negative effect on the performance.

Uploading a 300MB+ file through a web browser is unlikely to be fruitful. Admittedly you could try using WebDAV, which will work but that doesn't have the greatest user experience.

David at David Simpson Apps
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
July 4, 2011

Also the default setting is just 10MB -- somewhat meagre in comparison to your requirements.

IT KnowledgeSystemsManagement July 4, 2011

Thanks for the followup David.

Our requirement is from our userbase and seen as a ligit business reason.

1 vote
m@
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 4, 2011

There may be an upper limit imposed by your database but its going to be so big that I doubt its going to be a problem.

Confluence is not going to handle large attachments perfectly, so you may need to tweek settings to disable indexing (for example) for these kinds of files.

To increase the attachments size you go to the general configuration screen in your administration section and edit the "Attachment Maximum Size" property.

1 vote
Colin Goudie
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 4, 2011
By default the attachment data is stored on the filesystem. However indexing and accessing this would of course be affected. I do recall though that Sony were storing Blue Ray images in theirs. Not sure how true that is

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events