linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jesse Pollard <pollard@cats-chateau.net>
To: "Jeff V. Merkey" <jmerkey@vger.timpanogas.org>,
	"Henning P. Schmiedehausen" <hps@tanstaafl.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: sendmail fails to deliver mail with attachments in /var/spool/mqueue
Date: Sat, 11 Nov 2000 22:44:07 -0600	[thread overview]
Message-ID: <00111122574200.06438@tabby> (raw)
In-Reply-To: <3A0C427A.E015E58A@timpanogas.org> <8uji8q$1ru$1@forge.tanstaafl.de> <20001111111159.C9464@vger.timpanogas.org>
In-Reply-To: <20001111111159.C9464@vger.timpanogas.org>

On Sat, 11 Nov 2000, Jeff V. Merkey wrote:
>On Sat, Nov 11, 2000 at 01:40:42PM +0000, Henning P. Schmiedehausen wrote:
>> jmerkey@timpanogas.org (Jeff V. Merkey) writes:
>> 
>> 
>> >We got to the bottom of the sendmail problem.  The line:
>> 
>> > -O QueueLA=20 
>> 
>> >and
>> 
>> > -O RefuseLA=18
>> 
>> >Need to be cranked up in sendmail.cf to something high since the
>> >background VM on a very busy Linux box seems to exceed this which causes
>> >large emails to get stuck in the /var/spool/mqueue directory for long
>> >periods of time.  Since vger is getting hammered with FTP all the time,
>> >and is rarely idle.  This also explains what Richard was seeing with VM
>> >thrashing in a box with low memory.  
>> 
>> So what? This is written in the documentation of the program? You do read
>> documentation, do you?
>> 
>> >The problem of dropping connections on 2.4 was related to the O RefuseLA
>> >settings.  The defaults  in the RedHat, Suse, and OpenLinux RPMs are
>> >clearly set too low for modern Linux kernels.  You may want them cranked
>> >up to 100 or something if you want sendmail to always work.  
>> 
>> These settings are for single user / small user numbers boxes.
>> 
>> If you're using an out of the vendor box distribution configuration
>> for a high traffic server, you're nuts. Or ignorant. Or dumb. Or your
>> consultant is an idiot.
>> 
>> 	Regards
>> 		Henning
>
>
>I guess all customers are idiots then, since about 100+ people who were
>using our release downloaded it, and had these problems with sendmail.  This
>disconnect of yours is about what I would expect from someone in a University.
>Some of us don't have the luxury of being able to pontificate in a Univ
>environment -- we have to make a living from Linux -- and provide payroll
>for the people on this list who actually do the core work on Linux.  
>
>If there were not a commercialization effort around Linux, it would still
>be unknown, like TMOK or a lot of other kernels sitting in universities
>somewhere not being deployed.  It's the commercialization effort that made
>Linux a household word.  NT and NetWare servers don't stop forwarding 
>emails when the load average gets too high -- they just work out of the
>box, and hopefully, no so will Linux (our distribution does now since 
>this problem in fixed).
>
>Now we know that sendmail has problems on Linux based on the this load
>average interpretation, which we would not have known if someone had 
>not raised the issue.  

This is not a problem with sendmail on Linux. The same thing will happen
on ANY uni-processor system (multi-processor too, but not as severe).

I run sendmail on an SGI Indy (yes, that no-longer-manufactured thing) and
it is necessary to set the load average on it to 75 or so. As high as 150
is not unreasonable either. This system handles 10's of thousands of mail
messages per day.

This is only a matter of tuning sendmail to do what you want, when you want.
It is also reasonably well documented in the sendmail distribution. You do
have to monitor the system to determine what "high" really is.

In the case of the NT servers, I have seen them choke (and crash) since they
DON'T seem to throttle very well.

BTW, After I read the sendmail documentation, and observed the system for
a while, I decided to count the sendmail "loadaverage" as really being the
average number of simultaneous connections (sendmail processes/threads).
This leads to the choice of "how many do I want active, and how many do
I want to suspended, and when do I want to refuse connection". THEN I add
the number of other active processes to the proposed limits.

-- 
-------------------------------------------------------------------------
Jesse I Pollard, II
Email: pollard@cats-chateau.net

Any opinions expressed are solely my own.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  parent reply	other threads:[~2000-11-12  3:59 UTC|newest]

Thread overview: 96+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3A0C427A.E015E58A@timpanogas.org>
     [not found] ` <20001110095227.A15010@sendmail.com>
     [not found]   ` <3A0C37FF.23D7B69@timpanogas.org>
     [not found]     ` <20001110101138.A15087@sendmail.com>
     [not found]       ` <3A0C3F30.F5EB076E@timpanogas.org>
     [not found]         ` <20001110133431.A16169@sendmail.com>
     [not found]           ` <3A0C6B7C.110902B4@timpanogas.org>
