SpamAssassin is a memory pig even when you first start it up. As for it
being in Perl ... well, processing text in a complex way is Perl's
strength, and that's essentially what SpamAssassin is all about. You
could probably write a similar (and faster) engine using C and libpcre,
but you would
Good. That's been driving me absolutely batty for the longest time.
Especially running Citadel on a tiny little VPS.
Now, if only I could find the memory leaks in SpamAssassin...
After about 7 days of continuous operation:
PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND
9928 bbs 18 0 103m 30m 3180 S0 3.0 449:27.08 citserver
This is down from multiple giga