FAQ
Hi...

It's been 3 weeks since I launched my mailing list server using Mailman +
Postfix, 2 days ago my server stoped sending mail, when I search the problem
from log it telling me that the problem is disk drive is full. When I
restart my server I can't login into server because there are no free space
anymore in disk drive. First time this server work, it only consume 6 GB.
Now my 40 GB hard drive is full.

Is it right that Mailman save all email or attachment file in server
machine? if it's right what can I do to clear all email or attachment file
in server machine?

Need Help Please......

Search Discussions

  • Simon at Jul 10, 2008 at 5:19 pm

    On 7/10/2008 4:31 AM, Maickel Pandie wrote:
    It's been 3 weeks since I launched my mailing list server using Mailman +
    Postfix, 2 days ago my server stoped sending mail, when I search the problem
    from log it telling me that the problem is disk drive is full. When I
    restart my server I can't login into server because there are no free space
    anymore in disk drive. First time this server work, it only consume 6 GB.
    Now my 40 GB hard drive is full.

    Is it right that Mailman save all email or attachment file in server
    machine? if it's right what can I do to clear all email or attachment file
    in server machine?
    This doesn't help you much now, but this is why it is a good idea to
    keep anything that stores data (mail, temp directories, etc) on a
    separate partition from your / directory.

    You may have to connect the drive to a different computer to delete the
    archives (located in something like /var/lib/mailman/archives) - but if
    it were me, I'd just buy a [much] bigger hard drive and clone the old
    one to it... 40GB is pretty tiny these days... :)

    Good luck, hope you get it sorted...
  • Bill Christensen at Jul 11, 2008 at 3:35 am

    At 1:19 PM -0400 7/10/08, Simon wrote:
    This doesn't help you much now, but this is why it is a good idea to
    keep anything that stores data (mail, temp directories, etc) on a
    separate partition from your / directory.
    On that note... is there anything to look out for with moving the
    archives elsewhere? Can they just be moved and a symlink put in
    their place? Or is it best to define the path in a config file (and
    if so, which one)?

    Thanks


    --
    Bill Christensen
    <http://greenbuilder.com/contact/>

    Green Building Professionals Directory: <http://directory.greenbuilder.com>
    Sustainable Building Calendar: <http://www.greenbuilder.com/calendar/>
    Green Real Estate: <http://www.greenbuilder.com/realestate/>
    Straw Bale Registry: <http://sbregistry.greenbuilder.com/>
    Books/videos/software: <http://bookstore.greenbuilder.com/>
  • Simon at Jul 11, 2008 at 10:47 am

    On 7/10/2008, Bill Christensen (billc_lists at greenbuilder.com) wrote:
    On that note... is there anything to look out for with moving the
    archives elsewhere? Can they just be moved and a symlink put in
    their place? Or is it best to define the path in a config file (and
    if so, which one)?
    Hmmm, dunno, never tried... I'll let someone who knows respond. Kinda
    curious myself now.
  • Terri Oda at Jul 11, 2008 at 4:10 pm

    On 10-Jul-08, at 11:35 PM, Bill Christensen wrote:
    At 1:19 PM -0400 7/10/08, Simon wrote:
    This doesn't help you much now, but this is why it is a good idea
    to keep anything that stores data (mail, temp directories, etc) on
    a separate partition from your / directory.
    On that note... is there anything to look out for with moving the
    archives elsewhere? Can they just be moved and a symlink put in
    their place? Or is it best to define the path in a config file
    (and if so, which one)?
    They can just be moved and a symlink used, as long as your web server
    doesn't object. I'm pretty sure I did this on one server that had
    some poorly chosen partition sizes and the list archive data wound up
    having to go on its own hard drive for a while.

    Just watch that you shutdown mailman for a minute while you move
    files and set up the simlink so that it's not trying to write to
    space that gets pulled out from under it.

    Terri
  • Brad Knowles at Jul 10, 2008 at 6:29 pm

    Maickel Pandie wrote:

    First time this server work, it only consume 6 GB.
    Now my 40 GB hard drive is full.
    For a server, especially a mailing list server, 40GB is ... very small.
    Most servers I know of would probably have hundreds of GB available for the
    OS, the archives, etc....
    Is it right that Mailman save all email or attachment file in server
    machine?
    Yup. It's called an archive.
    if it's right what can I do to clear all email or attachment file
    in server machine?
    You could blow away the entire archive, but then you wouldn't have an
    archive of the traffic on the mailing list.

    Not really sure we can provide much help here.

    --
    Brad Knowles <brad at shub-internet.org>
    LinkedIn Profile: <http://tinyurl.com/y8kpxu>
  • Maickel Pandie at Jul 11, 2008 at 1:11 am
    can I just use cleanarch from /var/lib/mailman/bin/cleanarch to delete all
    archive?

    2008/7/11 Brad Knowles <brad at shub-internet.org>:
    Maickel Pandie wrote:

    First time this server work, it only consume 6 GB.
    Now my 40 GB hard drive is full.
    For a server, especially a mailing list server, 40GB is ... very small.
    Most servers I know of would probably have hundreds of GB available for the
    OS, the archives, etc....

    Is it right that Mailman save all email or attachment file in server
    machine?
    Yup. It's called an archive.

    if it's right what can I do to clear all email or attachment file
    in server machine?
    You could blow away the entire archive, but then you wouldn't have an
    archive of the traffic on the mailing list.

    Not really sure we can provide much help here.

    --
    Brad Knowles <brad at shub-internet.org>
    LinkedIn Profile: <http://tinyurl.com/y8kpxu>
  • Mark Sapiro at Jul 11, 2008 at 1:21 am

    Maickel Pandie wrote:
    can I just use cleanarch from /var/lib/mailman/bin/cleanarch to delete all
    archive?

    No. That's not what cleanarch does.

    To remove a list's archives, you do

    rm -r path/to/archives/private/listname*

    where listname is the name of the list.

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Mark Sapiro at Jul 11, 2008 at 1:18 am

    Maickel Pandie wrote:
    Hi...

    It's been 3 weeks since I launched my mailing list server using Mailman +
    Postfix, 2 days ago my server stoped sending mail, when I search the problem
    from log it telling me that the problem is disk drive is full. When I
    restart my server I can't login into server because there are no free space
    anymore in disk drive. First time this server work, it only consume 6 GB.
    Now my 40 GB hard drive is full.

    Is it right that Mailman save all email or attachment file in server
    machine? if it's right what can I do to clear all email or attachment file
    in server machine?

    Yes, Mailman archives list posts, but the list owner can turn off
    archiving for a list, and the site admin can disable archiving
    completely by setting

    ARCHIVE_TO_MBOX = -1

    in mm_cfg.py (see Defaults.py for a description of all the possible
    settings).

    However, if Mailman's archives are the culprit, you are accumulating
    over 10 GB of archive data per week. Granted, Mailman isn't too
    efficient at minimizing archive space usage, but even given that there
    might by three copies of an attachment in the archives, one scrubbed
    from the archive, one scrubbed from the digest and one in the
    listname.mbox file, 10 GB is over 1000 posts per week of over 2MB each
    in size. My mind boggles.

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedJul 10, '08 at 8:31a
activeJul 11, '08 at 4:10p
posts9
users6
websitelist.org

People

Translate

site design / logo © 2022 Grokbase