2000-11-10 21:52             ` sendmail fails to deliver mail with attachments in /var/spool/mqueue Jeff V. Merkey
2000-11-10 22:03               ` Neil W Rickert
2000-11-10 22:05                 ` Jeff V. Merkey
2000-11-10 22:18                   ` Alexander Viro
2000-11-10 22:22                     ` Jeff V. Merkey
2000-11-10 22:32                       ` Claus Assmann
2000-11-10 22:31                         ` Jeff V. Merkey
2000-11-10 22:23                   ` Richard A Nelson
2000-11-11 13:45                     ` Henning P. Schmiedehausen
2000-11-10 22:18                 ` H. Peter Anvin
2000-11-10 22:29                   ` Jeff V. Merkey
2000-11-11  1:44                     ` Ralf Baechle
2000-11-11  1:46                       ` H. Peter Anvin
2000-11-11  3:16                         ` Jeff V. Merkey
2000-11-11 11:54                         ` Andrea Arcangeli
2000-11-11 18:03                           ` Jeff V. Merkey
2000-11-11  1:35                   ` Ralf Baechle
2000-11-11  1:42                     ` H. Peter Anvin
2000-11-11  1:47                     ` Mohammad A. Haque
2000-11-10 23:25                 ` Davide Libenzi
2000-11-11 12:23                 ` (non)importance of loadaverages bert hubert
2000-11-10 22:52               ` sendmail fails to deliver mail with attachments in /var/spool/mqueue David Lang
2000-11-10 22:07                 ` Jeff V. Merkey
2000-11-10 22:25                 ` Claus Assmann
2000-11-10 23:01                   ` H. Peter Anvin
2000-11-11  7:57                     ` Rogier Wolff
2000-11-11  8:23                   ` [OFF] Load avarage (Re: sendmail fails to deliver mail with attachments in /var/spool/mqueue) Kari E. Hurtta
2000-11-11  0:28               ` Wild thangs, was: sendmail fails to deliver mail with attachments in /var/spool/mqueue David Ford
2000-11-11  0:27                 ` Jeff V. Merkey
2000-11-11  0:46                   ` David Ford
2000-11-11  3:25                     ` Jeff V. Merkey
2000-11-11  2:41                       ` David Ford
2000-11-11  2:45                       ` Andrew Morton
2000-11-11  3:09                         ` Andrew Morton
2000-11-11  1:18                 ` H. Peter Anvin
2000-11-13 16:34                 ` [OT] " Bruce Guenter
2000-11-11 13:40               ` Henning P. Schmiedehausen
2000-11-11 18:11                 ` Jeff V. Merkey
2000-11-11 19:12                   ` Henning P. Schmiedehausen
2000-11-11 19:38                   ` J Sloan
2000-11-13  6:22                     ` Jeff V. Merkey
2000-11-12  4:44                   ` Jesse Pollard [this message]
     [not found] <200011102251.eAAMp1I232107@saturn.cs.uml.edu>
2000-11-10 22:51 ` Jeff V. Merkey
2000-11-10 18:45 [Fwd: sendmail fails to deliver mail with attachments in /var/spool/mqueue] Jeff V. Merkey
2000-11-10 18:52 ` William F. Maton
2000-11-10 18:52   ` Jeff V. Merkey
2000-11-10 19:05     ` Horst von Brand
2000-11-10 19:04       ` Jeff V. Merkey
2000-11-10 19:30         ` Horst von Brand
2000-11-10 19:46           ` Tim Walberg
2000-11-11 11:33             ` Dominik Kubla
2000-11-11 13:35               ` Henning P. Schmiedehausen
2000-11-10 23:41         ` Igmar Palsenberg
2000-11-10 22:34           ` Jeff V. Merkey
2000-11-11  0:45             ` Igmar Palsenberg
2000-11-10 23:40       ` Igmar Palsenberg
2000-11-10 19:08     ` Richard A Nelson
2000-11-10 19:10       ` Jeff V. Merkey
2000-11-10 19:15       ` William F. Maton
2000-11-10 23:37     ` Igmar Palsenberg
2000-11-10 19:34   ` Richard B. Johnson
2000-11-10 19:33     ` Jeff V. Merkey
2000-11-11 13:24       ` Henning P. Schmiedehausen
2000-11-11 18:05         ` Jeff V. Merkey
2000-11-10 19:02 ` Richard A Nelson
2000-11-10 19:00   ` Jeff V. Merkey
2000-11-10 19:11     ` Richard A Nelson
2000-11-10 19:13       ` Jeff V. Merkey
2000-11-10 19:25         ` Jeff V. Merkey
2000-11-10 19:35 ` Andrea Arcangeli
2000-11-10 19:34   ` Jeff V. Merkey
2000-11-10 19:51     ` Andrea Arcangeli
2000-11-10 20:07       ` Richard B. Johnson
2000-11-10 20:21         ` Andrea Arcangeli
2000-11-10 20:27           ` Jeff V. Merkey
2000-11-10 20:36             ` Richard B. Johnson
2000-11-10 21:09             ` William F. Maton
2000-11-10 21:10               ` Jeff V. Merkey
2000-11-10 20:42           ` Richard B. Johnson
2000-11-10 20:47             ` Jeff V. Merkey
2000-11-10 20:59               ` Claus Assmann
2000-11-10 22:28                 ` Davide Libenzi
2000-11-10 21:16                   ` Claus Assmann
2000-11-10 22:19                   ` H. Peter Anvin
2000-11-11  0:14               ` Igmar Palsenberg
2000-11-10 23:12                 ` Claus Assmann
2000-11-10 23:13                   ` Jeff V. Merkey
2000-11-11  1:15                   ` Steve VanDevender
2000-11-11  2:02                     ` David Ford
2000-11-11  3:20                       ` Jeff V. Merkey
2000-11-11  3:14                     ` Jeff V. Merkey
2000-11-11 13:29                   ` Henning P. Schmiedehausen
2000-11-10 20:31         ` Jeff V. Merkey
2000-11-12  1:39         ` Horst von Brand
2000-11-13  2:58           ` David Ford
2000-11-11 13:20 ` Henning P. Schmiedehausen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=00111122574200.06438@tabby \
    --to=pollard@cats-chateau.net \
    --cc=hps@tanstaafl.de \
    --cc=jmerkey@vger.timpanogas.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).