Default for size limit on large objects

Asked by Everett Toews

In the documentation on Managing Large Objects (http://docs.openstack.org/cactus/openstack-object-storage/admin/content/managing-large-objects.html) it reads, "OpenStack Object Storage has a limit on the size of a single uploaded object; by default this is 5GB."

Is this a default that can be changed somewhere?

Thanks,
Everett

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Solved by:
John Dickinson
Solved:
Last query:
Last reply:
Revision history for this message
Best John Dickinson (notmyname) said :
#1

Yes. It's set in swift/common/constraints.py

However, I wouldn't recommend changing it too much (specifically making it any bigger). The overall cluster balance is based, in part, on the size of that constant. Increasing it can cause your cluster to be more out of balance as it gets larger, and therefore you will make less efficient use of your available storage. Increasing the constant will make your cluster fill up more quickly.

--John

On May 11, 2011, at 3:05 PM, Everett Toews wrote:

> New question #157089 on OpenStack Object Storage (swift):
> https://answers.launchpad.net/swift/+question/157089
>
> In the documentation on Managing Large Objects (http://docs.openstack.org/cactus/openstack-object-storage/admin/content/managing-large-objects.html) it reads, "OpenStack Object Storage has a limit on the size of a single uploaded object; by default this is 5GB."
>
> Is this a default that can be changed somewhere?
>
> Thanks,
> Everett
>
> --
> You received this question notification because you are a member of
> Swift Core, which is an answer contact for OpenStack Object Storage
> (swift).

Revision history for this message
Everett Toews (everett-toews) said :
#2

Thanks for the quick reply and the instructive warning!

Everettt

Revision history for this message
Everett Toews (everett-toews) said :
#3

Thanks John Dickinson, that solved my question.