sendmail fails to deliver mail with attachments in /var/spool/mqueue
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 4 lines · Jeff V. Merkey
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.
If a modern Linux kernel requires high load average defaults, I will stop using Linux.
-NWR
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Then perhaps qmail's time has finally come .... If sendmail cannot run on a machine with minimal background loading from a dozen or so FTP clients downloading files, it's clearly sick. BTW. I have another box running qmail, and it doesn't have these problems.
Jeff
Quoted 8 lines · Neil W Rickert
Quoted 4 lines · Jeff V. Merkey
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.
Quoted 4 lines
If a modern Linux kernel requires high load average defaults, I will stop using Linux.
-NWR
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 5 lines · Jeff V. Merkey
Then perhaps qmail's time has finally come .... If sendmail cannot run on a machine with minimal background loading from a dozen or so FTP clients downloading files, it's clearly sick. BTW. I have another box running qmail, and it doesn't have these problems.
If you have permanently high load average - sure, you need to bump the limits. Always had been that way, nothing to do with the kernel. OTOH, I really don't see WTF are FTP clients giving that kind of LA - unless you've got really thick pipe on a box, that is. If it's a server - WTF are they doing there at all? And if it isn't... Nice connectivity you have there.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 9 lines · Alexander Viro
Quoted 5 lines · Jeff V. Merkey
Then perhaps qmail's time has finally come .... If sendmail cannot run on a machine with minimal background loading from a dozen or so FTP clients downloading files, it's clearly sick. BTW. I have another box running qmail, and it doesn't have these problems.
Quoted 6 lines
If you have permanently high load average - sure, you need to bump the limits. Always had been that way, nothing to do with the kernel. OTOH, I really don't see WTF are FTP clients giving that kind of LA - unless you've got really thick pipe on a box, that is. If it's a server - WTF are they doing there at all? And if it isn't... Nice connectivity you have there.
I have dual T1 lines going into the box, and I just added a 4-way ADSL circuit as well (4 x 550K). Claus claimed there were TCPIP timeout bugs in Linux (which we have now disproved). Even despite the limits being low, a "sendmail -v -q" command should always force delivery, and this wasn't even working right. This box gets hammered day and night with FTP activity. Had to upgrade since I learned when you post a free Linux distriution, everyone beats a path to your door.
Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 2 lines · Jeff V. Merkey
I have dual T1 lines going into the box, and I just added a 4-way ADSL circuit as well (4 x 550K). Claus claimed there were TCPIP timeout bugs
Please DON'T quote me wrong. This is getting very annoying. Is that your way to spread rumours and false accusations?
Unless you come up with something constructive, I'm off this "discussion" now.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 5 lines · Claus Assmann
Quoted 2 lines · Jeff V. Merkey
I have dual T1 lines going into the box, and I just added a 4-way ADSL circuit as well (4 x 550K). Claus claimed there were TCPIP timeout bugs
You said there were TCPIP timeout bugs. I can go retrieve the email. If there's this type of problem, the linux folks need to know so it can get fixed.
Jeff
Quoted 6 lines
Please DON'T quote me wrong. This is getting very annoying. Is that your way to spread rumours and false accusations?
Unless you come up with something constructive, I'm off this "discussion" now.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 4 lines · Jeff V. Merkey
Then perhaps qmail's time has finally come .... If sendmail cannot run on a machine with minimal background loading from a dozen or so FTP clients downloading files, it's clearly sick. BTW. I have another box running qmail, and it doesn't have these problems.
I have several boxen running sendmail with fair to moderate loading - they even occasionally don't accept mail... and thats good, as it lets the system catch up with its current load. As soon as things stabalize, sendmail again accepts connections - you *do* have MX entries don't you?
I've *never* had the problem you've got with *any* of the boxes - maybe you should rethink your setup. I'll wager that the qmail box isn't as heavily loaded as the one running sendmail; why not split your services?
Signature · 9 lines
Rick Nelson There are two types of Linux developers - those who can spell, and those who can't. There is a constant pitched battle between the two. (From one of the post-1.1.54 kernel update messages posted to c.o.l.a) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/
Quoted 4 lines · [email protected] (Richard A Nelson) writes:
I have several boxen running sendmail with fair to moderate loading - they even occasionally don't accept mail... and thats good, as it lets the system catch up with its current load. As soon as things stabalize, sendmail again accepts connections - you *do* have MX entries don't you?
% dig timpanogas.com mx
[...]
timpanogas.com. 1D IN MX 10 mail.timpanogas.com.
No. He _is_ clueless with a big mouth as the regular readers of LKM already know.
"and it's all either the fault of other people or the kernel".
Regards
Henning
Signature · 9 lines
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen -- Geschaeftsfuehrer INTERMETA - Gesellschaft fuer Mehrwertdienste mbH [email protected] Am Schwabachgrund 22 Fon.: 09131 / 50654-0 [email protected] D-91054 Buckenhof Fax.: 09131 / 50654-20 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/
Quoted 9 lines · Neil W Rickert
Quoted 4 lines · Jeff V. Merkey
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.
If a modern Linux kernel requires high load average defaults, I will stop using Linux.
It _depends_ on what the kernel is doing.
In my Co. We've our MTA ( PIII 800 ) with LA > 40 often ... but it's processing a sustained load of 120000 msg/hour.
- Davide
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Followup to: <[email protected]> By author: Neil W Rickert <[email protected]> In newsgroup: linux.dev.kernel
Quoted 11 lines
Quoted 4 lines · Jeff V. Merkey
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.
If a modern Linux kernel requires high load average defaults, I will stop using Linux.
Numerically high load averages aren't inherently a bad thing. There isn't anything bad about a system with a loadavg of 20 if it does what it should in the time you'd expect. However, if your daemons start blocking because they assume this number means badness, than that is the problem, not the loadavg in itself.
-hpa
Signature · 7 lines
<[email protected]> at work, <[email protected]> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/
Quoted 16 lines · H. Peter Anvin
Followup to: <[email protected]> By author: Neil W Rickert <[email protected]> In newsgroup: linux.dev.kernelQuoted 11 lines
Quoted 4 lines · Jeff V. Merkey
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.
If a modern Linux kernel requires high load average defaults, I will stop using Linux.
Quoted 5 lines
Numerically high load averages aren't inherently a bad thing. There isn't anything bad about a system with a loadavg of 20 if it does what it should in the time you'd expect. However, if your daemons start blocking because they assume this number means badness, than that is the problem, not the loadavg in itself.
Well, here's what the sendmail folks **REAL** opinion of Linux is and the way load average is calculated (senders name removed)
[... sendmail person ...]
Ok, here's my blunt answer: Linux sucks. Why does it have a load
Quoted 9 lines
average of 10 if there are two processes running? Let's check the man page:
and the three load averages for the system. The load averages are the average number of process ready to
run during the last 1, 5 and 15 minutes. This line
is just like the output of uptime(1).So: Linux load average on these systems is broken.
So I guess we know where we stand with the sendmail folks. If the US post office delivered mail at Christmas time using a size based priority the way sendmail does, folks would all get their Christmas presents about mid-February unless O NumberOfPostalWorkers=20 was set high enough.
Jeff
Quoted 11 lines
-hpa
--
<[email protected]> at work, <[email protected]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 5 lines · H. Peter Anvin
Numerically high load averages aren't inherently a bad thing. There isn't anything bad about a system with a loadavg of 20 if it does what it should in the time you'd expect. However, if your daemons start blocking because they assume this number means badness, than that is the problem, not the loadavg in itself.
The problem seems to me that the load figure doesn't express what most people seem to expect it to - CPU load.
Ralf
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 12 lines · Ralf Baechle
Quoted 5 lines · H. Peter Anvin
Numerically high load averages aren't inherently a bad thing. There isn't anything bad about a system with a loadavg of 20 if it does what it should in the time you'd expect. However, if your daemons start blocking because they assume this number means badness, than that is the problem, not the loadavg in itself.
The problem seems to me that the load figure doesn't express what most people seem to expect it to - CPU load.
Actually, what most people expect it to represent is schedulability of new tasks. The problem is more one of:
a) Expecting a fixed relationship between the specific number and the behaviour of the machine;
b) The long time constants.
On an 8-way machine a load average of 16 is not particularly high, even if you only count runnable processes, for example.
-hpa
Signature · 7 lines
<[email protected]> at work, <[email protected]> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/
Jeff,
Quoted 15 lines · Jeff V. Merkey
Well, here's what the sendmail folks **REAL** opinion of Linux is and the way load average is calculated (senders name removed)
[... sendmail person ...]
Ok, here's my blunt answer: Linux sucks. Why does it have a load
Quoted 9 lines
average of 10 if there are two processes running? Let's check the man page:
and the three load averages for the system. The load averages are the average number of process ready to
run during the last 1, 5 and 15 minutes. This line
is just like the output of uptime(1).So: Linux load average on these systems is broken.
Or the documentation is b0rken? This is how the load figure is actually calculated:
/*
* Nr of active tasks - counted in fixed-point numbers */
static unsigned long count_active_tasks(void)
{
struct task_struct *p;
unsigned long nr = 0;
read_lock(&tasklist_lock);
for_each_task(p) {
if ((p->state == TASK_RUNNING ||
(p->state & TASK_UNINTERRUPTIBLE)))
nr += FIXED_1;
}
read_unlock(&tasklist_lock);
return nr;
} Ralf
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 28 lines · Ralf Baechle
Jeff,
Quoted 15 lines · Jeff V. Merkey
Well, here's what the sendmail folks **REAL** opinion of Linux is and the way load average is calculated (senders name removed)
[... sendmail person ...]
Ok, here's my blunt answer: Linux sucks. Why does it have a load
Quoted 9 lines
average of 10 if there are two processes running? Let's check the man page:
and the three load averages for the system. The load averages are the average number of process ready to
run during the last 1, 5 and 15 minutes. This line
is just like the output of uptime(1).So: Linux load average on these systems is broken.
Or the documentation is b0rken? This is how the load figure is actually calculated:
/*
* Nr of active tasks - counted in fixed-point numbers */
static unsigned longcount_active_tasks(void)
Quoted 14 lines
{
struct task_struct *p;
unsigned long nr = 0;
read_lock(&tasklist_lock);
for_each_task(p) {
if ((p->state == TASK_RUNNING ||
(p->state & TASK_UNINTERRUPTIBLE)))
nr += FIXED_1;
}
read_unlock(&tasklist_lock);
return nr;
}Yes, the documentation is broken. Linus did in fact implement this change because it made most daemons behave significantly better. This ought to include sendmail; it's just that on modern systems the numbers get a little too high for it.
-hpa
Signature · 7 lines
<[email protected]> at work, <[email protected]> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/
I have this exact argument at work every so often. People coming in from an NT environment have difficulty understanding what it is/means and that it's not neccessarily bad when load gets above 1, etc, etc, etc.
Quoted 13 lines · Ralf Baechle
Quoted 5 lines · H. Peter Anvin
Numerically high load averages aren't inherently a bad thing. There isn't anything bad about a system with a loadavg of 20 if it does what it should in the time you'd expect. However, if your daemons start blocking because they assume this number means badness, than that is the problem, not the loadavg in itself.
The problem seems to me that the load figure doesn't express what most people seem to expect it to - CPU load.
Ralf
Signature · 12 lines
=====================================================================
Mohammad A. Haque http://www.haque.net/
[email protected]
"Alcohol and calculus don't mix. Project Lead
Don't drink and derive." --Unknown http://wm.themes.org/
[email protected]
=====================================================================
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/Quoted 44 lines · H. Peter Anvin
Quoted 28 lines · Ralf Baechle
Jeff,
Quoted 15 lines · Jeff V. Merkey
Well, here's what the sendmail folks **REAL** opinion of Linux is and the way load average is calculated (senders name removed)
[... sendmail person ...]
Ok, here's my blunt answer: Linux sucks. Why does it have a load
Quoted 9 lines
average of 10 if there are two processes running? Let's check the man page:
and the three load averages for the system. The load averages are the average number of process ready to
run during the last 1, 5 and 15 minutes. This line
is just like the output of uptime(1).So: Linux load average on these systems is broken.
Or the documentation is b0rken? This is how the load figure is actually calculated:
/*
* Nr of active tasks - counted in fixed-point numbers */
static unsigned longcount_active_tasks(void)Quoted 14 lines
{ struct task_struct *p; unsigned long nr = 0; read_lock(&tasklist_lock); for_each_task(p) { if ((p->state == TASK_RUNNING || (p->state & TASK_UNINTERRUPTIBLE))) nr += FIXED_1; } read_unlock(&tasklist_lock); return nr; }
Quoted 4 lines
Yes, the documentation is broken. Linus did in fact implement this change because it made most daemons behave significantly better. This ought to include sendmail; it's just that on modern systems the numbers get a little too high for it.
So everyone should up their defaults for most commercial Linux versions.
Jeff
Quoted 7 lines
-hpa
Signature · 3 lines
<[email protected]> at work, <[email protected]> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
(non)importance of loadaverages
In reply to a message not in the archiveQuoted 9 lines · Neil W Rickert
Quoted 4 lines · Jeff V. Merkey
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.
If a modern Linux kernel requires high load average defaults, I will stop using Linux.
The importance people attach to loadaverages continues to amaze me. Two systems doing the same work can have wildly different loadaverages. If I code a big statemachine with lots of poll() interfaces, my loadaverage will not get a lot higher then 1.
Should I forego writing a statemachine and use pthreads or fork(), the same amount of work will keep lots of different processes busy and raise my loadaverage wildly.
Do you now state that the second situation is somehow 'worse'?
Feel free however to stop using Linux. Or to quote the document Al refered to 'See figure 1'.
Kind regards,
bert hubert
Signature · 7 lines
PowerDNS Versatile DNS Services Trilab The Technology People 'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/
Quoted 1 line · H. Peter Anvin
Yes, the documentation is broken. Linus did in fact implement this
Well, also the implementation could be improved IMHO, think when we have one houndred of tasks sleeping in uninterruptible mode because the nfs server is down for maintenance. They're no loading the machine at all for half an hour even while the load is 100. For sure the fix is not to account only runnable tasks though, since when the machine trashes into swap all tasks blocks and they almost never runs but in such a case we must report that all tasks are trying to make progress and that they're effectively loading the machine even if they sleeps in uninterruptible mode all the time. I'd prefer a generic approch but also a magic for some case like nfs server down could take care of that.
Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 13 lines · Andrea Arcangeli
Quoted 1 line · H. Peter Anvin
Yes, the documentation is broken. Linus did in fact implement this
Well, also the implementation could be improved IMHO, think when we have one houndred of tasks sleeping in uninterruptible mode because the nfs server is down for maintenance. They're no loading the machine at all for half an hour even while the load is 100. For sure the fix is not to account only runnable tasks though, since when the machine trashes into swap all tasks blocks and they almost never runs but in such a case we must report that all tasks are trying to make progress and that they're effectively loading the machine even if they sleeps in uninterruptible mode all the time. I'd prefer a generic approch but also a magic for some case like nfs server down could take care of that.
I've actualy seen this with a bunch of NFS clients idle, and sendmail stops delivering email until the load average drops. What's of more concern is the intense VM implementation Rik has done -- it's a great piece of work, but it appears when heavy swapping is going on, sendmail also stops delivering email as well.
8)
Jeff
Quoted 2 lines
Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/