Re: SpamAssassin/Perl eating enormous amounts of memory?

2009-03-05 Thread Karl Vogel
>> On Mon, 02 Mar 2009 17:21:53 -0800, >> Andrew Moran said: A> Thank you for your suggestion. I'll try compiling Perl and it's A> dependencies without using PERL_MALLOC. I've had similar memory problems using Hyperestraier to index collections exceeding 1,000,000 documents. The indexer

Re: SpamAssassin/Perl eating enormous amounts of memory?

2009-03-04 Thread Andrew Moran
On Mar 3, 2009, at 12:31 PM, Mel wrote: On Tuesday 03 March 2009 07:26:02 Andrew Moran wrote: Ok sadly that didn't seem to do much: celebrian# cat /boot/loader.conf kern.maxdsiz="8G" kern.defdsiz="4G" celebrian# Can you show limits -H -d? [r...@celebrian ~]# limits -H -d Resource lim

Re: SpamAssassin/Perl eating enormous amounts of memory?

2009-03-03 Thread Mel
On Tuesday 03 March 2009 07:26:02 Andrew Moran wrote: > On Mar 3, 2009, at 8:01 AM, Andrew Moran wrote: > > In Mar 3, 2009, at 7:40 AM, Mel wrote: > >> On Monday 02 March 2009 16:21:53 Andrew Moran wrote: > What's even weirder is that the process gets that far. Did you play > with >

Re: SpamAssassin/Perl eating enormous amounts of memory?

2009-03-03 Thread Andrew Moran
On Mar 3, 2009, at 8:01 AM, Andrew Moran wrote: In Mar 3, 2009, at 7:40 AM, Mel wrote: On Monday 02 March 2009 16:21:53 Andrew Moran wrote: What's even weirder is that the process gets that far. Did you play with kern.maxdsiz loader tuneable? If so, set it lower, so you can at least have t

Re: SpamAssassin/Perl eating enormous amounts of memory?

2009-03-03 Thread Andrew Moran
In Mar 3, 2009, at 7:40 AM, Mel wrote: On Monday 02 March 2009 16:21:53 Andrew Moran wrote: What's even weirder is that the process gets that far. Did you play with kern.maxdsiz loader tuneable? If so, set it lower, so you can at least have the machine in a usable state at all times. 4G shoul

Re: SpamAssassin/Perl eating enormous amounts of memory?

2009-03-03 Thread Mel
On Monday 02 March 2009 16:21:53 Andrew Moran wrote: > > What's even weirder is that the process gets that far. Did you play > > with > > kern.maxdsiz loader tuneable? > > If so, set it lower, so you can at least have the machine in a > > usable state at > > all times. 4G should be enough for any

Re: SpamAssassin/Perl eating enormous amounts of memory?

2009-03-02 Thread Andrew Moran
On Mar 2, 2009, at 3:39 PM, Mel wrote: This is hard to debug, but I'd first toggle the PERL_MALLOC option in the configuration dialog for the perl port. If this doesn't solve the problem, then you'd have to get a ktrace to get some indication of what is allocating the memory. Thank yo

Re: SpamAssassin/Perl eating enormous amounts of memory?

2009-03-02 Thread Mel
On Sunday 01 March 2009 19:23:33 Andrew Moran wrote: > Hey guys, > > After having lots of problems with memory and 7.1/ZFS, I first > switched everything to 64-bit (amd64), and then I had a new problem, > so I eventually gave up and switched back to UFS (saying on amd64 > distro/ports), but I'm sti

Re: SpamAssassin/Perl eating enormous amounts of memory?

2009-03-02 Thread Mikhail Goriachev
Andrew Moran wrote: [...] > Has anyone heard of this? Or any pointers on what I can do to figure > out what is causing it? > > Your advice is much appreciated. As an alternative: You could try mail/mimedefang. It calls spamassassin to evaluate an e-mail but without having it running all th