On Fri, Mar 29, 2002 at 09:06:29AM -0600, AHA Lists wrote: | My % = 6.8 megs. That just seems really high while sitting there doing | nothing but waiting.
If you rewrite it in C, then perhaps (depends on the source of memory usage and your coding skills) it would use less memory. I think much of it is due to storing all the rules (I assume the regexes are pre-compiled too) in memory so that they don't need to be loaded when a message arrives. $ ps aux | grep spamd USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 8834 0.0 0.7 11268 1820 ? S Mar26 0:04 /usr/bin/perl /usr/sbin/spamd -d -F 0 If I restart it, USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 5208 0.0 3.6 11328 9236 ? S 09:52 0:00 /usr/bin/perl /usr/sbin/spamd -d -F 0 Apparently the VSZ field didn't change over the last 3 days. I'm not sure what "VSZ" means in this context, though. If I use gtop I get a Size and RSS of 9236 with 1624 as shared memory. No AWL here. -D -- Pride goes before destruction, a haughty spirit before a fall. Proverbs 16:18 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk