Hi, all -- I'm back with more memory leak questions. I've made it to 1.3.28 with my full patch cocktail (see attached) and have still seen large memory footprints with mutt on large folders -- but not necessarily all large folders. For instance:
[zero] [11:36pm] ~> ps aguxw | egrep PID\|mutt USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND davidtg 24302 0.0 0.1 2536 1268 pts/7 S Mar26 0:00 mutt -f =F.empeg davidtg 24322 0.0 0.6 7056 4452 pts/6 S Mar26 0:07 mutt -f =F.taxinfo davidtg 24333 0.0 0.5 5752 3520 pts/5 S Mar26 0:05 mutt -f =F.freenet davidtg 24368 0.0 0.3 4784 2464 pts/4 S Mar26 0:03 mutt -f =F.jobs davidtg 24398 0.0 0.2 3088 1744 pts/3 S Mar26 0:02 mutt -f =OF.get-a-job davidtg 9679 0.0 0.5 4604 3728 pts/10 S Mar26 2:14 mutt davidtg 23936 0.0 8.6 59512 55780 pts/8 S Mar28 0:53 mutt -f =F.mutt davidtg 23954 0.0 3.5 23604 22676 pts/16 S Mar28 1:29 ./xfer/mutt/Clean/mutt-1.3.28i.patched-00 -f =F.mutt davidtg 4289 0.0 0.0 1144 480 pts/0 S 23:36 0:00 egrep PID|mutt [zero] [11:36pm] ~> ls -lFs Mail/F.* | sort -n | tail -5 22688 -rw------- 1 davidtg 23232505 Mar 30 19:35 Mail/F.taxinfo 25860 -rw------- 1 davidtg 26478371 Mar 30 13:04 Mail/F.url 30300 -rw------- 1 davidtg 31025150 Mar 30 23:33 Mail/F.mutt 35556 -rw------- 1 davidtg 36406001 Mar 29 19:20 Mail/F.lists 59100 -rw------- 1 davidtg 60514419 Mar 30 23:14 Mail/F.funnies Note the taxinfo folder; while it's nearly as large as the mutt folder and is open just as much, its footprint is enormously smaller than that of the mutt folder. Note also the two mutt processes running on folder =F.mutt; 23936 is my patched version, while 23954 is plain stock. I'd like to know why my cocktail is so big, but even the clean one takes a whale of a lot of memory. This hasn't taken terribly long to grow, either, and when they started they were still bigger than the other mutts: [zero] [11:40pm] ~> head ./mutt-memory-size-cron-check.dat Thu Mar 28 10:30:25 EST 2002 USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND davidtg 23936 1.1 1.8 12576 11744 pts/8 S 10:22 0:05 mutt -f =F.mutt davidtg 23954 1.1 1.8 12552 11744 pts/16 S 10:23 0:04 ./xfer/mutt/Clean/mutt-1.3.28i.patched-00 -f =F.mutt Thu Mar 28 10:30:57 EST 2002 USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND davidtg 23936 1.0 1.8 12576 11744 pts/8 S 10:22 0:05 mutt -f =F.mutt davidtg 23954 1.0 1.8 12552 11744 pts/16 S 10:23 0:04 ./xfer/mutt/Clean/mutt-1.3.28i.patched-00 -f =F.mutt [I have a cron job running to watch them to see if either suddenly spikes.] What contributes to memory usage? The taxinfo folder isn't very threaded; it's not a discussion list. The freenet folder is threaded, but it's only 8M or so. More to the point, what do I need to do to track this down? Even if we exclude for the moment the cocktail, should the stock version be that big or might there really be a problem after all? What additional data can I provide? Should I file a flea with as little to go on as I have? I've put =F.mutt (as of this hour; compressed to just about 7M) and the data file (by link, so it's up to date) up at http://mutt.justpickone.org/whatleak/ for anyone to grab for debugging if necessary; I don't think there's anything special in the folder, but maybe so. TIA & HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
Mutt 1.3.28i (2002-03-13) Copyright (C) 1996-2001 Michael R. Elkins and others. Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'. Mutt is free software, and you are welcome to redistribute it under certain conditions; type `mutt -vv' for details. System: Linux 2.4.5 (i686) [using ncurses 5.0] Compile options: -DOMAIN -DEBUG +HOMESPOOL -USE_SETGID +USE_DOTLOCK +DL_STANDALONE +USE_FCNTL -USE_FLOCK +USE_POP +USE_IMAP -IMAP_EDIT_THREADS -USE_GSS -USE_SSL -USE_SASL +HAVE_REGCOMP -USE_GNU_REGEX +HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET +HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM +HAVE_PGP -BUFFY_SIZE -EXACT_ADDRESS -SUN_ATTACHMENT +ENABLE_NLS -LOCALES_HACK +COMPRESSED +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET ++HAVE_LANGINFO_YESEXPR +HAVE_ICONV -ICONV_NONTRANS +HAVE_GETSID +HAVE_GETADDRINFO ISPELL="/usr/bin/ispell" SENDMAIL="/usr/sbin/sendmail" MAILPATH="Mailbox" PKGDATADIR="/home/davidtg/local/share/mutt" SYSCONFDIR="/home/davidtg/local/etc" EXECSHELL="/bin/sh" -MIXMASTER To contact the developers, please mail to <[EMAIL PROTECTED]>. To report a bug, please use the flea(1) utility. Patches I have applied (I find this non-standard list helpful) Feature patch: patch-1.3.28.rr.compressed.1 (dtg) Feature patch: patch-0.00.sec.patchlist.8.1.dtg (dtg) Feature patch: %_ 0.94.12 by O'Shaughnessy Evans Feature patch: reverse-reply 0.95.4 by Stefan `Sec` Zehl Feature patch: pgp_shorten 1.3.27 by Stefan `Sec` Zehl Feature patch: patch-1.3.25i.devl.narrow_tree.1 (dtg) Feature patch: patch-1.3.23.bj.hash_destroy.1 (dtg) Feature patch: patch-1.3.23.bj.noquote_hdr_term.1 (dtg) Feature patch: patch-1.3.24.bj.status-time.1.dtg (dtg) Feature patch: patch-1.3.23.bj.current_shortcut.1.dtg (dtg) Feature patch: patch-1.3.28.dgc.unbind.1.dtg (dtg) Feature patch: patch-1.3.28.dgc.isalias.1 (dtg) Feature patch: patch-1.3.28.dgc.attach.5.dtg (dtg) Feature patch: patch-1.3.28.dgc.xlabel_ext.5.dtg (dtg) Feature patch: patch-1.3.28.dgc.deepif.1 (dtg) Feature patch: patch-1.3.28.dgc.markmsg.2 (dtg) Feature patch: patch-1.2.mha.resend-fcc.1.dtg (dtg) Feature patch: patch-1.3.28.cd.edit_threads.9.2 (dtg) Feature patch: patch-1.3.28.cd.trash_folder.3.1 (dtg) Feature patch: patch-1.3.28.cd.ifdef.1 (dtg) Feature patch: patch-1.3.28.cd.pattern_broken.1.tweak-for-dtg (dtg) Feature patch: patch-1.3.28.cd.source_multiple.2 (dtg) Feature patch: patch-1.3.20000609.mg.hdrcolor.1.dtg (dtg) Feature patch: patch-1.3.28.dw.pgp-hook.3.dtg (dtg) Feature patch: patch-1.3.28.dw.pgp-traditional.2.dtg (dtg) Feature patch: patch-1.3.23.2.nr.tag_prefix_cond (dtg) Feature patch: patch-1.3.27.nr.unmailboxes.1 (dtg) Feature patch: patch-1.3.28.ats.mark_old.1 (dtg) Feature patch: patch-1.3.24.ats.date_optional.1.dtg (dtg)
msg26436/pgp00000.pgp
Description: PGP signature