Sendmail v8.9.1 on SunOS 4.1.3U1

Thanks to:

Claus Assmann <ca@informatik.uni-kiel.de>

Rich Kulawiec <rsk@gsp.org>

Craig Raskin <raskin@compusec.org>

Karl Vogel <vogelke@c17mis.region2.wpafb.af.mil>

Rich, Craig, & Karl gave me ideas

on troubleshooting, but the correct

answer came from Ed Friedman, via Claus.

>From: Claus Assmann <ca@informatik.uni-kiel.de>

>To:fedor@linus.mcc.com

>In article <EzHGF7.1I7@mcc.com> you write:

> I have a SunOS 4.1.3U1 Mail Hub that I recently compiled

> Sendmail V8.9.1/ BIND 8.1.2/ DB2.1.14 on. They compiled fine,

There's a known problem with Sendmail V8.9.1 and DB2.1.14.

Please take a look at DejaNews, there is an option for DB2

which you need to enable as a workaround.

Or simply use the Sun map type (dbm) till the next release

(8.9.2 will fix this problem).

 

>From: Claus Assmann <ca@informatik.uni-kiel.de>

> What group do I need to look into?

comp.mail.sendmail

It's

--enable-diagnostic

Here's one of those articles:

   Subject: Re: HP-UX 10.20 + Sendmail 8.9.1 - "child wait" problem

   From: Ed Friedman <ed@math.uchicago.edu>

   Date: Fri, 4 Sep 1998 15:04:13 GMT

   Organization: University of Chicago -- Academic Computing Services

   Newsgroups: comp.mail.sendmail [i]

Per Hedeland wrote:

> In article <slrn6ug7l1.9ee.roth@coredump.cso.uiuc.edu>roth@uiuc.edu

> (Mark D. Roth) writes:

> >Has anyone else had this problem? Does anyone know how to solve it?

> >Any info on this would be really appreciated!

>

> Several people have reported problems with sendmail processes hanging/

> looping when using 8.9.x + Berkeley DB 2.x on certain OSes - IIRC, HP-UX

> and SunOS 4 are among those. Whether this is your problem, I don't know,

> but a fix for it is under development and will hopefully be included in

> 8.9.2 - meanwhile, you could try building sendmail with NDBM support

> only (using the native OS implementation) and use that for your maps.

> --Per Hedeland

>per@erix.ericsson.se

The other known fix is to recompile db-2.4.14 with the --enable-diagnostic

flag, then recompile your sendmail with that new db.

Ed Friedman

Original Question:

I recently upgraded our sendmail to v8.9.1 on our SunOS 4.1.3U1

mail hub. It works really good for stopping relaying through

our site. My problem is that I now have processes that tend

to hang for incredibly long periods of time. It is as if the

sendmail processes never time out/complete.

I have read every faq on sendmail I can find, my partner in

crime has went through the sun-managers archives to no avail.

I did install the required patch to the SunOS. Patch 102010-06

which I felt was going to address the problem.

(security denial getsockopt RESET trap leak bus TCP SYN)

The processes continue to hang until the load climbs to 12

and then my sendmail stops accepting input.

I have tweaked on all of the sendmail.cf timeout values

trying to speed up things to get things to time out quicker

but none of that has been any help.

the following are the timeout values as I have them set now.

(I have tried many combinations of things to no avail)

I also turned ident off:

OrIdent=0

# open connection cache timeout

#O ConnectionCacheTimeout=5m

O ConnectionCacheTimeout=1m

#O Timeout.initial=5m

O Timeout.initial=1m

#O Timeout.connect=5m

O Timeout.connect=2m

#O Timeout.iconnect=5m

O Timeout.iconnect=1m

#O Timeout.helo=5m

O Timeout.helo=1m

#O Timeout.mail=10m

O Timeout.mail=1m

#O Timeout.rcpt=1h

O Timeout.rcpt=10m

#O Timeout.datainit=5m

O Timeout.datainit=1m

#O Timeout.datablock=1h

O Timeout.datablock=10m

#O Timeout.datafinal=10m

O Timeout.datafinal=1m

#O Timeout.rset=5m

O Timeout.rset=1m

#O Timeout.quit=2mO Timeout.quit=30s

#O Timeout.misc=2m

O Timeout.misc=30s

#O Timeout.command=1h

O Timeout.command=10m

#O Timeout.fileopen=60s

O Timeout.fileopen=60s

#O Timeout.ident=30s

#O Timeout.hoststatus=30m

O Timeout.hoststatus=1m

Thanks in advance for any light anyone can shed on this

problem.

 ------------------------------------------------------------------------

 Lee A. Fedor, UNIX Systems Administration Manager :

 Microelectronics & Computer Phone : (512)338-3505

              Technology Corporation Fax : (512)338-3887

 3500 West Balcones Center Drive Office : 3.407

 Austin, Texas 78759-5398 Internet:fedor@mcc.com

 ------------------------------------------------------------------------

[7341 byte] By [CodeProf.com] at [2007-12-25 11:25:00]
«« ndd
»» Users/Rlogin