home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.sendmail
- Path: sparky!uunet!panther!mothost!schbbs!mmuegel
- From: mmuegel@next3.corp.mot.com (Michael S. Muegel)
- Subject: Problems with IDA on SunOS 4.1.3
- Organization: Corporate Computer Services & Support, Motorola, Inc.
- Date: Thu, 5 Nov 1992 05:13:44 GMT
- Message-ID: <1992Nov5.051344.5323@schbbs.mot.com>
- Sender: news@schbbs.mot.com (Net News)
- Nntp-Posting-Host: cssmsm.corp.mot.com
- Lines: 55
-
- I have been using 5.65c+IDA-1.4.4.1 on our two Internet gateways for
- a few weeks now with very few complaints. In fact, it has helped us
- to significantly improve the quality of our SMTP mail service.
-
- So tonight it came time to upgrade one of our two internal WAN SMTP
- gateways. Everything looked good for a few minutes until I started
- seeing processes wth identifiers like this:
-
- -gethostbyname(pobox) failed, sleeping (sendmail)
-
- Problem is, they never went away! It seemed random when a forked sendmail
- server process would start to act like this but eventually enough did
- that I had to kill the IDA sendmail daemon and start using the SunOS
- daemon again.
-
- In each case the lookup had failed on "pobox." Funny thing is, pobox is the
- name of the host! As I said, not all forked sendmail server processes
- exhibited this behavior. In fact, most did not. So mail was going through
- except for these "hung" processes.
-
- I then tried to duplicate the problem on the other internal gateway. I could
- not. I also have never seen the problem on the two external gateways. All
- are running the same IDA binaries, compiled for SunOS 4.1.1.
-
- So next I recompiled for 4.1.3 on that host. Still exhibited the same
- behavior. The two external gateways are running 4.1.2 and the other
- internal gateway I tried to get to exhibit the same behavior on is
- running 4.1.1. All use SunOS named.
-
- I know that the gethostbyname(pobox) call will work. Heck, I even
- chunked out a little C code to prove it to myself. Some of these
- forked processes just seem to somehow get in a state where it will
- *never* work. I let one of the processes that was in this loop run
- for over an hour.
-
- Here is the code segment from daemon.c that causes the loop. I do not
- see anything special about it:
-
- while ((hp = gethostbyname(hostbuf)) == NULL)
- {
- syslog(LOG_ALERT, "gethostbyname for %s failed", hostbuf);
- setproctitle("gethostbyname(%s) failed, sleeping", hostbuf);
- Xsleep(10);
- }
-
- Any help would be MUCH appreciated. Thanks,
- -Mike
-
- --
- +----------------------------------------------------------------------------+
- | Michael S. Muegel | Internet: mmuegel@mot.com |
- | UNIX Applications Startup Group | Moto X.400: X10090 |
- | Corporate Information Office | Voice: (708) 576-0507 |
- | Motorola, Inc. | ... these are my opinions, honest ... |
- +----------------------------------------------------------------------------+
-