>>>>> "LW" == Loren Wilton <[EMAIL PROTECTED]> writes:

   >> I just noticed the --max-conn-per-child option in the spamd man page.
   >> While the description is fairly straightforward, I'm curious if anyone
   >> else is using this

   LW> Yes, many people

   >> , why, and if it's helped with spamd processes consuming RAM (which is
   >> what I'm trying to fix at the moment).

   LW> Which is why people are using it.  In 3.0.1 and to a lesser extent in
   LW> 3.0.2, spamd children could get real fat and stay that way for a long
   LW> time, eating the machine for dinner.  Setting max-con-per-child to a
   LW> lower number will make the fat kids die quicker, so there is much less
   LW> chance of them all being fat at once.

   LW> Depending on the weather, phase of the moon, amount of ram you have,
   LW> and other things, you may find limits from a couple hundred down to
   LW> about 5 to be appropriate.  I'd probably suggest 100 to 50 as a good
   LW> starting range to play with.

   LW> Dont forget the -m option.  If you have more than about 5 children
   LW> running and don't have a huge email flow you might do well to cut the
   LW> number of children down to the 3 to 10 range.


Loren,

What is considered "huge email flow" and what are appropriate values for
connections and children?

I have a home network and use it to host a mail server for my published
domain.  Almost 90% of the email received by my server is spam.  A huge
number of additional sendmail connections are rejected because of unknown
users are other invalid crap.  In the past 24 hours I received appx 1000
valid messages if which only appx 100 were non-spam.  I received over 45000
invalid smtp connections over the same period.

In order to sopy my server (running on old harware) from being brought to its
knees, I use the following spamd/sendmail configuration:

spamd: default number of children
sendmail: daemon_children 25, rate_throttle 3, rcpt_throttle 3

Does this make sense?  Should I (can I) reduce the numebr of sendmail
children to better match spamd?

Thanks for your help and insight.

...Jake

-- 
Jake Colman
Sr. Applications Developer
Principia Partners LLC
Harborside Financial Center
1001 Plaza Two
Jersey City, NJ 07311
(201) 209-2467
www.principiapartners.com

Reply via email to