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]

 



Scott, just for some simulated testing I installed Cyrus 2.3 on a test box and loaded up a mailbox to over 10GB (hundreds of thousands of tiny messages). The mailbox was still responsive, however the squat process would take a long time to run and would lock the mailbox for long periods while it did so. This is on old hardware (PentiumIII with a 15GB IDE drive), but new software (Fedora Core 5, Cyrus 2.3, Postfix 2.2 or 2.3, JFS). YMMV.

-Blake

Daniel Eckl wrote:
Hi Scott!

You don't need Ken here. You need google. :)

https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=1212
https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2690

Best,
Daniel

Scott Adkins schrieb:
--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.

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?)

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

Thanks,
Scott

On Fri, 2006-08-04 at 17:34 +0200, Daniel Eckl wrote:
Perhaps I didn't describe the max quota limit problem good enough:

When your system is affected by this problem and you set a quota greater than 2 GB, it results in running mad. In this case it will report over quota way before 2GB. Setting quota back to 2GB (or some bytes below),
the user will be able to use this 2GB w/o problems again.

So your symptoms point exactly to this problem.

In this case, the only way to have more space as 2GB is to remove quota
like it has been suggested here already.
----
are there any versions of cyrus 2.2.x that are fixed to allow quota's
over 2Gb or is that fix only available for 2.3.x ?

I have large quota patches in my 2.2.12 rpms which seem to work fine.

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





------------------------------------------------------------------------

----
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
----
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

----
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