Re: Get cyrus-imap folder size without "du" tool

2010-04-02 Thread Bron Gondwana
On Fri, Apr 02, 2010 at 01:40:38PM -0400, Wesley Craig wrote: > On 02 Apr 2010, at 08:59, Bron Gondwana wrote: > >Anyway, the quota system works fine. Just give each user a quota > >bigger > >than your disk and use it for the used value! > > It's a shame that the usage isn't calculated whether a

Re: Get cyrus-imap folder size without "du" tool

2010-04-02 Thread Wesley Craig
On 02 Apr 2010, at 08:59, Bron Gondwana wrote: > Anyway, the quota system works fine. Just give each user a quota > bigger > than your disk and use it for the used value! It's a shame that the usage isn't calculated whether a limit is implemented or not. :wes Cyrus Home Page: http://cyr

Re: Get cyrus-imap folder size without "du" tool

2010-04-02 Thread Bron Gondwana
On Thu, Apr 01, 2010 at 01:54:47PM -0700, Andrew Morgan wrote: > On Thu, 1 Apr 2010, Adam Tauno Williams wrote: > > > On Thu, 2010-04-01 at 19:13 +0200, David Touzeau wrote: > >> Joe Vieira wrote: > >>> if they are all on one partition and nothing else is on that you could > >>> just use df >

Re: Get cyrus-imap folder size without "du" tool

2010-04-02 Thread Adam Tauno Williams
On Thu, 2010-04-01 at 21:54 -0500, Dan White wrote: > On 01/04/10 22:34 -0400, Adam Tauno Williams wrote: > >On Thu, 2010-04-01 at 13:54 -0700, Andrew Morgan wrote: > >> Those values are all annotations. The annotation you want is: > >> > >>/vendor/cmu/cyrus-imapd/size > > > >I suspected as m

Re: Get cyrus-imap folder size without "du" tool

2010-04-01 Thread Dan White
On 01/04/10 22:34 -0400, Adam Tauno Williams wrote: >On Thu, 2010-04-01 at 13:54 -0700, Andrew Morgan wrote: >> Those values are all annotations. The annotation you want is: >> >>/vendor/cmu/cyrus-imapd/size > >I suspected as much but haven't had much luck getting a value. > >import imaplib >

Re: Get cyrus-imap folder size without "du" tool

2010-04-01 Thread Adam Tauno Williams
On Fri, 2010-04-02 at 00:00 +0200, David Touzeau wrote: > Andrew Morgan wrote: > > This problem occurs when you have more than 50Go mailboxes > > If you launch a "du -h -s /var/spool/cyrus/mail" the server load is on > > top and I/O is at 100% for a long time. > > Is somebody have a

Re: Get cyrus-imap folder size without "du" tool

2010-04-01 Thread Adam Tauno Williams
On Thu, 2010-04-01 at 13:54 -0700, Andrew Morgan wrote: > On Thu, 1 Apr 2010, Adam Tauno Williams wrote: > > > On Thu, 2010-04-01 at 19:13 +0200, David Touzeau wrote: > >> Joe Vieira wrote: > >>> if they are all on one partition and nothing else is on that you could > >>> just use df > >>> On

Re: Get cyrus-imap folder size without "du" tool

2010-04-01 Thread David Touzeau
Andrew Morgan wrote: > On Thu, 1 Apr 2010, Adam Tauno Williams wrote: > > >> On Thu, 2010-04-01 at 19:13 +0200, David Touzeau wrote: >> >>> Joe Vieira wrote: >>> if they are all on one partition and nothing else is on that you could just use df On Thu, 2010-04-01

Re: Get cyrus-imap folder size without "du" tool

2010-04-01 Thread Andrew Morgan
On Thu, 1 Apr 2010, Adam Tauno Williams wrote: > On Thu, 2010-04-01 at 19:13 +0200, David Touzeau wrote: >> Joe Vieira wrote: >>> if they are all on one partition and nothing else is on that you could >>> just use df >>> On Thu, 2010-04-01 at 10:28 -0400, David Touzeau wrote: This proble

Re: Get cyrus-imap folder size without "du" tool

2010-04-01 Thread Adam Tauno Williams
On Thu, 2010-04-01 at 19:13 +0200, David Touzeau wrote: > Joe Vieira wrote: > > if they are all on one partition and nothing else is on that you could > > just use df > > On Thu, 2010-04-01 at 10:28 -0400, David Touzeau wrote: > >> This problem occurs when you have more than 50Go mailboxes > >

Re: Get cyrus-imap folder size without "du" tool

2010-04-01 Thread David Touzeau
Gavin McCullagh wrote: > Hi, > > On Thu, 01 Apr 2010, David Touzeau wrote: > > >> This problem occurs when you have more than 50Go mailboxes >> If you launch a "du -h -s /var/spool/cyrus/mail" the server load is on >> top and I/O is at 100% for a long time. >> Is somebody have a tips to get the

Re: Get cyrus-imap folder size without "du" tool

2010-04-01 Thread David Touzeau
Joe Vieira wrote: > if they are all on one partition and nothing else is on that you could > just use df > > Joe > > On Thu, 2010-04-01 at 10:28 -0400, David Touzeau wrote: > >> Dear >> >> This problem occurs when you have more than 50Go mailboxes >> If you launch a "du -h -s /var/spool/cy

Re: Get cyrus-imap folder size without "du" tool

2010-04-01 Thread Gavin McCullagh
Hi, On Thu, 01 Apr 2010, David Touzeau wrote: > This problem occurs when you have more than 50Go mailboxes > If you launch a "du -h -s /var/spool/cyrus/mail" the server load is on > top and I/O is at 100% for a long time. > Is somebody have a tips to get the size status of all maiboxes without

Re: Get cyrus-imap folder size without "du" tool

2010-04-01 Thread Joe Vieira
if they are all on one partition and nothing else is on that you could just use df Joe On Thu, 2010-04-01 at 10:28 -0400, David Touzeau wrote: > Dear > > This problem occurs when you have more than 50Go mailboxes > If you launch a "du -h -s /var/spool/cyrus/mail" the server load is on > to