[comp.mail.sendmail] running sendmail 5.64 + IDA on [3p]max's

steven@uicadd.csl.uiuc.edu (Steven Parkes) (09/18/90)

Well, we've been running 5.64+IDA (from uxc.cso.uiuc.edu + a few little changes)
under Ultrix 4.0 for a couple of weeks now ...

... and I've finally tracked down why the stupid thing grows without bound.
The way I have it compiled, it uses the generic getloadavg call, which fails,
which is no big problem -- happens the same way on our Ultrix 4.0 vaxes.
However, on the [3p]max's, the nlist call that is done in getloadavg causes
the process size to grow about ... oh heck, I don't have the data anymore, but
it was at least several KB and since it does this little number every time
someone connects to the smtp socket, it doesn't take more than a few days
before it eats all your virital memory.

So if you're going to run this, either fix getloadavg (too much work) or put
in a flag that keeps it from executing nlist over and over.  Interestingly
enough, they have a cache flag so that nlist doesn't get called over and over,
but it doesn't get used if the nlist call fails.

BTW, in the process of tracking this down, I found a great way to bring the
whole system down ... if you use dbx or gdb to debug sendmail and put break
points in, just about anything you do (run, stop, continue ...) will cause a
kernal panic.

steven parkes ---------------------------------------
University of Illinois Coordinated Science Laboratory
steven@pacific.csl.uiuc.edu -------------------------