-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
try turning off AWL -- if the usage goes down, it's either a massive AWL file or a bug in DB_File on solaris... - --j. Matthew Newton writes: > Hello > > On Wed, Dec 08, 2004 at 12:42:02PM -0800, Justin Mason wrote: > > > I have three Sun Fire servers running Solaris 9 and SpamAssassin 3.0.1. > > > SpamAssassin memory usage seems grow a lot. The machines have 2Gb RAM > > > each, and I have an hourly cron job that restarts SpamAssassin if more > > > than 1.5Gb memory is used (if the machine starts swapping, performance > > > goes through the floor). > > > > > > So, the questions are a) Does SpamAssassin normally use a this much > > > memory? b) If so, how much can I expect it to use? c) If not, does > > > anyone know of any bugs in perl (5.8.0) or Solaris that could cause this > > > and finally d) is restarting SpamAssassin an acceptable thing to do to > > > stop it swapping? > > > > > > The machines each process around 80000 mails/day and we have something > > > like 25000 users. > > > > how many children are running? does the memory usage rise, or is it > > constant from startup? are there patterns in RAM usage? are you > > using external rulesets, razor, pyzor, dcc, etc.? > > It is set up to use 16 children ("-m 16"). The memory usage does rise > gradually over time. This afternoon it was taking one hour for the > system memory usage (output from "swap -s") to go from 120M (just after > SA had been started) to over 1.4G. This evening it has taken slightly > longer. I'm in the process of extracting stats from the mail machines, > so hopefully I'll be able to get a rough idea of the amount of mail > flowing during these periods, and see if it ties up in some way. > > The only "external" stuff I'm using is SURBL. Auto whitelists is turned > on, too. Bayesian is off, as are razor/pyzor/dcc. I want to turn on some > of these extra services sometime (looking at the possibility of running > a DCC server), but none in use yet. > > I could turn the cron job off on one machine out of three and see how > much memory it uses, if that's useful. The machines are configured to > give them around 5Gb memory including swap, but I couldn't do this on > all machines because of the perfomance hit of using swap. > > Thanks! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Exmh CVS iD8DBQFBt6GPMJF5cimLx9ARAotoAJ9zC0jx5byCkX4ct5cYdQyVpNHo1gCfVHAs anGwEKLdlfQpwYJeNhSaY7A= =3E4g -----END PGP SIGNATURE-----