3 GIG:
 
"real memory  = 3221225472 (3072 MB)"
 
-Grant
 
 
--- Original Message -----
From: Jamie Cameron
To: Webmin users list
Sent: Tuesday, December 20, 2011 1:35 AM
Subject: Re: [webmin-l] auto-clearing in read mail mod.

Actually, I just realized that I was wrong about the 100-message policy - Usermin actually reads in all the messages, but only the headers to save on RAM. So even deleting from a large folder shouldn't be very RAM-intensive..

How much memory does your system have?

On 19/Dec/2011 16:34 gpeel <gpeel@thenetnow.com> wrote ..

Would it be possible for me to turn the 100 email deletion at a time down to 25 or something?

-Grant

On Mon, 19 Dec 2011 14:57:51 -0800 (PST), Jamie Cameron wrote
> Yes .. or perhaps get more RAM. 
> On 19/Dec/2011 04:58 Grant Peel <gpeel@thenetnow.com> wrote ..


> 15554 messages are in the mail file. Perhaps I will see if I can delete a few larger-older ones and see if that allows the auto.pl script to run corretly.
>
> -Grant

> ----- Original Message -----
> From: Jamie Cameron
> To: Grant Peel ; Webmin users list
> Sent: Monday, December 19, 2011 12:10 AM
> Subject: Re: [webmin-l] auto-clearing in read mail mod.
>
> How many messages are in the file? Usermin deletes them 100 at a time, but if you have a small number of large messages this might require too much ram.
>
> Grant Peel <gpeel@thenetnow.com> wrote:
>
> Yes, 1 single mbox file.
>
> -Grant

> ----- Original Message -----
> From: Jamie Cameron
> To: Grant Peel ; Webmin users list
> Sent: Sunday, December 18, 2011 6:09 PM
> Subject: Re: [webmin-l] auto-clearing in read mail mod.
>
> Interesting, looks like it is running out of RAM trying to read your mail file.
>
> You said it was 1.4 GB in size .. but what format is in it (single mbox file, Maildir, or something else) ? 
> On 18/Dec/2011 04:52 Grant Peel <gpeel@thenetnow.com> wrote ..

> When I su to the user, cd to the ~/.usermin/mailbox directory, and run auto.pl, I get:
>
> %./auto.pl
> Out of memory during request for 4084 bytes, total sbrk() is 535793664 bytes!
> %

>
> When I then relist the messages in the mailbox mod I see that they are all still there.
>
> -Grant

> ----- Original Message -----
> From: Jamie Cameron
> To: Grant Peel ; Webmin users list
> Sent: Saturday, December 17, 2011 9:10 PM
> Subject: Re: [webmin-l] auto-clearing in read mail mod.
>
> Sorry, that's what I meant..
>
> If you run that command manually as the user bloomers, does it fail? 
> On 17/Dec/2011 17:27 Grant Peel <gpeel@thenetnow.com> wrote ..

> Jamie,
>
> There is no auto.pl file in /etc/usermin/mailbox folder.
>
> The crontab does exist however:
>
> constellation# crontab -u bloomers -l
> 48 * * * * /home/somedomain.com/.usermin/mailbox/auto.pl
> constellation#

>
> -Grant

> ----- Original Message -----
> From: Jamie Cameron
> To: Grant Peel ; Webmin users list
> Sent: Saturday, December 17, 2011 7:24 PM
> Subject: Re: [webmin-l] auto-clearing in read mail mod.
>
> Check if the user has a cron job that   runs /etc/usermin/mailbox/auto.pl . And if so, try su'ing to the user and running that cron job manually..
> On 17/Dec/2011 02:41 Grant Peel <gpeel@thenetnow.com> wrote ..

> Jamie,
>
> It is not working on my FreeBSD 8 machines. I have one mailbox that is up to 1.4 GIG and growing.  Any ideas what to check first?
>
> -Grant

> ----- Original Message -----
> From: Jamie Cameron
> To: Grant Peel ; Webmin users list
> Sent: Saturday, December 17, 2011 1:13 AM
> Subject: Re: [webmin-l] auto-clearing in read mail mod.
>
> On 16/Dec/2011 17:49 Grant Peel <gpeel@thenetnow.com> wrote ..

> Is there a trick to getting the auto clear function in the read mail module working, i.e. some setting or crontab that needs to be setup for the (global) server?
>
> -Grant

> No, it should just work once the user enables auto-clearing for a mailbox..
>
>  

> ------------------------------------------------------------------------------
> Learn Windows Azure Live!  Tuesday, Dec 13, 2011
> Microsoft is holding a special Learn Windows Azure training event for
> developers. It will provide a great way to learn Windows Azure and what it
> provides. You can attend the event by watching it streamed LIVE online. 
> Learn more at http://p.sf.net/sfu/ms-windowsazure
>  

> -
> Forwarded by the Webmin mailing list at webadmin-list@lists.sourceforge.net
> To remove yourself from this list, go to
> http://lists.sourceforge.net/lists/listinfo/webadmin-list
>

>
>

>   ------------------------------------------------------------------------------
> Learn Windows Azure Live!  Tuesday, Dec 13, 2011
> Microsoft is holding a special Learn Windows Azure training event for
> developers. It will provide a great way to learn Windows Azure and what it
> provides. You can attend the event by watching it streamed LIVE online. 
> Learn more at http://p.sf.net/sfu/ms-windowsazure
>

>  -
> Forwarded by the Webmin mailing list at webadmin-list@lists.sourceforge.net
> To remove yourself from this list, go to
> http://lists.sourceforge.net/lists/listinfo/webadmin-list
>

>
>  

> ------------------------------------------------------------------------------
> Learn Windows Azure Live!  Tuesday, Dec 13, 2011
> Microsoft is holding a special Learn Windows Azure training event for
> developers. It will provide a great way to learn Windows Azure and what it
> provides. You can attend the event by watching it streamed LIVE online. 
> Learn more at http://p.sf.net/sfu/ms-windowsazure
>  

> -
> Forwarded by the Webmin mailing list at webadmin-list@lists.sourceforge.net
> To remove yourself from this list, go to
> http://lists.sourceforge.net/lists/listinfo/webadmin-list
>

>
>

>   ------------------------------------------------------------------------------
> Learn Windows Azure Live!  Tuesday, Dec 13, 2011
> Microsoft is holding a special Learn Windows Azure training event for
> developers. It will provide a great way to learn Windows Azure and what it
> provides. You can attend the event by watching it streamed LIVE online. 
> Learn more at http://p.sf.net/sfu/ms-windowsazure
>

>  -
> Forwarded by the Webmin mailing list at webadmin-list@lists.sourceforge.net
> To remove yourself from this list, go to
> http://lists.sourceforge.net/lists/listinfo/webadmin-list
>

>

>   ------------------------------------------------------------------------------
> Learn Windows Azure Live!  Tuesday, Dec 13, 2011
> Microsoft is holding a special Learn Windows Azure training event for
> developers. It will provide a great way to learn Windows Azure and what it
> provides. You can attend the event by watching it streamed LIVE online. 
> Learn more at http://p.sf.net/sfu/ms-windowsazure
>

>  -
> Forwarded by the Webmin mailing list at webadmin-list@lists.sourceforge.net
> To remove yourself from this list, go to
> http://lists.sourceforge.net/lists/listinfo/webadmin-list
>





------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev


-
Forwarded by the Webmin mailing list at webadmin-list@lists.sourceforge.net
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list