Young, Darren wrote: >Wow, discard is slow. Locking of the list seems to take quite a bit of time >(i/o perhaps) so I am only able to discard around 15 messages a minute. System >is heavily loaded as is though. Any way to speed that process up? >
How are you running bin/discard? are you running in a shell script one file at a time or giving it a list of files? You may not be able to do "bin/discard data/heldmsg*" with IIRC 147,000 files, but you should give discard as big a chunk as you can. Locking, saving and unlocking a list is slow for a large list, but discard only does that once per list, even if given many files for that list. OTOH, it may be slow because of a large number of request.pck entries. If this is the case, it should get faster as entries are deleted. Also, once the 147K files are gone, it would be a good idea to compact the data/ directory by copying its remaining contents to a new directory with the same permissions, deleting data/ and renaming the new directory to data/ (safest to stop Mailman while doing this). It may even help speed things up to discard a chunk, compact the data/ directory, discard another chunk, etc. -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org 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/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp