CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2009/01/30 10:34:58
Modified files:
usr.sbin/smtpd : smtp.c smtp_session.c smtpd.c smtpd.h
Log message:
bump descriptors limit to the max and set the maximum connections count to
three quarters of that limit (a session typically has 3 descriptors). when
we hit that limit, we stop accepting connections, and when client closes a
session, we start accepting connections again. this prevents us from going
into a session that is likely to fail because of scarce resources.
idea discussed with jacekm@, code mostly ripped from relayd