Environment: mm 2.1.5, python 2.2.3, rhel es3 u2

(I've searched FAQ for this, in vain...)

On a list (called reach-l), which has a very large archive mbox, I just
tried to do

        $prefix/bin/arch --wipe reach-l

It got several hundred messages in and then blew up with a segmentation
fault. Reading a bit deeper, I see that perhaps I should have specified
some reasonable -s and -e values to limit the memory usage, but
hindsight is 20:20.

Since then, I've been unable to get a lock on the list. When I try, e.g,

        $prefix/bin/arch -s 1 -e 499 --wipe reach-l

...it just hangs. When I interrupt (^C), I see:

Traceback (most recent call last):
  File "/var/mailman/bin/arch", line 189, in ?
    main()
  File "/var/mailman/bin/arch", line 141, in main
    mlist = MailList(listname)
  File "/var/mailman/Mailman/MailList.py", line 126, in __init__
    self.Lock()
  File "/var/mailman/Mailman/MailList.py", line 159, in Lock
    self.__lock.lock(timeout)
  File "/var/mailman/Mailman/LockFile.py", line 312, in lock
    self.__sleep()
  File "/var/mailman/Mailman/LockFile.py", line 496, in __sleep
    time.sleep(interval)
KeyboardInterrupt

...which I believe I can reproduce in its most simple case with this:

[EMAIL PROTECTED] reach-l]$ /var/mailman/bin/withlist reach-l
Loading list reach-l (unlocked)
The variable `m' is the reach-l MailList instance
m.Lock()

[it just hangs until I ^C, then:]

Traceback (most recent call last):
  File "<console>", line 1, in ?
  File "/var/mailman/Mailman/MailList.py", line 159, in Lock
    self.__lock.lock(timeout)
  File "/var/mailman/Mailman/LockFile.py", line 312, in lock
    self.__sleep()
  File "/var/mailman/Mailman/LockFile.py", line 496, in __sleep
    time.sleep(interval)
KeyboardInterrupt
m.Unlock()

Finalizing
[EMAIL PROTECTED] reach-l]$

How can I clean things up for this list such that service code that
wants to, can get a lock on the list?

--
Dwight A. Ernest, dwight at significant dot com    GPG key A6999567
Cell: +1-508-523-1416    FAX: +1-978-405-2504    YIM: dwight_ernest
RHCE #803004293310030    http://significant.com/~dwight/     KA2CNN
Papa, partner, pilot, net geek, sysadmin, consultant, cohouser.



------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

Reply via email to