On Wednesday 04 May 2005 01:26, Daryl C. W. O'Shea wrote: > Bikrant Neupane wrote: > > I shifted to Spamassin 3.0.3 on FreeBSD 5.3 yesterday with dcc enabled. > > Hardware is Xeon (hyper threading) SC1420 with 1536 MB RAM. > > > > I am using following options to start spamd > > -d -i $O1 -m40 -u smtpd > > <snip> > > > more debug:: > > Seems all children are busy!! Do i have to increase max child value ?? > > > > 14498 ?? Is 0:01.22 /usr/local/bin/spamd -d -i spam-scanner-01 -m40 > > --allowed-ips=127.0.0.1,202.79.32.7 > > 52851 ?? S 1:07.40 spamd child (perl) > > 53039 ?? S 1:07.19 spamd child (perl) > > 53165 ?? S 0:57.46 spamd child (perl) > > 53186 ?? S 1:01.37 spamd child (perl) > > <snip> > > No, reduce the number of children. At 20-40MB per child it's no wonder > why you've run out of memory with 40 children. Once you do that and the > system stops thrashing you should be able to process messages faster.
Ok now I have reduced the number of process to 15. Now I am no more running out of RAM but still I see spamassassin is using relatively high memory. from top : PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND 12221 root 4 0 95872K 81456K accept 0 1:14 15.14% 15.14% perl 12304 root 4 0 76768K 65012K accept 1 1:13 8.50% 8.50% perl 12276 root 4 0 90240K 77688K accept 1 1:27 7.18% 7.18% perl 12301 root -8 0 95360K 80128K piperd 0 1:06 6.05% 6.05% perl 12176 root 4 0 98780K 82440K accept 1 1:31 5.66% 5.66% perl 12348 root 4 0 63892K 53872K accept 0 1:18 4.74% 4.74% perl 12571 root 4 0 49580K 41252K accept 1 1:06 4.74% 4.74% perl 12640 root 4 0 95256K 77580K accept 1 1:00 4.74% 4.74% perl 12368 root 4 0 65008K 53528K accept 1 1:18 4.30% 4.30% perl 12601 root 4 0 89616K 77548K accept 1 1:17 4.30% 4.30% perl 12429 root 4 0 88864K 74852K accept 1 1:06 3.76% 3.76% perl 13108 root 4 0 83728K 69244K accept 1 0:51 3.52% 3.52% perl 12549 root 4 0 44844K 36636K accept 1 1:01 2.59% 2.59% perl 12584 root 4 0 90304K 76152K accept 1 1:08 2.49% 2.49% perl 12852 root 96 0 45212K 37972K select 1 0:51 2.25% 2.25% perl Also I am still getting "Deep recursion" message in log file >>> May 4 14:44:32 spam-scanner-01 spamd[12221]: Deep recursion on subroutine "Mail::SpamAssassin::Message::Node::finish" at /usr/local/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Message/Node.pm line 659 >>> Previously I was running perl 5.8.5 which was installed from binary package from the installation cd. Now I have reinstalled 5.8.5 from ports. But still I am getting same message. It will be great if someone could point me to right direction. Next I am going to sync my ports from latest cvs and recompile perl and other modules again. thanks a lot, Bikrant > > Daryl