From david@kineticode.com Thu Jun 5 14:29:51 2003 Received: with ECARTIS (v1.0.0; list fam); Thu, 05 Jun 2003 14:29:55 -0700 (PDT) Received: from mercury.kineticode.com (dsl092-190-153.sfo1.dsl.speakeasy.net [66.92.190.153]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h55LTo2x013756 for ; Thu, 5 Jun 2003 14:29:50 -0700 Received: from kineticode.com (localhost [127.0.0.1]) by mercury.kineticode.com (8.12.9/8.12.6) with ESMTP id h55LTqMG001646 for ; Thu, 5 Jun 2003 14:29:52 -0700 (PDT) Date: Thu, 5 Jun 2003 14:29:50 -0700 Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: Building FAM on FreeBSD From: David Wheeler To: fam@oss.sgi.com Content-Transfer-Encoding: 7bit Message-Id: X-Mailer: Apple Mail (2.552) X-archive-position: 137 X-ecartis-version: Ecartis v1.0.0 Sender: fam-bounce@oss.sgi.com Errors-to: fam-bounce@oss.sgi.com X-original-sender: david@kineticode.com Precedence: bulk X-list: fam Hi, I'm attempting to build FAM 2.6.10 on FreeBSD 4.6-STABLE. I've applied the freebsd-mntent.patch: patch -p1 <../freebsd-mntent.patch but I still get this configure error: configure: error: Didn't find MNTTYPE_NFS in mntent.h Anyone have a suggestion for what I might be missing to get this to work? TIA, David -- David Wheeler AIM: dwTheory david@kineticode.com ICQ: 15726394 http://kineticode.com/ Yahoo!: dew7e Jabber: Theory@jabber.org Kineticode. Setting knowledge in motion.[sm] From michael.wardle@adacel.com Thu Jun 5 17:04:17 2003 Received: with ECARTIS (v1.0.0; list fam); Thu, 05 Jun 2003 17:04:22 -0700 (PDT) Received: from adacel.com (gunsmoke.adacel.com.au [210.11.130.7]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h5604F2x018649 for ; Thu, 5 Jun 2003 17:04:16 -0700 Received: from nexus.adacel.com (Not Verified[10.32.240.1]) by adacel.com with MailMarshal (v5,0,3,91) id ; Fri, 06 Jun 2003 10:00:48 +1000 Received: (qmail 30721 invoked from network); 6 Jun 2003 00:01:49 -0000 Received: from unknown (HELO hera.wodonga.adacel.com.au) (192.168.75.251) by nexus.adacel.com with SMTP; 6 Jun 2003 00:01:47 -0000 Received: from selene.wodonga.adacel.com.au (selene.wodonga.adacel.com.au [192.168.75.55]) by hera.wodonga.adacel.com.au (8.11.6/8.11.6) with ESMTP id h56061E01126; Fri, 6 Jun 2003 10:06:01 +1000 From: Michael Wardle Organization: Adacel Technologies To: David Wheeler Subject: Re: Building FAM on FreeBSD Date: Fri, 6 Jun 2003 10:05:30 +1000 User-Agent: KMail/1.5 References: In-Reply-To: Cc: fam@oss.sgi.com MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200306061005.30714.michael.wardle@adacel.com> X-archive-position: 138 X-ecartis-version: Ecartis v1.0.0 Sender: fam-bounce@oss.sgi.com Errors-to: fam-bounce@oss.sgi.com X-original-sender: michael.wardle@adacel.com Precedence: bulk X-list: fam Hi David On Friday 06 June 2003 07:29, David Wheeler wrote: > I'm attempting to build FAM 2.6.10 on FreeBSD 4.6-STABLE. I've applied > the freebsd-mntent.patch: > > patch -p1 <../freebsd-mntent.patch > > but I still get this configure error: > > configure: error: Didn't find MNTTYPE_NFS in mntent.h > > Anyone have a suggestion for what I might be missing to get this to > work? The patch makes changes to "configure.in" and "Makefile.am". These changes are not usable until you run "autoconf" and "automake" at the top level. Hopefully this is all you need to do to get things working. Let me know how you go. -- Michael Wardle Adacel Technologies From david@kineticode.com Thu Jun 5 17:59:28 2003 Received: with ECARTIS (v1.0.0; list fam); Thu, 05 Jun 2003 17:59:32 -0700 (PDT) Received: from mercury.kineticode.com (dsl092-190-153.sfo1.dsl.speakeasy.net [66.92.190.153]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h560xR2x020323 for ; Thu, 5 Jun 2003 17:59:28 -0700 Received: from kineticode.com (localhost [127.0.0.1]) by mercury.kineticode.com (8.12.9/8.12.6) with ESMTP id h560xMMG001750; Thu, 5 Jun 2003 17:59:23 -0700 (PDT) Date: Thu, 5 Jun 2003 17:59:21 -0700 Subject: Re: Building FAM on FreeBSD Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) Cc: fam@oss.sgi.com To: Michael Wardle From: David Wheeler In-Reply-To: <200306061005.30714.michael.wardle@adacel.com> Message-Id: <1BB55CE6-97BA-11D7-8177-0003931A964A@kineticode.com> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) X-archive-position: 139 X-ecartis-version: Ecartis v1.0.0 Sender: fam-bounce@oss.sgi.com Errors-to: fam-bounce@oss.sgi.com X-original-sender: david@kineticode.com Precedence: bulk X-list: fam On Thursday, June 5, 2003, at 05:05 PM, Michael Wardle wrote: > The patch makes changes to "configure.in" and "Makefile.am". These > changes > are not usable until you run "autoconf" and "automake" at the top > level. > Hopefully this is all you need to do to get things working. Thanks Michael, that helps. I upgraded my copy of autoconf to the latest, and it works, but then automake generates some warnings: % automake configure.in: 834: required file `./_AM_File,.in' not found configure.in: 834: required file `./[$2],.in' not found configure.in: 834: required file `./[$3])].in' not found Configure works, but then when I run make, it fails: % gmake Makefile:175: warning: overriding commands for target `_AM_File' Makefile:165: warning: ignoring old commands for target `_AM_File' Makefile:194: warning: overriding commands for target `[]' Makefile:184: warning: ignoring old commands for target `[]' cd . && aclocal-1.6 /usr/local/bin/bash: aclocal-1.6: command not found gmake: *** [aclocal.m4] Error 127 I'm sure that there must be just one more thing that I'm missing... TIA, David -- David Wheeler AIM: dwTheory david@kineticode.com ICQ: 15726394 http://kineticode.com/ Yahoo!: dew7e Jabber: Theory@jabber.org Kineticode. Setting knowledge in motion.[sm] From jerry@pbs.com Fri Jun 13 10:50:17 2003 Received: with ECARTIS (v1.0.0; list fam); Fri, 13 Jun 2003 10:50:23 -0700 (PDT) Received: from mail.pbs.com (mail.pbs.com [208.252.142.41]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h5DHoG2x002408 for ; Fri, 13 Jun 2003 10:50:17 -0700 Received: from pbs.com (mailhost.pbs.com [::ffff:192.9.200.7]) by pbs.com with esmtp; Fri, 13 Jun 2003 11:55:22 -0500 Received: from pbs.com ([::ffff:192.9.200.212]) by pbs.com with esmtp; Fri, 13 Jun 2003 11:51:35 -0500 Message-ID: <3EEA0131.1050502@pbs.com> Date: Fri, 13 Jun 2003 11:52:01 -0500 From: Jerry Amundson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Courier-Users , courier-imap@lists.sourceforge.net, fam@oss.sgi.com Subject: Re: [courier-users] fam, IDLE, and 0.40.1 delay References: <3E2C3147.6050608@pbs.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-archive-position: 140 X-ecartis-version: Ecartis v1.0.0 Sender: fam-bounce@oss.sgi.com Errors-to: fam-bounce@oss.sgi.com X-original-sender: jerry@pbs.com Precedence: bulk X-list: fam Jerry Amundson wrote: > Recently installed a sweet new Courier server - dual Xeon, lots of RAM, > disk, etc. It's running Red Hat Linux 7.3, and: > > [root@uhura xinetd.d]# rpm -q fam > fam-2.6.7-6 > [root@uhura xinetd.d]# rpm -qa | grep courier > courier-0.40.1-1.7.3 > courier-imapd-0.40.1-1.7.3 > courier-maildrop-0.40.1-1.7.3 > courier-pop3d-0.40.1-1.7.3 > courier-webmail-0.40.1-1.7.3 > courier-smtpauth-0.40.1-1.7.3 > > All requirements are in place for IMAP_ENHANCEDIDLE, but when I enable > it, Outlook starts having about a 15 second delay switching between > messages *sometimes*. I could find no rhyme or reason to it, so for now > I have IMAP_ENHANCEDIDLE disabled. > > I have not changed /etc/xinetd.d/sgi_fam and /etc/fam.conf from the > stock install. I could do some troubleshooting off hours, if need be... > Thoughts? > > Thanks, > jerry Just wanted to put this oldy-but-goody to rest. I originally posted the above message on January 20th 2003. I revisited my problem after reading recent discussions about ext3 and performance on directories with "over 10,000 files" (or something along those lines). Sure enough, one user had an Inbox with 15,000+ messages (15,577 when I last counted accurately). I theorized that performance tanked when she logged in. I arranged with her to move about 13,000 of them to another maildir that she can filter through at her leisure. Then, with fingers crossed, I set IMAP_ENHANCEDIDLE=1 in etc/imapd. Sure enough, the system looks better. When fam and imapd process hit the system now, it's just for bursts of less than 1 second. PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND 8 root 18 0 0 0 0 SW 3.2 0.0 753:35 kscand 5438 root 13 0 9288 9288 848 S 1.2 0.2 11:38 fam 29238 username 12 0 1260 1260 716 S 0.8 0.0 0:05 imapd Lastly, upgrading to Courier 0.42.2 last night also seemed to improve overall imapd performance, though that may just be the voices in my head... The server now has around 87 IMAP clients at various times, of which the Top Ten have between 1000 and 5000 messages in the Inbox. Courier, FAM, and everything else this box does, are getting along nicely again! In summary, IMAP_ENHANCEDIDLE=1 -> imapd is fam client -> With 15,000+ message Inbox, Things are "BAD". IMAP_ENHANCEDIDLE=0 -> imapd is NOT fam client -> With 15,000+ message Inbox, Things are "OK". IMAP_ENHANCEDIDLE=1 -> imapd is fam client -> With "normal" number of message in Inbox, Things are "GOOD". Sincerely, jerry