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.

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




--
+-----------------------------------------------------------------------+
     Scott W. Adkins                http://www.cns.ohiou.edu/~sadkins/
  UNIX Systems Engineer                  mailto:adkinss@xxxxxxxx
       ICQ 7626282                 Work (740)593-9478 Fax (740)593-1944
+-----------------------------------------------------------------------+
    PGP Public Key available at http://www.cns.ohiou.edu/~sadkins/pgp/

Attachment: pgpwuXjcV8siP.pgp
Description: PGP signature

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