[Mimedefang] Memory problems

Rob MacGregor rob.macgregor at gmail.com
Mon Oct 25 11:26:54 EDT 2004


I'm running MD 2.45 with Perl 5.8.5 on FreeBSD 5.3-BETA5 and am seeing
the following in my mail logs:

 Slave 0 stderr: Out of memory during request for 9224 bytes, total
sbrk() is 27406336 bytes!
 Slave 0 stderr: Out of memory during "large" request for 69632 bytes,
total sbrk() is 27424768 bytes at
/usr/local/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm
line 162.
 Slave 0 stderr: Failed to run BAYES_40 SpamAssassin test, skipping:  
 (Out of memory during "large" request for 266240 bytes, total sbrk()
is 27443200 bytes at
/usr/local/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Bayes.pm line
358. )
 Slave 0 stderr: Out of memory during request for 9224 bytes, total
sbrk() is 27449344 bytes!
 Slave 0 stderr: Out of memory during request for 992 bytes, total
sbrk() is 27461632 bytes!
 Slave 0 stderr: Out of memory during request for 10928 bytes, total
sbrk() is 27432960 bytes!
 Slave 0 stderr: Out of memory during request for 9224 bytes, total
sbrk() is 27414528 bytes!
 Slave 0 stderr: Out of memory during "large" request for 69632 bytes,
total sbrk() is 27389952 bytes at
/usr/local/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Message.pm line
198.
 Slave 0 stderr: Failed to run BAYES_40 SpamAssassin test, skipping:  
 (Out of memory during "large" request for 69632 bytes, total sbrk()
is 27430912 bytes at
/usr/local/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Message.pm line
686. )
 Slave 0 stderr: Failed to run RAZOR2_CF_RANGE_51_100 SpamAssassin
test, skipping:      (Out of memory during "large" request for 135168
bytes, total sbrk() is 27437056 bytes at
/usr/local/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/EvalTests.pm
line 2754. )
 Slave 0 stderr: Out of memory during request for 992 bytes, total
sbrk() is 27461632 bytes!
 Slave 0 stderr: Out of memory during request for 9224 bytes, total
sbrk() is 27412480 bytes!
 Slave 0 stderr: razor2 check skipped: Cannot allocate memory Out of
memory during "large" request for 69632 bytes, total sbrk() is
27414528 bytes at
/usr/local/lib/perl5/site_perl/5.8.5/mach/Razor2/String.pm line 849.
 Slave 0 stderr: Out of memory during request for 12016 bytes, total
sbrk() is 27465728 bytes!
 Slave 0 stderr: Out of memory during "large" request for 135168
bytes, total sbrk() is 27316224 bytes at
/usr/local/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm
line 162.
 Slave 0 stderr: razor2 check skipped: Cannot allocate memory Out of
memory during "large" request for 135168 bytes, total sbrk() is
27439104 bytes at
/usr/local/lib/perl5/site_perl/5.8.5/mach/Razor2/String.pm line 849.
 Slave 0 stderr: Out of memory during request for 752 bytes, total
sbrk() is 27449344 bytes!

The machine has 512 MB of RAM (36 MB free, 267 MB inactive) and 512 MB
of swap (56 KB used) and no other signs of memory problems.

A quick Google didn't indicate any obvious issues - anybody else know
where I should be looking?

Thanks.

-- 
                 Please keep list traffic on the list.
Rob MacGregor
      Whoever fights monsters should see to it that in the process he 
        doesn't become a monster.                  Friedrich Nietzsche



More information about the MIMEDefang mailing list