Date: Mon, 26 Feb 2001 21:42:17 -0700 From: "John J. Rushford Jr" <jjr@sapphire.alisa.org> To: Ask Bjoern Hansen <ask@valueclick.com>, freebsd-questions@FreeBSD.ORG Subject: Re: sendmail hangs Message-ID: <01022621452500.00548@snow.alisa.org> In-Reply-To: <Pine.LNX.4.21.0102262017530.12317-100000@impatience.valueclick.com> References: <Pine.LNX.4.21.0102262017530.12317-100000@impatience.valueclick.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 26 Feb 2001, Ask Bjoern Hansen wrote: > Hi, > > I'm usually a qmail person, but on one of the boxes I am looking > after we run sendmail. > > After upgrading 4.2-STABLE (from late January to the > latest) sendmail seems to hang for approximately forever before > moving on. > > `truss mailq 2> /tmp/foo` seems to print everything it will put in > the /tmp/foo file but hang for a long time after this. > > ... > ffstat(0,0xbfbfe788) = 0 (0x0) > fstat(1,0xbfbfe788) = 0 (0x0) > fstat(2,0xbfbfe788) = 0 (0x0) > open("/dev/urandom",0,00) = 3 (0x3) > read(0x3,0x28237aa4,0x7c) = 124 (0x7c) > close(3) = 0 (0x0) > getgroups(0x10,0x80b78a0) = 8 (0x8) > getegid() = 0 (0x0) > [EOF] > > any clues or should I get gdb out? > Interesting, I just posted a question about this same problem. However, I only noticed it after adding the following kernel options: options IPSEC options IPSEC_ESP options IPSEC_DEBUG When I boot from a kernel without these options, sendmail no-longer hangs. With these options it hangs and I see the same thing you do with truss. -- John J. Rushford jjr@alisa.org jjr@cs.du.edu http://www.cs.du.edu/~jjr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01022621452500.00548>