On Thu, Feb 10, 2000 at 10:58:19AM +1100, Brendan Kosowski wrote:
>
> I have noticed that sendmail realy hogs my ppp link, especialy if my
> system is diverting email (ie. receiving and sending at the same
> time). When this is happening viewing internet web pages is painfully
> slow and ping delays are very high.
>
> Is it possible to fine tune the system or sendmail so that the rate of
> receiving and sending email is restricted ( therefore allowing other
> packets to get through ) ???
You can use the .mc options shown below to set various limits to the
sendmail processes run on your system.
define(`confMAX_DAEMON_CHILDREN',`16')dnl
define(`confCONNECTION_RATE_THROTTLE',`4')dnl
This does not limit in any way the incoming or outgoing traffic, though.
Which means that when you're well below that 16 process limit, you can
do nothing to prevent a single receiving sendmail process from taking
all the bandwidth from other, possibly sending sendmail processes.
The connection rate throttle is the limit that controls the maximum
number of connections permitted per second. If you keep this pretty
low, then the outgoing sendmail processes will not stop incoming
connections from being ackowledged.
For more information on resource control of sendmail, look at the
sources of the package, especially in the file:
sendmail-source/cf/README
which contains all the billions of options you can use in sendmail.cf's.
-- Giorgos Keramidas, < keramida @ ceid . upatras . gr > For my public PGP key: finger keramida@diogenis.ceid.upatras.gr PGP fingerprint, phone and address in the headers of this message. - To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.rutgers.edu
This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:36 EST