This is a result of the file descriptor problem we were having; I
posted a patch several days ago.  Let me know if you can't find it.

Larry

   Date: Tue, 13 Feb 2001 00:23:31 -0500 (EST)
   From: "Marc G. Fournier" <[EMAIL PROTECTED]>

   Just tried going back to db 3.1.17, to see if that makes a difference, and
   it doesn't appear to ... still dies after that first connection ...


   On Mon, 12 Feb 2001, Marc G. Fournier wrote:

   >
   > are there any known problems with 2.0.11?  I've upgraded one of my
   > servers, and the following happens if I try and connect a second time, and
   > similar seems to happen with lmtpd ... I can run sendmail once, but the
   > second time just hangs, cause lmtpd died ...
   >
   > System is FreeBSD 4.2-RELEASE, running db 3.2.9 ...
   >
   > mobile# !/usr
   > /usr/cyrus/bin/master &
   > [1] 12432
   > mobile# telnet localhost imap
   > Trying ::1...
   > telnet: connect to address ::1: Connection refused
   > Trying 127.0.0.1...
   > Connected to localhost.
   > Escape character is '^]'.
   > * OK mobile.hub.org Cyrus IMAP4 v2.0.11 server ready
   > ^]
   > telnet> quit
   > Connection closed.
   > mobile# telnet localhost imap
   > Trying ::1...
   > telnet: connect to address ::1: Connection refused
   > Trying 127.0.0.1...
   > Connected to localhost.
   > Escape character is '^]'.
   >
   > A truss shows:
   >
   > ==========================================================
   >
   > mobile# !ps
   > ps ax | grep master
   > 12471  pa  S      0:00.03 /usr/cyrus/bin/master
   > 12478  pa  R+     0:00.00 grep master
   > mobile# truss -p 12471
   > (null)()                                         = 1 (0x1)
   > fork()                                           = 12481 (0x30c1)
   > gettimeofday(0xbfbffb14,0x0)                     = 0 (0x0)
   >
   > <type ^] to exist>
   >
   >
   > SIGNAL 20
   > SIGNAL 20
   > SIGNAL 20
   > select(0x10,0xbfbffb7c,0x0,0x0,0xbfbffb74)       ERR#4 'Interrupted system call'
   > sigreturn(0xbfbff98c)                            ERR#4 'Interrupted system call'
   > gettimeofday(0xbfbffb14,0x0)                     = 0 (0x0)
   > wait4(0xffffffff,0xbfbffb28,0x1,0x0)             = 12481 (0x30c1)
   > gettimeofday(0xbfbfee44,0x0)                     = 0 (0x0)
   > getpid()                                         = 12471 (0x30b7)
   > sendto(0x3,0xbfbff2cc,0x42,0x0,0x0,0x0)          = 66 (0x42)
   > wait4(0xffffffff,0xbfbffb28,0x1,0x0)             = 0 (0x0)
   >
   >
   > <try to start up a second connection>
   >
   > ==========================================================
   >
   > I have to kill off master and restart it again to get a second connection
   > in ..
   >
   >
   >
   > Marc G. Fournier                               [EMAIL PROTECTED]
   > Systems Administrator @ hub.org
   > scrappy@{postgresql|isc}.org                       ICQ#7615664
   >
   >

   Marc G. Fournier                               [EMAIL PROTECTED]
   Systems Administrator @ hub.org
   scrappy@{postgresql|isc}.org                       ICQ#7615664


Reply via email to