Hi,

>>>>> On Wed, 31 Jan 2001 14:44:38 -0500
>>>>> Lawrence Greenfield <[EMAIL PROTECTED]> said:

leg+> I've just put version 2.0.11 on the ftp site; it's mostly an
leg+> accumulation of small bugfixes since 2.0.9 and is very similiar to
leg+> what we're running in production on cyrus.andrew.cmu.edu.

leg+> We now consider the 2.0 line production quality code.

Is it actually working?
1st time, the connection is accepted.  But, 2nd time, master wouldn't
accept any connections.
When imapd, pop3d or something is invoked, MASTER_SERVICE_UNAVAILABLE
is notified to master via pipe.  However, master wouldn't hear this
message.  As the result, once child process is invoked,
s->ready_workers has non zero value and it wouldn't back to zero.
Then master becomes never listen for connections.
In 2.0.9, unlimit_fds() was defined but it was never used.  In 2.0.11,
limit_fds() that is rewrite version of unlimit_fds() is activated.
This causes the problem at least under FreeBSD 4.2-STABLE.
So, I put following patch for workaround and it's working:

Index: master/master.c
diff -u master/master.c.orig master/master.c
--- master/master.c.orig        Tue Jan 30 06:53:26 2001
+++ master/master.c     Fri Feb  2 05:48:48 2001
@@ -969,7 +969,9 @@
        }
     }
 
+#ifndef __FreeBSD__
     limit_fds(RLIM_INFINITY);
+#endif
 
     /* zero out the children table */
     memset(&ctable, 0, sizeof(struct centry *) * child_table_size);


I hear from my friend that there is same problem on his Solaris8 box.

When I had been working on merging my IPv6 support code for 2.0.9 into
2.0.11, I met this problem.  But, this problem also occurs with plain
2.0.11.
There are my IPv6 patch and FreeBSD port of 2.0.11:

  IPv6 patch:
    http://www.imasy.or.jp/~ume/ipv6/cyrus-imapd-2.0.11-ipv6-20010201.diff.gz
    http://www.imasy.or.jp/~ume/ipv6/cyrus-sasl-1.5.24-ipv6-20001226.diff.gz
  cyrus-imapd 2.0.11 FreeBSD port:
    http://www.imasy.or.jp/~ume/ipv6/cyrus-port-20010201.tar.gz

About a month ago, I sent my IPv6 patch for 2.0.9 to
[EMAIL PROTECTED]  But, I have never hear any response.  Is
cyrus guys actually read the report?  Or, don't they interest in IPv6
support?

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
[EMAIL PROTECTED]  [EMAIL PROTECTED]  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/

Reply via email to