Re: What exactly *IS* the status of 2GB quotas? [WAS Re: ****Re: Odd quota problem]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> --On Saturday, August 05, 2006 6:55 PM +0200 Simon Matter
> <simon.matter@xxxxxxxxxxxxxxxx> wrote:
> Okay, I would like to hear specifically from Ken on this one...
>
> I asked the question myself and go an answer suggesting the limit is not
> 2GB,
> but 2TB.  I saw a posting from Ken earlier on suggesting something
> similar.

With 2.2 it was 2GB, with 2.3 it may be 2TB or something, just usually
large enough.

>
> In a nutshell, it looks like we can set quotas to any size (even larger
> than
> 4GB) because the quote limit is defined in Kilobytes and note bytes.
> However,
> the real problem is the tracking of the actual space used by the user,
> which
> is done in bytes... so, even though you can set the quota larger, the 2GB
> limit still gets hit because the actual usage counter overflows.  Is this
> how
> it really is, or am I barking up the wrong tree?
>
> There also seem to be some third-party patches out there (Simon, etc) that
> implement a "large quota patch", which gets around this problem.  It looks
> like it is actually a 64-bit quota patch, which allows Cyrus to track how
> much disk space is used to greater than 4GB.  Again, am I interpreting
> this
> correctly?
>
> So, to wrap up this discussion once and for all:
>
>   What is the actual quota limitation for Cyrus 2.2 and for Cyrus 2.3?
>         (are they different? did the third party patches make it into
>          the 2.3 versions of Cyrus?)

64-bit quota has been made in 2.3 and backported to 2.2. They work the
same way. I don't know what your problem is but maybe you have to update
quota with "quota -f" after switching your mailspool to the 64bit quota
thing.

>
>   Does the large quota patch require a 64-bit machine/os in order to
> permit
>     quotas larger than 2GB?

No, it works fine on 32bit cpu/os.

Simon
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux