From danny_milo@yahoo.com Thu Jan 2 14:46:10 2003 Received: with ECARTIS (v1.0.0; list fam); Thu, 02 Jan 2003 14:46:18 -0800 (PST) Received: from web40912.mail.yahoo.com (web40912.mail.yahoo.com [66.218.78.209]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h02MkA3v013359 for ; Thu, 2 Jan 2003 14:46:10 -0800 Message-ID: <20030102225121.47421.qmail@web40912.mail.yahoo.com> Received: from [62.46.69.102] by web40912.mail.yahoo.com via HTTP; Thu, 02 Jan 2003 23:51:21 CET Date: Thu, 2 Jan 2003 23:51:21 +0100 (CET) From: =?iso-8859-1?q?Danny=20Milosavljevic?= Subject: NFS -> Remote FAM ? To: fam@oss.sgi.com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-archive-position: 51 X-ecartis-version: Ecartis v1.0.0 Sender: fam-bounce@oss.sgi.com Errors-to: fam-bounce@oss.sgi.com X-original-sender: danny_milo@yahoo.com Precedence: bulk X-list: fam Hi! I'm using fam for a long time now and I have to say its really good ^^ However I believe I broke something on the last system update... notably the remote fam thing... So I have a few questions: 1) By which messages do I notice if fam connects successfully to a remote fam - when I use "debug mode" like with the following command (on both fams) "fam -f -v -d -T 0 -t 0 -c /etc/fam.conf" ? 2) What conditions must be met for remote fam to work? (I'm using fam to monitor a nfs mounted file) Thanks in advance ! :) __________________________________________________________________ Gesendet von Yahoo! Mail - http://mail.yahoo.de Weihnachts-Einkäufe ohne Stress! http://shopping.yahoo.de From jasonflatt@wizard.com Fri Jan 3 08:19:02 2003 Received: with ECARTIS (v1.0.0; list fam); Fri, 03 Jan 2003 08:19:05 -0800 (PST) Received: from 100m.mpr200-2.esr.lvcm.net (IDENT:mirapoint@100m.mpr200-2.esr.lvcm.net [24.234.0.81]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h03GJ13v011674 for ; Fri, 3 Jan 2003 08:19:02 -0800 Received: from jason (cm063.45.234.24.lvcm.com [24.234.45.63]) by 100m.mpr200-2.esr.lvcm.net (Mirapoint Messaging Server MOS 2.9.3.5) with ESMTP id AOZ26380; Fri, 3 Jan 2003 08:24:19 -0800 (PST) Content-Type: text/plain; charset="us-ascii" From: Jason Flatt To: fam@oss.sgi.com Subject: Compile error . . . Date: Fri, 3 Jan 2003 08:24:08 +0000 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200301030824.08559.jasonflatt@wizard.com> X-archive-position: 52 X-ecartis-version: Ecartis v1.0.0 Sender: fam-bounce@oss.sgi.com Errors-to: fam-bounce@oss.sgi.com X-original-sender: jasonflatt@wizard.com Precedence: bulk X-list: fam I am attempting to compile and install FAM as a prerequite the the Courier MTA, but I am having compile errors as listed below. I am running the 2.4.19 version of the kernel, if that has anything to do with it. Making all in test make[2]: Entering directory `/usr/src/fam-2.6.9/test' c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DCONFIG_ETC_CONFIG_PATH=\"/usr/local/etc/fam.conf\" -I /opt/gcc2/include -march=i686 -O3 -c test.c++ /bin/sh ../libtool --mode=link c++ -march=i686 -O3 -s -o test test.o ../libfam/libfam.la mkdir .libs c++ -march=i686 -O3 -s -o .libs/test test.o ../libfam/.libs/libfam.so /usr/lib/libstdc++.so -L/usr/src/gcc-3.2.bld/i686-pc-linux-gnu/libstdc++-v3/src -L/usr/src/gcc-3.2.bld/i686-pc-linux-gnu/libstdc++-v3/src/.libs -lm -lm -lm -L/usr/src/gcc-3.2.bld/gcc -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2 -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../.. -lgcc_s -lc -lgcc_s -lm -lgcc_s -lc -lgcc_s -Wl,--rpath -Wl,/usr/local/lib ../libfam/.libs/libfam.so: undefined reference to `__rtti_user' ../libfam/.libs/libfam.so: undefined reference to `__check_eh_spec' ../libfam/.libs/libfam.so: undefined reference to `terminate(void)' ../libfam/.libs/libfam.so: undefined reference to `__start_cp_handler' ../libfam/.libs/libfam.so: undefined reference to `__cp_pop_exception' ../libfam/.libs/libfam.so: undefined reference to `__builtin_vec_new' ../libfam/.libs/libfam.so: undefined reference to `__builtin_vec_delete' ../libfam/.libs/libfam.so: undefined reference to `__builtin_delete' ../libfam/.libs/libfam.so: undefined reference to `__builtin_new' collect2: ld returned 1 exit status make[2]: *** [test] Error 1 make[2]: Leaving directory `/usr/src/fam-2.6.9/test' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/fam-2.6.9' make: *** [all-recursive-am] Error 2 -- Jason Flatt E-mail (remove the spaces): jasonflatt @ wizard . com Voice: +1 702 870 6622 Fax: +1 702 870 3883 Snail Mail: PO Box 44265, Las Vegas, NV 89116-2265, USA From danny_milo@yahoo.com Sat Jan 4 06:00:40 2003 Received: with ECARTIS (v1.0.0; list fam); Sat, 04 Jan 2003 06:00:48 -0800 (PST) Received: from web40907.mail.yahoo.com (web40907.mail.yahoo.com [66.218.78.204]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h04E0e3v005926 for ; Sat, 4 Jan 2003 06:00:40 -0800 Message-ID: <20030104140558.81023.qmail@web40907.mail.yahoo.com> Received: from [62.46.68.56] by web40907.mail.yahoo.com via HTTP; Sat, 04 Jan 2003 15:05:58 CET Date: Sat, 4 Jan 2003 15:05:58 +0100 (CET) From: =?iso-8859-1?q?Danny=20Milosavljevic?= Subject: Re: Compile error . . . To: fam@oss.sgi.com In-Reply-To: <200301030824.08559.jasonflatt@wizard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-archive-position: 53 X-ecartis-version: Ecartis v1.0.0 Sender: fam-bounce@oss.sgi.com Errors-to: fam-bounce@oss.sgi.com X-original-sender: danny_milo@yahoo.com Precedence: bulk X-list: fam Does just the test program fail to work? You could just remove it from the makefile then... The reason why compiling fails imo is the "-lc" in the linker line... remove it and it should work... See gcc discussion pages... __________________________________________________________________ Gesendet von Yahoo! Mail - http://mail.yahoo.de Weihnachts-Einkäufe ohne Stress! http://shopping.yahoo.de From jasonflatt@wizard.com Sun Jan 5 20:34:54 2003 Received: with ECARTIS (v1.0.0; list fam); Sun, 05 Jan 2003 20:35:01 -0800 (PST) Received: from 100m.mpr200-2.esr.lvcm.net (IDENT:mirapoint@100m.mpr200-2.esr.lvcm.net [24.234.0.81]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h064Ys3v013303 for ; Sun, 5 Jan 2003 20:34:54 -0800 Received: from jason (cm063.45.234.24.lvcm.com [24.234.45.63]) by 100m.mpr200-2.esr.lvcm.net (Mirapoint Messaging Server MOS 2.9.3.5) with ESMTP id APB42710; Sun, 5 Jan 2003 20:40:22 -0800 (PST) Content-Type: text/plain; charset="iso-8859-1" From: Jason Flatt To: fam@oss.sgi.com Subject: Re: Compile error . . . Date: Sun, 5 Jan 2003 20:40:06 +0000 User-Agent: KMail/1.4.3 References: <20030104140558.81023.qmail@web40907.mail.yahoo.com> In-Reply-To: <20030104140558.81023.qmail@web40907.mail.yahoo.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200301052040.06679.jasonflatt@wizard.com> X-archive-position: 54 X-ecartis-version: Ecartis v1.0.0 Sender: fam-bounce@oss.sgi.com Errors-to: fam-bounce@oss.sgi.com X-original-sender: jasonflatt@wizard.com Precedence: bulk X-list: fam On Saturday 04 January 2003 02:05 pm, Danny Milosavljevic wrote: > Does just the test program fail to work? You could > just remove it from the makefile then... > > The reason why compiling fails imo is the "-lc" in the > linker line... remove it and it should work... See gcc > discussion pages... OK, that error is gone, but now I get the following: g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DCONFIG_ETC_CONFIG_PATH=\"/etc/fam.conf\" -g -O2 -c -o Scheduler.o `test -f 'Scheduler.c++' || echo './'`Scheduler.c++ Scheduler.c++:37: uninitialized const member `Scheduler::IOTypeInfo::iotype' Scheduler.c++:38: uninitialized const member `Scheduler::IOTypeInfo::iotype' make[2]: *** [Scheduler.o] Error 1 make[2]: Leaving directory `/usr/src/fam-2.6.9/fam' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/fam-2.6.9' make: *** [all] Error 2 Also, the imon patch on the site does not work 100% w/kernels 2.4.18, 2.4.19 and 2.4.20. I was just going to modify the patch to work w/the kernels that I am working in (19 and 20), but before I do, is it even necessary with the latest version of FAM? -- Jason Flatt E-mail (remove the spaces): jasonflatt @ wizard . com Voice: +1 702 870 6622 Fax: +1 702 870 3883 Snail Mail: PO Box 44265, Las Vegas, NV 89116-2265, USA From michael.wardle@adacel.com Sun Jan 5 21:04:38 2003 Received: with ECARTIS (v1.0.0; list fam); Sun, 05 Jan 2003 21:04:41 -0800 (PST) Received: from nexus.adacel.com ([210.11.130.1]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h0654b3v013580 for ; Sun, 5 Jan 2003 21:04:38 -0800 Received: (qmail 30641 invoked from network); 6 Jan 2003 05:06:54 -0000 Received: from unknown (HELO proton.adacel.com.au) (203.8.85.90) by nexus.adacel.com with SMTP; 6 Jan 2003 05:06:54 -0000 Received: from hera.wodonga.adacel.com.au (hera.wodonga.adacel.com.au [192.168.75.251]) by proton.adacel.com.au (8.8.8+Sun/8.8.8) with SMTP id QAA07387 for ; Mon, 6 Jan 2003 16:09:51 +1100 (EST) Received: (qmail 12837 invoked from network); 6 Jan 2003 04:56:53 -0000 Received: from selene.wodonga.adacel.com.au (192.168.75.55) by hera.wodonga.adacel.com.au with SMTP; 6 Jan 2003 04:56:53 -0000 Subject: Re: [SISE FAM] Re: Compile error . . . From: Michael Wardle To: Jason Flatt Cc: fam@oss.sgi.com In-Reply-To: <200301052040.06679.jasonflatt@wizard.com> References: <20030104140558.81023.qmail@web40907.mail.yahoo.com> <200301052040.06679.jasonflatt@wizard.com> Content-Type: text/plain Organization: Adacel Technologies Message-Id: <1041830073.1458.70.camel@selene.wodonga.adacel.com.au> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 (1.2.0-2) Date: 06 Jan 2003 16:14:33 +1100 Content-Transfer-Encoding: 7bit X-archive-position: 55 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 On Mon, 2003-01-06 at 07:40, Jason Flatt wrote: > OK, that error is gone, but now I get the following: > > g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include > -DCONFIG_ETC_CONFIG_PATH=\"/etc/fam.conf\" -g -O2 -c -o Scheduler.o `test > -f 'Scheduler.c++' || echo './'`Scheduler.c++ > Scheduler.c++:37: uninitialized const member `Scheduler::IOTypeInfo::iotype' > Scheduler.c++:38: uninitialized const member `Scheduler::IOTypeInfo::iotype' Remove "const" from the iotype declaration in Scheduler.h and recompile. > Also, the imon patch on the site does not work 100% w/kernels 2.4.18, 2.4.19 > and 2.4.20. I was just going to modify the patch to work w/the kernels that > I am working in (19 and 20), but before I do, is it even necessary with the > latest version of FAM? The IMon patch is no longer officially support as it took too much of my time to produce for each desired Linux (kernel) version. As you will know, you can run FAM without the IMon patch, but it will not perform as well. You can also apply the DNotify patch to make FAM use the Linux 2.4 directory notification API, but please be aware that this patch causes some problems when monitoring several thousand files. More information and links on the FAM home page . The FAQ and Download pages will be of particular interest. -- Michael Wardle Adacel Technologies From nathan.thompson-amato@dnamerican.com Mon Jan 6 09:58:17 2003 Received: with ECARTIS (v1.0.0; list fam); Mon, 06 Jan 2003 09:58:25 -0800 (PST) Received: from montecarlo.DNAMERICAN.COM ([66.109.177.66]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h06HwA3v029452 for ; Mon, 6 Jan 2003 09:58:17 -0800 Received: from [66.109.177.10] by montecarlo.DNAMERICAN.COM (NTMail 3.03.0018/4c.adtc) with ESMTP id da100051 for ; Mon, 6 Jan 2003 13:10:16 -0500 Message-ID: <3E19C4A8.6020101@dnamerican.com> Date: Mon, 06 Jan 2003 13:02:16 -0500 From: Nathan Thompson-Amato Organization: D.N. American User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021202 X-Accept-Language: en-us, en MIME-Version: 1.0 To: fam@oss.sgi.com Subject: Implementing FAMMoved Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-archive-position: 56 X-ecartis-version: Ecartis v1.0.0 Sender: fam-bounce@oss.sgi.com Errors-to: fam-bounce@oss.sgi.com X-original-sender: nathan.thompson-amato@dnamerican.com Precedence: bulk X-list: fam Hi all, Can anybody tell me why Fam doesn't actually use the FAMMoved event type? I looked around for an explanation, but the only mention of FAMMoved I saw was the brief one in the man page. Thanks, Nathan From kslim@bic.nus.edu.sg Tue Jan 7 03:23:45 2003 Received: with ECARTIS (v1.0.0; list fam); Tue, 07 Jan 2003 03:24:20 -0800 (PST) Received: from leonis.nus.edu.sg (leonis.nus.edu.sg [137.132.1.18]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h07BMF3v030723 for ; Tue, 7 Jan 2003 03:23:44 -0800 Received: from troy.bic.nus.edu.sg (troy.bic.nus.edu.sg [137.132.19.113]) by leonis.nus.edu.sg (8.12.1/8.12.1) with ESMTP id h07BTD5P001973 for ; Tue, 7 Jan 2003 19:29:16 +0800 (SGT) Message-Id: <5.1.1.6.0.20030107190604.0294cba0@viper.chrysler.org.sg> X-Sender: kslim@mail.bic.nus.edu.sg X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Tue, 07 Jan 2003 19:30:52 +0800 To: fam@oss.sgi.com From: Lim Kuan Siong Subject: NOGROUP undefined in Cred.c++ Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-archive-position: 57 X-ecartis-version: Ecartis v1.0.0 Sender: fam-bounce@oss.sgi.com Errors-to: fam-bounce@oss.sgi.com X-original-sender: kslim@bic.nus.edu.sg Precedence: bulk X-list: fam Hi everyone, I am trying to compile fam 2.6.9 on IRIX 6.5. However, I encounter the following error: ---------- Start of error ---------- cc-1020 CC: ERROR File = Cred.c++, Line = 97 The identifier "NOGROUP" is undefined. primary_group = untrusted.is_valid() ? untrusted.gid() : NOGROUP; ^ 1 error detected in the compilation of "Cred.c++". ---------- End of error ---------- I have searched the archive but did not see any posting that mentions this error. From the fam changelog, I noticed that "NOGROUP" was added in 2.6.8. I would be grateful if someone would point me in the right direction so that I can correct this error. BTW, I tried to compile fam using g++ by setting the environment variable CXX to g++ but the configure script still uses "cc" as the C++ compiler. Is there a method of getting the script to use g++ instead? Thank you very much in advance for any help. Regards, Kuan Siong Lim Bioinformatics Centre, National University of Singapore From michael.wardle@adacel.com Tue Jan 7 14:19:34 2003 Received: with ECARTIS (v1.0.0; list fam); Tue, 07 Jan 2003 14:19:40 -0800 (PST) Received: from nexus.adacel.com ([210.11.130.1]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h07MHe3v000777 for ; Tue, 7 Jan 2003 14:19:34 -0800 Received: (qmail 4271 invoked from network); 7 Jan 2003 22:19:53 -0000 Received: from unknown (HELO proton.adacel.com.au) (203.8.85.90) by nexus.adacel.com with SMTP; 7 Jan 2003 22:19:52 -0000 Received: from hera.wodonga.adacel.com.au (hera.wodonga.adacel.com.au [192.168.75.251]) by proton.adacel.com.au (8.8.8+Sun/8.8.8) with SMTP id JAA23798 for ; Wed, 8 Jan 2003 09:23:10 +1100 (EST) Received: (qmail 14910 invoked from network); 7 Jan 2003 22:23:08 -0000 Received: from selene.wodonga.adacel.com.au (192.168.75.55) by hera.wodonga.adacel.com.au with SMTP; 7 Jan 2003 22:23:08 -0000 Subject: Re: [SISE FAM] NOGROUP undefined in Cred.c++ From: Michael Wardle To: Lim Kuan Siong Cc: fam@oss.sgi.com In-Reply-To: <5.1.1.6.0.20030107190604.0294cba0@viper.chrysler.org.sg> References: <5.1.1.6.0.20030107190604.0294cba0@viper.chrysler.org.sg> Content-Type: text/plain Organization: Adacel Technologies Message-Id: <1041978490.16507.33.camel@selene.wodonga.adacel.com.au> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 (1.2.0-2) Date: 08 Jan 2003 09:28:10 +1100 Content-Transfer-Encoding: 7bit X-archive-position: 58 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 On Tue, 2003-01-07 at 22:30, Lim Kuan Siong wrote: > ---------- Start of error ---------- > cc-1020 CC: ERROR File = Cred.c++, Line = 97 > The identifier "NOGROUP" is undefined. On IRIX, this constant is called GID_NOBODY, so you can change NOGROUP to that and rebuild. I should probably figure out how I can detect this on a per-OS basis using GNU autoconf. > BTW, I tried to compile fam using g++ by setting the environment variable > CXX to g++ but the configure script still uses "cc" as the C++ compiler. Is > there a method of getting the script to use g++ instead? Assuming you've removed the state files from previous invocations of autoconf (config.cache for instance) and rerun autoconf, I don't know. Maybe have a look at for some tips on building software on IRIX using GNU tools. I'll let you know if I think of anything. -- Michael Wardle Adacel Technologies From kslim@bic.nus.edu.sg Tue Jan 7 21:18:55 2003 Received: with ECARTIS (v1.0.0; list fam); Tue, 07 Jan 2003 21:19:30 -0800 (PST) Received: from leonis.nus.edu.sg (leonis.nus.edu.sg [137.132.1.18]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h085H03v005501 for ; Tue, 7 Jan 2003 21:18:54 -0800 Received: from troy.bic.nus.edu.sg (troy.bic.nus.edu.sg [137.132.19.113]) by leonis.nus.edu.sg (8.12.1/8.12.1) with ESMTP id h085No5P023056; Wed, 8 Jan 2003 13:23:52 +0800 (SGT) Message-Id: <5.1.1.6.0.20030108131620.0293abb0@mail.bic.nus.edu.sg> X-Sender: kslim@mail.bic.nus.edu.sg X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Wed, 08 Jan 2003 13:25:32 +0800 To: Michael Wardle From: Lim Kuan Siong Subject: Re: [SISE FAM] NOGROUP undefined in Cred.c++ Cc: fam@oss.sgi.com In-Reply-To: <1041978490.16507.33.camel@selene.wodonga.adacel.com.au> References: <5.1.1.6.0.20030107190604.0294cba0@viper.chrysler.org.sg> <5.1.1.6.0.20030107190604.0294cba0@viper.chrysler.org.sg> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-archive-position: 59 X-ecartis-version: Ecartis v1.0.0 Sender: fam-bounce@oss.sgi.com Errors-to: fam-bounce@oss.sgi.com X-original-sender: kslim@bic.nus.edu.sg Precedence: bulk X-list: fam At 09:28 1/8/2003 +1100, Michael Wardle wrote: >Hi > >On Tue, 2003-01-07 at 22:30, Lim Kuan Siong wrote: > > ---------- Start of error ---------- > > cc-1020 CC: ERROR File = Cred.c++, Line = 97 > > The identifier "NOGROUP" is undefined. > >On IRIX, this constant is called GID_NOBODY, so you can change NOGROUP >to that and rebuild. I should probably figure out how I can detect this >on a per-OS basis using GNU autoconf. Thank you very much. That worked! However, I encountered the following error in Listener.c++: ---------- Start of error ---------- Listener.c++: In static member function `static void Listener::create_local_client(TCP_Client&, long int)': Listener.c++:205: `unsetenv' undeclared (first use this function) Listener.c++:205: (Each undeclared identifier is reported only once for each function it appears in.) ---------- End of error ---------- I did a search online & found that unsetenv could be declared in stdlib.h. However, when I checked the stdlib.h in IRIX's /usr/include, it is not there. Is there a replacement for "unsetenv" for IRIX or am I missing an include file & a library? > > BTW, I tried to compile fam using g++ by setting the environment variable > > CXX to g++ but the configure script still uses "cc" as the C++ > compiler. Is > > there a method of getting the script to use g++ instead? > >Assuming you've removed the state files from previous invocations of >autoconf (config.cache for instance) and rerun autoconf, I don't know. >Maybe have a look at for some tips on >building software on IRIX using GNU tools. I'll let you know if I think >of anything. I did not specify the full path to g++ which caused configure not to use g++. This portion is working now. Regards, Kuan Siong Lim Bioinformatics Centre, National University of Singapore From michael.wardle@adacel.com Tue Jan 7 21:25:16 2003 Received: with ECARTIS (v1.0.0; list fam); Tue, 07 Jan 2003 21:25:18 -0800 (PST) Received: from nexus.adacel.com ([210.11.130.1]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h085NM3v005537 for ; Tue, 7 Jan 2003 21:25:15 -0800 Received: (qmail 25659 invoked from network); 8 Jan 2003 05:25:34 -0000 Received: from unknown (HELO proton.adacel.com.au) (203.8.85.90) by nexus.adacel.com with SMTP; 8 Jan 2003 05:25:34 -0000 Received: from hera.wodonga.adacel.com.au (hera.wodonga.adacel.com.au [192.168.75.251]) by proton.adacel.com.au (8.8.8+Sun/8.8.8) with SMTP id QAA19423 for ; Wed, 8 Jan 2003 16:28:54 +1100 (EST) Received: (qmail 17053 invoked from network); 8 Jan 2003 05:28:53 -0000 Received: from selene.wodonga.adacel.com.au (192.168.75.55) by hera.wodonga.adacel.com.au with SMTP; 8 Jan 2003 05:28:53 -0000 Subject: Re: [SISE FAM] NOGROUP undefined in Cred.c++ From: Michael Wardle To: Lim Kuan Siong Cc: fam@oss.sgi.com In-Reply-To: <5.1.1.6.0.20030108131620.0293abb0@mail.bic.nus.edu.sg> References: <5.1.1.6.0.20030107190604.0294cba0@viper.chrysler.org.sg> <5.1.1.6.0.20030107190604.0294cba0@viper.chrysler.org.sg> <5.1.1.6.0.20030108131620.0293abb0@mail.bic.nus.edu.sg> Content-Type: text/plain Organization: Adacel Technologies Message-Id: <1042004038.22196.13.camel@selene.wodonga.adacel.com.au> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 (1.2.0-2) Date: 08 Jan 2003 16:33:58 +1100 Content-Transfer-Encoding: 7bit X-archive-position: 60 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 On Wed, 2003-01-08 at 16:25, Lim Kuan Siong wrote: > At 09:28 1/8/2003 +1100, Michael Wardle wrote: > >Hi > > > >On Tue, 2003-01-07 at 22:30, Lim Kuan Siong wrote: > > > ---------- Start of error ---------- > > > cc-1020 CC: ERROR File = Cred.c++, Line = 97 > > > The identifier "NOGROUP" is undefined. > > > >On IRIX, this constant is called GID_NOBODY, so you can change NOGROUP > >to that and rebuild. I should probably figure out how I can detect this > >on a per-OS basis using GNU autoconf. > > Thank you very much. That worked! Most welcome. > Listener.c++:205: `unsetenv' undeclared (first use this function) IIRC IRIX does not have unsetenv(). Try changing this from unsetenv(ENVVAR) to setenv(ENVVAR=) or setenv(ENVVAR=""). The issues you have raised are exactly the sorts of ones I should test for with autoconf so the appropriate code can be used on each OS. :-s Thanks -- Michael Wardle Adacel Technologies From kslim@bic.nus.edu.sg Tue Jan 7 23:37:29 2003 Received: with ECARTIS (v1.0.0; list fam); Tue, 07 Jan 2003 23:38:02 -0800 (PST) Received: from leonis.nus.edu.sg (leonis.nus.edu.sg [137.132.1.18]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h087ZY3v007155 for ; Tue, 7 Jan 2003 23:37:28 -0800 Received: from troy.bic.nus.edu.sg (troy.bic.nus.edu.sg [137.132.19.113]) by leonis.nus.edu.sg (8.12.1/8.12.1) with ESMTP id h087gQ5P001442; Wed, 8 Jan 2003 15:42:29 +0800 (SGT) Message-Id: <5.1.1.6.0.20030108153417.02957d90@mail.bic.nus.edu.sg> X-Sender: kslim@mail.bic.nus.edu.sg X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Wed, 08 Jan 2003 15:44:09 +0800 To: Michael Wardle From: Lim Kuan Siong Subject: Re: [SISE FAM] NOGROUP undefined in Cred.c++ Cc: fam@oss.sgi.com In-Reply-To: <1042004038.22196.13.camel@selene.wodonga.adacel.com.au> References: <5.1.1.6.0.20030108131620.0293abb0@mail.bic.nus.edu.sg> <5.1.1.6.0.20030107190604.0294cba0@viper.chrysler.org.sg> <5.1.1.6.0.20030107190604.0294cba0@viper.chrysler.org.sg> <5.1.1.6.0.20030108131620.0293abb0@mail.bic.nus.edu.sg> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-archive-position: 61 X-ecartis-version: Ecartis v1.0.0 Sender: fam-bounce@oss.sgi.com Errors-to: fam-bounce@oss.sgi.com X-original-sender: kslim@bic.nus.edu.sg Precedence: bulk X-list: fam At 16:33 1/8/2003 +1100, Michael Wardle wrote: >On Wed, 2003-01-08 at 16:25, Lim Kuan Siong wrote: > > > Listener.c++:205: `unsetenv' undeclared (first use this function) > >IIRC IRIX does not have unsetenv(). Try changing this from >unsetenv(ENVVAR) to setenv(ENVVAR=) or setenv(ENVVAR=""). I used putenv as there is no setenv. It works fine now. However, I'm encountering an error in Log.c++ now. The error is: /usr/freeware/bin/g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DCONFIG_ETC_CONFIG_PATH=\"/usr/local/etc/fam.conf\" -g -O2 -c Log.c++ Log.c++:267: parse error before `char' Log.c++:271: `file' was not declared in this scope Log.c++:271: `line' was not declared in this scope Log.c++:271: `msg' was not declared in this scope Log.c++:271: ANSI C++ forbids declaration `error' with no type Log.c++:271: `int Log::error' is not a static member of `class Log' Log.c++:271: initializer list being treated as compound expression Log.c++:272: `dirname' was not declared in this scope Log.c++:272: ANSI C++ forbids declaration `error' with no type Log.c++:272: `int Log::error' is not a static member of `class Log' Log.c++:272: initializer list being treated as compound expression Log.c++:274: parse error before `if' Log.c++:281: parse error before `if' Log.c++:284: ANSI C++ forbids declaration `abort' with no type Log.c++:284: new declaration `int abort()' /usr/include/stdlib.h:163: ambiguates old declaration `void abort()' Log.c++:285: parse error before `}' I have looked at the portion of code & have done the following: On lines 271 & 272: added (void) in front of Log::error On line 284: added (void) in front of abort I presume these were correct & on compilation, the error list got smaller: /usr/freeware/bin/g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DCONFIG_ETC_CONFIG_PATH=\"/usr/local/etc/fam.conf\" -g -O2 -c Log.c++ Log.c++:267: parse error before `char' Log.c++:281: parse error before `if' At this point, I am not able to see any errors in the code to make changes. Please let me know if I made any errors in my corrections of the code & any help in figuring this part will be greatly appreciated. >The issues you have raised are exactly the sorts of ones I should test >for with autoconf so the appropriate code can be used on each OS. :-s I would like to suggest that a web page containing the details of helpful changes be put up so that it could be referred to when one encounters errors in the various files. This would greatly aid in troubleshooting any problems. >Thanks Thank you very much for your quick response! :) Regards, Kuan Siong Lim Bioinformatics Centre, National University of Singapore From Wil_Evers@doosys.com Wed Jan 8 02:14:57 2003 Received: with ECARTIS (v1.0.0; list fam); Wed, 08 Jan 2003 02:15:04 -0800 (PST) Received: from fw.doosys.com ([195.64.50.137]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h08AD33v008982 for ; Wed, 8 Jan 2003 02:14:57 -0800 Received: from smtp.intra.doosys.com ([10.10.10.12] ident=itcsrv-doosys) by fw.doosys.com with esmtp (Exim 4.10) id 18WDID-0002WT-00; Wed, 08 Jan 2003 11:18:37 +0100 Received: from doosys.com ([10.20.0.222]) by smtp.intra.doosys.com (Lotus Domino Release 5.0.11) with ESMTP id 2003010811183575:1260 ; Wed, 8 Jan 2003 11:18:35 +0100 Message-ID: <3E1BFAFB.1080603@doosys.com> Date: Wed, 08 Jan 2003 11:18:35 +0100 From: Wil Evers User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20030105 X-Accept-Language: en-us, en MIME-Version: 1.0 To: michael.wardle@adacel.com CC: fam@oss.sgi.com Subject: fam with DNotify and glibc 2.3.1 requires -lrt -lpthread X-MIMETrack: Itemize by SMTP Server on ITCSRV/DOOSYS(Release 5.0.11 |July 24, 2002) at 01/08/2003 11:18:35 AM, Serialize by Router on ITCSRV/DOOSYS(Release 5.0.11 |July 24, 2002) at 01/08/2003 11:18:36 AM, Serialize complete at 01/08/2003 11:18:36 AM Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii; format=flowed X-archive-position: 62 X-ecartis-version: Ecartis v1.0.0 Sender: fam-bounce@oss.sgi.com Errors-to: fam-bounce@oss.sgi.com X-original-sender: Wil_Evers@doosys.com Precedence: bulk X-list: fam Hi, FYI: after having problems trying to run the fam daemon on our glibc-2.3.1-based Linux system, I found that the fam daemon (with DNotify patch) must be linked against librt and libpthread. Failure to do so results in lots of *** overflow sigqueue *** messages when fam is run in debug mode. This is because the DNotify patch uses SIGRTMIN, which is #defined in glibc-2.3.1's as __libc_current_sigrtmin(); __libc_current_sigrtmin() returns -1 unless linked against librt and libpthread. The fix is to add '-lrt -lpthread' to the fam_LDADD line in the (DNotify-patched) fam-2.6.9/fam/Makefile.am, and re-run automake. Perhaps a note on one the fam web pages would be appropriate. Regards, - Wil Wil Evers, DOOSYS R&D, Utrecht, Holland From tiaan@netsys.co.za Thu Jan 9 00:03:34 2003 Received: with ECARTIS (v1.0.0; list fam); Thu, 09 Jan 2003 00:03:39 -0800 (PST) Received: from tiaan.netsys.co.za (tiaan.netsys.co.za [192.96.51.30]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h0983R3v031156 for ; Thu, 9 Jan 2003 00:03:31 -0800 Received: from there (localhost.localdomain [127.0.0.1]) by tiaan.netsys.co.za (8.11.6/8.11.6) with SMTP id h09893w20389 for ; Thu, 9 Jan 2003 08:09:04 GMT Message-Id: <200301090809.h09893w20389@tiaan.netsys.co.za> Content-Type: text/plain; charset="iso-8859-15" From: Tiaan Wessels To: fam@oss.sgi.com Subject: Bug ? Date: Thu, 9 Jan 2003 08:09:03 +0000 X-Mailer: KMail [version 1.3.1] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-archive-position: 63 X-ecartis-version: Ecartis v1.0.0 Sender: fam-bounce@oss.sgi.com Errors-to: fam-bounce@oss.sgi.com X-original-sender: tiaan@netsys.co.za Precedence: bulk X-list: fam Hi, I am trying to use fam to monitor /var/log/messages on a Redhat Linux 7.2 machine. The problem I am having is that I only receive notification of some of the lines logged to the file. Specifically I am trying to get messages logged by the ethernet driver but to no avail. Is there such a known bug ? Regards Tiaan From danny_milo@yahoo.com Fri Jan 10 06:17:53 2003 Received: with ECARTIS (v1.0.0; list fam); Fri, 10 Jan 2003 06:18:00 -0800 (PST) Received: from web40909.mail.yahoo.com (web40909.mail.yahoo.com [66.218.78.206]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h0AEHr3v009788 for ; Fri, 10 Jan 2003 06:17:53 -0800 Message-ID: <20030110142337.77824.qmail@web40909.mail.yahoo.com> Received: from [213.147.179.18] by web40909.mail.yahoo.com via HTTP; Fri, 10 Jan 2003 15:23:37 CET Date: Fri, 10 Jan 2003 15:23:37 +0100 (CET) From: =?iso-8859-1?q?Danny=20Milosavljevic?= Subject: Re: Bug? To: fam@oss.sgi.com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-archive-position: 64 X-ecartis-version: Ecartis v1.0.0 Sender: fam-bounce@oss.sgi.com Errors-to: fam-bounce@oss.sgi.com X-original-sender: danny_milo@yahoo.com Precedence: bulk X-list: fam Hmm, are you using metalog as syslog daemon? If so, they use memory buffers for the messages and moreover they have some bugs in handling of a kernel function adding multiple lines "at once" to the log (i.e. in the same function)... Just wondering... But as for Fam, monitoring the syslog or any other local file works fine for me. Just double check that the file is not buffered (if you 'tail -f' the file, does it show up right at the time it was added or not?) Did you compile Fam on your own? If so, did you apply the DNotify patch? (assuming here that you use a 2.4.x kernel) >Hi, >I am trying to use fam to monitor /var/log/messages > on a Redhat Linux 7.2 machine. > The problem I am having is that I only receive > notification of some of the lines logged to the > file. Specifically I am trying to get messages > logged by the ethernet driver but to no avail. > Is there such a known bug ? > Regards > Tiaan __________________________________________________________________ Gesendet von Yahoo! Mail - http://mail.yahoo.de Bis zu 100 MB Speicher bei http://premiummail.yahoo.de From michael.wardle@adacel.com Sun Jan 12 15:02:15 2003 Received: with ECARTIS (v1.0.0; list fam); Sun, 12 Jan 2003 15:02:31 -0800 (PST) Received: from nexus.adacel.com ([210.11.130.1]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h0CN2D3v022218 for ; Sun, 12 Jan 2003 15:02:14 -0800 Received: (qmail 24650 invoked from network); 12 Jan 2003 23:08:07 -0000 Received: from unknown (HELO hera.wodonga.adacel.com.au) (192.168.75.251) by nexus.adacel.com with SMTP; 12 Jan 2003 23:08:07 -0000 Received: from [192.168.75.55] ([192.168.75.55]) by hera.wodonga.adacel.com.au (8.11.6/8.11.6) with ESMTP id h0CN84K11794; Mon, 13 Jan 2003 10:08:04 +1100 Subject: Re: [SISE FAM] Bug ? From: Michael Wardle To: Tiaan Wessels Cc: fam@oss.sgi.com In-Reply-To: <200301090809.h09893w20389@tiaan.netsys.co.za> References: <200301090809.h09893w20389@tiaan.netsys.co.za> Content-Type: text/plain Organization: Adacel Technologies Message-Id: <1042412321.2272.7.camel@selene> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 (1.2.1-2) Date: 13 Jan 2003 10:08:08 +1100 Content-Transfer-Encoding: 7bit X-archive-position: 65 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 On Thu, 2003-01-09 at 19:09, Tiaan Wessels wrote: > I am trying to use fam to monitor /var/log/messages on a Redhat Linux 7.2 > machine. The problem I am having is that I only receive notification of some > of the lines logged to the file. Specifically I am trying to get messages > logged by the ethernet driver but to no avail. Is there such a known bug ? Ethernet messages would be kernel messages rather than daemon messages, wouldn't they? Doesn't that mean they would be logged by the kernel logger (klogd) rather than the system logger (syslogd)? Is it possible that DNotify (the native Linux file monitor) is being bypassed in the kernel somehow? I am not aware of any bug related to this, and I would suspect something else may be going wrong; I'm just trying to explain the behavior you are seeing. :-) -- Michael Wardle Adacel Technologies From michael.wardle@adacel.com Mon Jan 13 14:47:01 2003 Received: with ECARTIS (v1.0.0; list fam); Mon, 13 Jan 2003 14:47:03 -0800 (PST) Received: from nexus.adacel.com ([210.11.130.1]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h0DMkx3v005693 for ; Mon, 13 Jan 2003 14:47:00 -0800 Received: (qmail 5508 invoked from network); 13 Jan 2003 22:52:57 -0000 Received: from unknown (HELO hera.wodonga.adacel.com.au) (192.168.75.251) by nexus.adacel.com with SMTP; 13 Jan 2003 22:52:57 -0000 Received: from [192.168.75.55] ([192.168.75.55]) by hera.wodonga.adacel.com.au (8.11.6/8.11.6) with ESMTP id h0DMqoK12423; Tue, 14 Jan 2003 09:52:56 +1100 Subject: Re: fam with DNotify and glibc 2.3.1 requires -lrt -lpthread From: Michael Wardle To: Wil Evers Cc: fam@oss.sgi.com In-Reply-To: <3E1BFAFB.1080603@doosys.com> References: <3E1BFAFB.1080603@doosys.com> Content-Type: text/plain Organization: Adacel Technologies Message-Id: <1042498372.9059.21.camel@selene> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 (1.2.1-2) Date: 14 Jan 2003 09:52:52 +1100 Content-Transfer-Encoding: 7bit X-archive-position: 66 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 Wil On Wed, 2003-01-08 at 21:18, Wil Evers wrote: > FYI: after having problems trying to run the fam daemon on our > glibc-2.3.1-based Linux system, I found that the fam daemon (with > DNotify patch) must be linked against librt and libpthread. Failure to > do so results in lots of *** overflow sigqueue *** messages when fam is > run in debug mode. Thanks for noticing this. This issue has been bugging me for a while, and I'm glad you have what seems like a fix. Can someone please verify this fixes bug 158? Thanks -- Michael Wardle Adacel Technologies From alexl@redhat.com Mon Jan 13 23:28:11 2003 Received: with ECARTIS (v1.0.0; list fam); Mon, 13 Jan 2003 23:28:13 -0800 (PST) Received: from devserv.devel.redhat.com (nat-pool-rdu.redhat.com [66.187.233.200]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h0E7S93v018000 for ; Mon, 13 Jan 2003 23:28:10 -0800 Received: from localhost (alexl@localhost) by devserv.devel.redhat.com (8.11.6/8.11.0) with ESMTP id h0E7Y7931744; Tue, 14 Jan 2003 02:34:08 -0500 X-Authentication-Warning: devserv.devel.redhat.com: alexl owned process doing -bs Date: Tue, 14 Jan 2003 02:34:07 -0500 (EST) From: Alexander Larsson X-X-Sender: alexl@devserv.devel.redhat.com To: Wil Evers cc: michael.wardle@adacel.com, Subject: Re: fam with DNotify and glibc 2.3.1 requires -lrt -lpthread In-Reply-To: <3E1BFAFB.1080603@doosys.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-archive-position: 67 X-ecartis-version: Ecartis v1.0.0 Sender: fam-bounce@oss.sgi.com Errors-to: fam-bounce@oss.sgi.com X-original-sender: alexl@redhat.com Precedence: bulk X-list: fam On Wed, 8 Jan 2003, Wil Evers wrote: > Hi, > > FYI: after having problems trying to run the fam daemon on our > glibc-2.3.1-based Linux system, I found that the fam daemon (with > DNotify patch) must be linked against librt and libpthread. Failure to > do so results in lots of *** overflow sigqueue *** messages when fam is > run in debug mode. > > This is because the DNotify patch uses SIGRTMIN, which is #defined in > glibc-2.3.1's as __libc_current_sigrtmin(); > __libc_current_sigrtmin() returns -1 unless linked against librt and > libpthread. > > The fix is to add '-lrt -lpthread' to the fam_LDADD line in the > (DNotify-patched) fam-2.6.9/fam/Makefile.am, and re-run automake. > > Perhaps a note on one the fam web pages would be appropriate. I talked to the Red Hat glibc maintainer (Jakub Jelinek), and he said that recent glibc SIGRTMIN is not returning -1. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Alexander Larsson Red Hat, Inc alexl@redhat.com alla@lysator.liu.se He's a superhumanly strong arachnophobic dog-catcher haunted by memories of 'Nam. She's a wealthy antique-collecting Hell's Angel on her way to prison for a murder she didn't commit. They fight crime! From Wil_Evers@doosys.com Tue Jan 14 00:53:42 2003 Received: with ECARTIS (v1.0.0; list fam); Tue, 14 Jan 2003 00:53:47 -0800 (PST) Received: from fw.doosys.com ([195.64.50.137]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h0E8re3v018832 for ; Tue, 14 Jan 2003 00:53:41 -0800 Received: from smtp.intra.doosys.com ([10.10.10.12] ident=itcsrv-doosys) by fw.doosys.com with esmtp (Exim 4.10) id 18YMv0-0007Ew-00; Tue, 14 Jan 2003 09:59:34 +0100 Received: from doosys.com ([10.20.0.222]) by smtp.intra.doosys.com (Lotus Domino Release 5.0.11) with ESMTP id 2003011409593363:2599 ; Tue, 14 Jan 2003 09:59:33 +0100 Message-ID: <3E23D175.60405@doosys.com> Date: Tue, 14 Jan 2003 09:59:33 +0100 From: Wil Evers User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20030111 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alexander Larsson CC: michael.wardle@adacel.com, fam@oss.sgi.com Subject: Re: fam with DNotify and glibc 2.3.1 requires -lrt -lpthread References: X-MIMETrack: Itemize by SMTP Server on ITCSRV/DOOSYS(Release 5.0.11 |July 24, 2002) at 01/14/2003 09:59:33 AM, Serialize by Router on ITCSRV/DOOSYS(Release 5.0.11 |July 24, 2002) at 01/14/2003 09:59:34 AM, Serialize complete at 01/14/2003 09:59:34 AM Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii; format=flowed X-archive-position: 68 X-ecartis-version: Ecartis v1.0.0 Sender: fam-bounce@oss.sgi.com Errors-to: fam-bounce@oss.sgi.com X-original-sender: Wil_Evers@doosys.com Precedence: bulk X-list: fam Alexander Larsson wrote: > On Wed, 8 Jan 2003, Wil Evers wrote: >>This is because the DNotify patch uses SIGRTMIN, which is #defined in >>glibc-2.3.1's as __libc_current_sigrtmin(); >>__libc_current_sigrtmin() returns -1 unless linked against librt and >>libpthread. >> >>The fix is to add '-lrt -lpthread' to the fam_LDADD line in the >>(DNotify-patched) fam-2.6.9/fam/Makefile.am, and re-run automake. >> >>Perhaps a note on one the fam web pages would be appropriate. > > > I talked to the Red Hat glibc maintainer (Jakub Jelinek), and he said that > recent glibc SIGRTMIN is not returning -1. That would depend on what one would call recent; glibc-2.3.1 is the latest official release. This is what happens on my system: wie@linus:~/tmp$ cat tst.c #include #include int main () { printf ("SIGRTMIN: %d\n", SIGRTMIN) ; return 0 ; } wie@linus:~/tmp$ gcc tst.c wie@linus:~/tmp$ ./a.out SIGRTMIN: -1 wie@linus:~/tmp$ gcc tst.c -lrt wie@linus:~/tmp$ ./a.out SIGRTMIN: -1 wie@linus:~/tmp$ gcc tst.c -lrt -lpthread wie@linus:~/tmp$ ./a.out SIGRTMIN: 35 wie@linus:~/tmp$ /lib/libc.so.6 GNU C Library stable release version 2.3.1, by Roland McGrath et al. Copyright (C) 1992-2001, 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 3.2.1. Compiled on a Linux 2.4.20 system on 2003-01-10. Available extensions: GNU libio by Per Bothner crypt add-on version 2.1 by Michael Glad and others linuxthreads-0.10 by Xavier Leroy BIND-8.2.3-T5B libthread_db work sponsored by Alpha Processor Inc NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk Report bugs using the `glibcbug' script to . Perhaps things have changed again since glibc-2.3.1 was released. What I do know is that glibc-2.2.5 does not have this issue. Regards, - Wil Wil Evers, DOOSYS R&D, Utrecht, Holland From alexl@redhat.com Tue Jan 14 06:44:30 2003 Received: with ECARTIS (v1.0.0; list fam); Tue, 14 Jan 2003 06:44:33 -0800 (PST) Received: from devserv.devel.redhat.com (nat-pool-rdu.redhat.com [66.187.233.200]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h0EEiS3v003412 for ; Tue, 14 Jan 2003 06:44:29 -0800 Received: from localhost (alexl@localhost) by devserv.devel.redhat.com (8.11.6/8.11.0) with ESMTP id h0EEoRn27957; Tue, 14 Jan 2003 09:50:28 -0500 X-Authentication-Warning: devserv.devel.redhat.com: alexl owned process doing -bs Date: Tue, 14 Jan 2003 09:50:27 -0500 (EST) From: Alexander Larsson X-X-Sender: alexl@devserv.devel.redhat.com To: Wil Evers cc: michael.wardle@adacel.com, Subject: Re: fam with DNotify and glibc 2.3.1 requires -lrt -lpthread In-Reply-To: <3E23D175.60405@doosys.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-archive-position: 69 X-ecartis-version: Ecartis v1.0.0 Sender: fam-bounce@oss.sgi.com Errors-to: fam-bounce@oss.sgi.com X-original-sender: alexl@redhat.com Precedence: bulk X-list: fam On Tue, 14 Jan 2003, Wil Evers wrote: > Alexander Larsson wrote: > > > > On Wed, 8 Jan 2003, Wil Evers wrote: > > >>This is because the DNotify patch uses SIGRTMIN, which is #defined in > >>glibc-2.3.1's as __libc_current_sigrtmin(); > >>__libc_current_sigrtmin() returns -1 unless linked against librt and > >>libpthread. > >> > >>The fix is to add '-lrt -lpthread' to the fam_LDADD line in the > >>(DNotify-patched) fam-2.6.9/fam/Makefile.am, and re-run automake. > >> > >>Perhaps a note on one the fam web pages would be appropriate. > > > > > > I talked to the Red Hat glibc maintainer (Jakub Jelinek), and he said that > > recent glibc SIGRTMIN is not returning -1. > > That would depend on what one would call recent; glibc-2.3.1 is the > latest official release. This is what happens on my system: > > wie@linus:~/tmp$ cat tst.c > #include > #include > > int main () { > printf ("SIGRTMIN: %d\n", SIGRTMIN) ; > return 0 ; > } > wie@linus:~/tmp$ gcc tst.c > wie@linus:~/tmp$ ./a.out > SIGRTMIN: -1 > wie@linus:~/tmp$ gcc tst.c -lrt > wie@linus:~/tmp$ ./a.out > SIGRTMIN: -1 > wie@linus:~/tmp$ gcc tst.c -lrt -lpthread > wie@linus:~/tmp$ ./a.out > SIGRTMIN: 35 > wie@linus:~/tmp$ /lib/libc.so.6 > GNU C Library stable release version 2.3.1, by Roland McGrath et al. > Copyright (C) 1992-2001, 2002 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. > There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A > PARTICULAR PURPOSE. > Compiled by GNU CC version 3.2.1. > Compiled on a Linux 2.4.20 system on 2003-01-10. > Available extensions: > GNU libio by Per Bothner > crypt add-on version 2.1 by Michael Glad and others > linuxthreads-0.10 by Xavier Leroy > BIND-8.2.3-T5B > libthread_db work sponsored by Alpha Processor Inc > NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk > Report bugs using the `glibcbug' script to . > > Perhaps things have changed again since glibc-2.3.1 was released. What > I do know is that glibc-2.2.5 does not have this issue. I tested this with the latest glibc in rh RAWHIDE (glibc-2.3.1-34, which is a cvs snap) and it seems to have been fixed. So I expect it to work in 2.3.2 which i think will be released soon. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Alexander Larsson Red Hat, Inc alexl@redhat.com alla@lysator.liu.se He's a hate-fuelled gay Green Beret on a search for his missing sister. She's a plucky hypochondriac traffic cop fleeing from a Satanic cult. They fight crime! From Wil_Evers@doosys.com Tue Jan 14 06:52:53 2003 Received: with ECARTIS (v1.0.0; list fam); Tue, 14 Jan 2003 06:52:56 -0800 (PST) Received: from fw.doosys.com ([195.64.50.137]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h0EEqp3v003493 for ; Tue, 14 Jan 2003 06:52:52 -0800 Received: from smtp.intra.doosys.com ([10.10.10.12] ident=itcsrv-doosys) by fw.doosys.com with esmtp (Exim 4.10) id 18YSWf-0007W2-00; Tue, 14 Jan 2003 15:58:49 +0100 Received: from doosys.com ([10.20.0.222]) by smtp.intra.doosys.com (Lotus Domino Release 5.0.11) with ESMTP id 2003011415584868:2701 ; Tue, 14 Jan 2003 15:58:48 +0100 Message-ID: <3E2425A8.7080403@doosys.com> Date: Tue, 14 Jan 2003 15:58:48 +0100 From: Wil Evers User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20030111 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alexander Larsson CC: michael.wardle@adacel.com, fam@oss.sgi.com Subject: Re: fam with DNotify and glibc 2.3.1 requires -lrt -lpthread References: X-MIMETrack: Itemize by SMTP Server on ITCSRV/DOOSYS(Release 5.0.11 |July 24, 2002) at 01/14/2003 03:58:48 PM, Serialize by Router on ITCSRV/DOOSYS(Release 5.0.11 |July 24, 2002) at 01/14/2003 03:58:49 PM, Serialize complete at 01/14/2003 03:58:49 PM Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii; format=flowed X-archive-position: 70 X-ecartis-version: Ecartis v1.0.0 Sender: fam-bounce@oss.sgi.com Errors-to: fam-bounce@oss.sgi.com X-original-sender: Wil_Evers@doosys.com Precedence: bulk X-list: fam Alexander Larsson wrote: > On Tue, 14 Jan 2003, Wil Evers wrote: > >> This is what happens on my system: >> >> wie@linus:~/tmp$ gcc tst.c >> wie@linus:~/tmp$ ./a.out >> SIGRTMIN: -1 >> wie@linus:~/tmp$ gcc tst.c -lrt >> wie@linus:~/tmp$ ./a.out >> SIGRTMIN: -1 >> wie@linus:~/tmp$ gcc tst.c -lrt -lpthread >> wie@linus:~/tmp$ ./a.out >> SIGRTMIN: 35 >> wie@linus:~/tmp$ /lib/libc.so.6 >> GNU C Library stable release version 2.3.1, by Roland McGrath et al. >> >>Perhaps things have changed again since glibc-2.3.1 was released. What >>I do know is that glibc-2.2.5 does not have this issue. > > I tested this with the latest glibc in rh RAWHIDE (glibc-2.3.1-34, which > is a cvs snap) and it seems to have been fixed. So I expect it to work in > 2.3.2 which i think will be released soon. I see; that's good news. Thanks, - Wil From sgi-fam@gmane.org Fri Jan 17 06:45:56 2003 Received: with ECARTIS (v1.0.0; list fam); Fri, 17 Jan 2003 06:46:00 -0800 (PST) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h0HEjs3v006090 for ; Fri, 17 Jan 2003 06:45:56 -0800 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18ZXpR-0002Eb-00 for ; Fri, 17 Jan 2003 15:50:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: fam@oss.sgi.com Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18ZXYH-0000vc-00 for ; Fri, 17 Jan 2003 15:32:57 +0100 Path: not-for-mail From: Neill Rosenthal Subject: Can't get Perl monitor working with fam Date: Fri, 17 Jan 2003 16:38:15 +0200 Organization: TSI Lines: 66 Message-ID: Reply-To: neill@tsi.co.za Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@main.gmane.org User-Agent: KNode/0.7.1 X-archive-position: 71 X-ecartis-version: Ecartis v1.0.0 Sender: fam-bounce@oss.sgi.com Errors-to: fam-bounce@oss.sgi.com X-original-sender: neill@tsi.co.za Precedence: bulk X-list: fam I am running Redhat 7.3 with the fam-2.6.7-6 and fam-devel-2.6.7-6 packages that came standard. I have installed the SGI::FAM module from CPAN, which comes with a test script called "monitor". I start fam up in debug mode, then start monitor. The output is shown below. The line near the end fam[2138]: told dnotify to monitor "/home/neill/perl/fam/fam.txt" = dev 3/5, ino 116401 looks promising, but fam produces no output when I modify the test file. Any advice would be appreciated ! fam debug output : [root@ip75 root]# fam -T 0 -d -L fam[2176]: log level is LOG_DEBUG fam[2176]: read /etc/fam.conf line 13: "insecure_compatibility" = "false" fam[2176]: read /etc/fam.conf line 20: "untrusted_user" = "nobody" fam[2176]: read /etc/fam.conf line 28: "local_only" = "false" fam[2176]: read /etc/fam.conf line 35: "xtab_verification" = "true" fam[2176]: Setting untrusted-user to "nobody" (UID 99) fam[2176]: listening for clients on descriptor 3 fam[2176]: client fd 4 is local/untrusted. fam[2176]: new connection from client 4 fam[2176]: client 4 said: client 4 is sockmeister, and wants a unix domain socket fam[2176]: client sockmeister said uid 0; creating /tmp/.famHP8JFX fam[2176]: listening for requests for uid 0 on descriptor 5 (/tmp/.famHP8JFX) fam[2176]: client fd 6 is local/trusted (socket /tmp/.famHP8JFX, uid 0). fam[2176]: new connection from client 6 fam[2176]: Shutting down connection fam[2176]: lost connection from sockmeister fam[2176]: client 6 said: client 6 is ./monitor, and doesn't want a unix domain socket fam[2176]: ./monitor said: request 1 monitor file "/home/neill/perl/fam/fam.txt" fam[2176]: mtab: new local "/dev/hda5" on "/" fam[2176]: mtab: new local "none" on "/proc" fam[2176]: mtab: new local "usbdevfs" on "/proc/bus/usb" fam[2176]: mtab: new local "/dev/hda3" on "/boot" fam[2176]: mtab: new local "none" on "/dev/pts" fam[2176]: mtab: new local "none" on "/dev/shm" fam[2176]: mtab done. fam[2176]: myself watching /etc/mtab fam[2176]: express() name: /etc/mtab fam[2176]: opened pipe fam[2176]: New DirWatch for /etc (305 36cc1) fam[2176]: New FileWatch for 305 38104 fam[2176]: told dnotify to monitor "/etc/mtab" = dev 3/5, ino 229636 fam[2176]: express() name: /home/neill/perl/fam/fam.txt fam[2176]: New DirWatch for /home/neill/perl/fam (305 1c2d7) fam[2176]: New FileWatch for 305 1c6b1 fam[2176]: told dnotify to monitor "/home/neill/perl/fam/fam.txt" = dev 3/5, ino 116401 fam[2176]: sent event to ./monitor: request 1 "/home/neill/perl/fam/fam.txt" Exists fam[2176]: sent event to ./monitor: request 1 "/home/neill/perl/fam/fam.txt" EndExist From sgi-fam@gmane.org Tue Jan 21 22:25:06 2003 Received: with ECARTIS (v1.0.0; list fam); Tue, 21 Jan 2003 22:25:09 -0800 (PST) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h0M6P33v025716 for ; Tue, 21 Jan 2003 22:25:05 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18bEOn-000756-00 for ; Wed, 22 Jan 2003 07:30:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: fam@oss.sgi.com Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18bEOg-00074V-00 for ; Wed, 22 Jan 2003 07:30:02 +0100 From: "Neill Rosenthal" Subject: Re: Can't get Perl monitor working with fam Date: Wed, 22 Jan 2003 08:35:36 +0200 Organization: TSI (Pty) Ltd Lines: 84 Message-ID: References: Reply-To: "Neill Rosenthal" X-Complaints-To: usenet@main.gmane.org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-archive-position: 72 X-ecartis-version: Ecartis v1.0.0 Sender: fam-bounce@oss.sgi.com Errors-to: fam-bounce@oss.sgi.com X-original-sender: neill@tsi.co.za Precedence: bulk X-list: fam I've got this working now ... I learnt that some of the X file managers use fam, so I tried the Perl script without X running, and it works. Does the file manager somehow get exclusive use of fam ? If so, is it possible to modify this behaviour ? "Neill Rosenthal" wrote in message news:b0946o$3es$1@main.gmane.org... > I am running Redhat 7.3 with the fam-2.6.7-6 and fam-devel-2.6.7-6 packages > that came standard. > I have installed the SGI::FAM module from CPAN, which comes with a test > script called "monitor". > I start fam up in debug mode, then start monitor. The output is shown below. > The line near the end > fam[2138]: told dnotify to monitor "/home/neill/perl/fam/fam.txt" = dev 3/5, > ino 116401 > looks promising, but fam produces no output when I modify the test file. > Any advice would be appreciated ! > > fam debug output : > > [root@ip75 root]# fam -T 0 -d -L > fam[2176]: log level is LOG_DEBUG > fam[2176]: read /etc/fam.conf line 13: "insecure_compatibility" = "false" > fam[2176]: read /etc/fam.conf line 20: "untrusted_user" = "nobody" > fam[2176]: read /etc/fam.conf line 28: "local_only" = "false" > fam[2176]: read /etc/fam.conf line 35: "xtab_verification" = "true" > fam[2176]: Setting untrusted-user to "nobody" (UID 99) > fam[2176]: listening for clients on descriptor 3 > fam[2176]: client fd 4 is local/untrusted. > fam[2176]: new connection from client 4 > fam[2176]: client 4 said: client 4 is sockmeister, and wants a unix domain > socket > fam[2176]: client sockmeister said uid 0; creating /tmp/.famHP8JFX > fam[2176]: listening for requests for uid 0 on descriptor 5 > (/tmp/.famHP8JFX) > fam[2176]: client fd 6 is local/trusted (socket /tmp/.famHP8JFX, uid 0). > fam[2176]: new connection from client 6 > fam[2176]: Shutting down connection > fam[2176]: lost connection from sockmeister > fam[2176]: client 6 said: client 6 is ./monitor, and doesn't want a unix > domain socket > fam[2176]: ./monitor said: request 1 monitor file > "/home/neill/perl/fam/fam.txt" > fam[2176]: mtab: new local "/dev/hda5" on "/" > fam[2176]: mtab: new local "none" on "/proc" > fam[2176]: mtab: new local "usbdevfs" on "/proc/bus/usb" > fam[2176]: mtab: new local "/dev/hda3" on "/boot" > fam[2176]: mtab: new local "none" on "/dev/pts" > fam[2176]: mtab: new local "none" on "/dev/shm" > fam[2176]: mtab done. > fam[2176]: myself watching /etc/mtab > fam[2176]: express() name: /etc/mtab > > fam[2176]: opened pipe > fam[2176]: New DirWatch for /etc (305 36cc1) > > fam[2176]: New FileWatch for 305 38104 > > fam[2176]: told dnotify to monitor "/etc/mtab" = dev 3/5, ino 229636 > fam[2176]: express() name: /home/neill/perl/fam/fam.txt > > fam[2176]: New DirWatch for /home/neill/perl/fam (305 1c2d7) > > fam[2176]: New FileWatch for 305 1c6b1 > > fam[2176]: told dnotify to monitor "/home/neill/perl/fam/fam.txt" = dev 3/5, > ino 116401 > fam[2176]: sent event to ./monitor: request 1 "/home/neill/perl/fam/fam.txt" > Exists > fam[2176]: sent event to ./monitor: request 1 "/home/neill/perl/fam/fam.txt" > EndExist > > > > > From admin@bariloche.org Wed Jan 22 05:16:00 2003 Received: with ECARTIS (v1.0.0; list fam); Wed, 22 Jan 2003 05:16:03 -0800 (PST) Received: from bariloche.org (host27.200.80.45.ifxnw.com.ar [200.80.45.27] (may be forged)) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h0MDFv3v010789 for ; Wed, 22 Jan 2003 05:15:58 -0800 Received: (qmail 24751 invoked from network); 22 Jan 2003 13:22:10 -0000 Received: from adsl128-151.advancedsl.com.ar (HELO ?192.168.0.250?) (200.63.128.151) by bariloche.org with SMTP; 22 Jan 2003 13:22:10 -0000 Subject: FAM and devfs From: "Admin bariloche.org" To: fam@oss.sgi.com Content-Type: text/plain Organization: Message-Id: <1043241720.19481.29.camel@predator> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1- Date: 22 Jan 2003 10:22:00 -0300 Content-Transfer-Encoding: 7bit X-archive-position: 73 X-ecartis-version: Ecartis v1.0.0 Sender: fam-bounce@oss.sgi.com Errors-to: fam-bounce@oss.sgi.com X-original-sender: admin@bariloche.org Precedence: bulk X-list: fam Hi I'm new I would like to know if anybody had problems with fam and devfs, I'm asking this because I'm running FAM and when I browse my root folder with nautilus fam goes crazy and eats 100% of cpu From admin@bariloche.org Wed Jan 22 07:03:07 2003 Received: with ECARTIS (v1.0.0; list fam); Wed, 22 Jan 2003 07:03:11 -0800 (PST) Received: from bariloche.org (host27.200.80.45.ifxnw.com.ar [200.80.45.27] (may be forged)) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h0MF353v014882 for ; Wed, 22 Jan 2003 07:03:06 -0800 Received: (qmail 2875 invoked from network); 22 Jan 2003 15:09:55 -0000 Received: from adsl128-151.advancedsl.com.ar (HELO ?192.168.0.250?) (200.63.128.151) by bariloche.org with SMTP; 22 Jan 2003 15:09:55 -0000 Subject: Re: FAM and devfs From: "Admin bariloche.org" To: fam@oss.sgi.com In-Reply-To: <200301221442.39051.bastian@kde.org> References: <1043241720.19481.29.camel@predator> <200301221442.39051.bastian@kde.org> Content-Type: text/plain Organization: Message-Id: <1043248176.19481.39.camel@predator> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1- Date: 22 Jan 2003 12:09:37 -0300 Content-Transfer-Encoding: 7bit X-archive-position: 74 X-ecartis-version: Ecartis v1.0.0 Sender: fam-bounce@oss.sgi.com Errors-to: fam-bounce@oss.sgi.com X-original-sender: admin@bariloche.org Precedence: bulk X-list: fam Hello! and Thanks for the answer! Could you tell me how to disable watching /dev ?? Thanks in advance Gines Razanov On Wed, 2003-01-22 at 10:42, Waldo Bastian wrote: > On Wednesday 22 January 2003 14:22, Admin bariloche.org wrote: > > Hi > > > > I'm new > > I would like to know if anybody had problems with fam and devfs, I'm > > asking this because I'm running FAM and when I browse my root folder > > with nautilus fam goes crazy and eats 100% of cpu > > Could very well be. In KDE we had some reports about problems with /dev/ > directory. I haven't gone to the bottom of that (not sure if it was with FAM > or linux DNOTIFY) and just disabled any watching of /dev. > > With files like /dev/ptmx in there I don't think it makes much sense to watch > it for changes (in a file manager at least). > > Cheers, > Waldo -- ------------------- Gines Razanov gines@bariloche.org From michael.wardle@adacel.com Wed Jan 22 14:16:33 2003 Received: with ECARTIS (v1.0.0; list fam); Wed, 22 Jan 2003 14:16:36 -0800 (PST) Received: from nexus.adacel.com ([210.11.130.1]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h0MMGV3v021966 for ; Wed, 22 Jan 2003 14:16:32 -0800 Received: (qmail 6079 invoked from network); 22 Jan 2003 22:23:08 -0000 Received: from unknown (HELO hera.wodonga.adacel.com.au) (192.168.75.251) by nexus.adacel.com with SMTP; 22 Jan 2003 22:23:06 -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 h0MMMxk27430; Thu, 23 Jan 2003 09:23:02 +1100 Subject: Re: FAM and devfs From: Michael Wardle To: "Admin bariloche.org" Cc: fam@oss.sgi.com In-Reply-To: <1043241720.19481.29.camel@predator> References: <1043241720.19481.29.camel@predator> Content-Type: text/plain Organization: Adacel Technologies Message-Id: <1043274186.2309.4.camel@selene.wodonga.adacel.com.au> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 (1.2.1-2) Date: 23 Jan 2003 09:23:06 +1100 Content-Transfer-Encoding: 7bit X-archive-position: 75 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 On Thu, 2003-01-23 at 00:22, Admin bariloche.org wrote: > I would like to know if anybody had problems with fam and devfs, I'm > asking this because I'm running FAM and when I browse my root folder > with nautilus fam goes crazy and eats 100% of cpu This is a problem we encounter when the DNotify patch has been applied. /dev typically contains several thousand entries, and FAM+DNotify seems to have problems monitoring several thousand entries in quick succession. See . -- Michael Wardle Adacel Technologies From michael.wardle@adacel.com Wed Jan 22 15:10:36 2003 Received: with ECARTIS (v1.0.0; list fam); Wed, 22 Jan 2003 15:10:39 -0800 (PST) Received: from nexus.adacel.com ([210.11.130.1]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h0MNAY3v023025 for ; Wed, 22 Jan 2003 15:10:35 -0800 Received: (qmail 13454 invoked from network); 22 Jan 2003 23:17:11 -0000 Received: from unknown (HELO hera.wodonga.adacel.com.au) (192.168.75.251) by nexus.adacel.com with SMTP; 22 Jan 2003 23:17:11 -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 h0MNH9k27476; Thu, 23 Jan 2003 10:17:09 +1100 Subject: Re: Can't get Perl monitor working with fam From: Michael Wardle To: Neill Rosenthal Cc: fam@oss.sgi.com In-Reply-To: References: Content-Type: text/plain Organization: Adacel Technologies Message-Id: <1043277436.2309.6.camel@selene.wodonga.adacel.com.au> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 (1.2.1-2) Date: 23 Jan 2003 10:17:16 +1100 Content-Transfer-Encoding: 7bit X-archive-position: 76 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 On Wed, 2003-01-22 at 17:35, Neill Rosenthal wrote: > I've got this working now ... I learnt that some of the X file managers use > fam, so I tried the Perl script without X running, and it works. > Does the file manager somehow get exclusive use of fam ? If so, is it > possible to modify this behaviour ? It shouldn't. I'm not sure why this is happening. I've just started spending a little time on FAM again, so hopefully I can look in to this soon. -- Michael Wardle Adacel Technologies From mrroach@cimplify.net Mon Jan 27 07:41:56 2003 Received: with ECARTIS (v1.0.0; list fam); Mon, 27 Jan 2003 07:42:02 -0800 (PST) Received: from jabber.uhg (ns.cimplify.net [66.237.226.242]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h0RFft3v013323 for ; Mon, 27 Jan 2003 07:41:56 -0800 Received: from [10.13.1.13] (helo=UHGEXCHANGE00.uhg.net) by mail.cimplify.net with esmtp (froggermail (Atari 2600)) id 18dBUf-000221-00 for ; Mon, 27 Jan 2003 09:48:17 -0600 Received: from [192.168.150.13] (10.13.21.10 [10.13.21.10]) by UHGEXCHANGE00.uhg.net with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id DNTXCBAH; Mon, 27 Jan 2003 09:46:38 -0600 Subject: fam (falsely) says "deleted" with large number of files From: "Roach, Mark R." To: fam@oss.sgi.com Content-Type: text/plain Organization: Message-Id: <1043682452.5079.32.camel@flmrroach> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 Date: 27 Jan 2003 10:47:33 -0500 Content-Transfer-Encoding: 7bit X-archive-position: 77 X-ecartis-version: Ecartis v1.0.0 Sender: fam-bounce@oss.sgi.com Errors-to: fam-bounce@oss.sgi.com X-original-sender: mrroach@cimplify.net Precedence: bulk X-list: fam Hi, all. I am running up against some strange fam problems in my attempts to mirror a couple of linux file servers. I have a directory with 2089 subdirectories and 37239 files in those subdirectories. I am using the python-fam bindings from python-fam.sf.net. My first problem came when queuing too many directories without reading in the events - my process kept hanging, I made two separate threads to send/recv at the same time and that part seems ok, but once I have the monitor set, if I create a file, fam doesn't recognize that the file was created and tells me that all other files in that directory were deleted. This is obviously not the desired result, any clues as to how I can prevent this kind of stuff? Am I going to need to break this down into multiple processes with fewer directories handled by each process? Is this just too much for fam to handle? Thanks for any insight, Mark Roach oh, PS I am on debian woody with the versions of fam and libfam from sid, namely 2.6.9 and kernel version 2.4.20 From michael.wardle@adacel.com Tue Jan 28 14:48:00 2003 Received: with ECARTIS (v1.0.0; list fam); Tue, 28 Jan 2003 14:48:03 -0800 (PST) Received: from nexus.adacel.com ([210.11.130.1]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h0SMlw3v016600 for ; Tue, 28 Jan 2003 14:47:59 -0800 Received: (qmail 17021 invoked from network); 28 Jan 2003 22:54:28 -0000 Received: from unknown (HELO hera.wodonga.adacel.com.au) (192.168.75.251) by nexus.adacel.com with SMTP; 28 Jan 2003 22:54:28 -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 h0SMswk06349; Wed, 29 Jan 2003 09:54:59 +1100 Subject: Re: fam (falsely) says "deleted" with large number of files From: Michael Wardle To: "Roach, Mark R." Cc: fam@oss.sgi.com In-Reply-To: <1043682452.5079.32.camel@flmrroach> References: <1043682452.5079.32.camel@flmrroach> Content-Type: text/plain Organization: Adacel Technologies Message-Id: <1043794506.2463.38.camel@selene.wodonga.adacel.com.au> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 (1.2.1-2) Date: 29 Jan 2003 09:55:14 +1100 Content-Transfer-Encoding: 7bit X-archive-position: 78 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 On Tue, 2003-01-28 at 02:47, Roach, Mark R. wrote: > Hi, all. I am running up against some strange fam problems in my > attempts to mirror a couple of linux file servers. > > I have a directory with 2089 subdirectories and 37239 files in those > subdirectories. I am using the python-fam bindings from > python-fam.sf.net. FAM has some problems monitoring more than about 250 directories or a more than about 4000 files. I've not had the time to investigate why, but I would greatly appreciate any pointers or patches. As you suggest, (until this problem is fixed) you could break up the requests into multiple processes, each handling fewer files. This is the documented method, but I've not tried it recently. Some of the file limits are definately on a per-client basis, but I wonder whether some may also exist on a per-host basis. > oh, PS I am on debian woody with the versions of fam and libfam from > sid, namely 2.6.9 and kernel version 2.4.20 This means: a) you have the latest stable version of FAM b) the DNotify patch has been applied c) your kernel supports DNotify (Just thought I'd mention that :-)) Sorry I can't help more at this point -- Michael Wardle Adacel Technologies From alexl@redhat.com Wed Jan 29 00:36:21 2003 Received: with ECARTIS (v1.0.0; list fam); Wed, 29 Jan 2003 00:36:24 -0800 (PST) Received: from devserv.devel.redhat.com (nat-pool-rdu.redhat.com [66.187.233.200]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h0T8aK3v027319 for ; Wed, 29 Jan 2003 00:36:21 -0800 Received: from localhost (alexl@localhost) by devserv.devel.redhat.com (8.11.6/8.11.0) with ESMTP id h0T8hJS17685; Wed, 29 Jan 2003 03:43:19 -0500 X-Authentication-Warning: devserv.devel.redhat.com: alexl owned process doing -bs Date: Wed, 29 Jan 2003 03:43:19 -0500 (EST) From: Alexander Larsson X-X-Sender: alexl@devserv.devel.redhat.com To: "Roach, Mark R." cc: fam@oss.sgi.com Subject: Re: fam (falsely) says "deleted" with large number of files In-Reply-To: <1043682452.5079.32.camel@flmrroach> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-archive-position: 79 X-ecartis-version: Ecartis v1.0.0 Sender: fam-bounce@oss.sgi.com Errors-to: fam-bounce@oss.sgi.com X-original-sender: alexl@redhat.com Precedence: bulk X-list: fam On 27 Jan 2003, Roach, Mark R. wrote: > Hi, all. I am running up against some strange fam problems in my > attempts to mirror a couple of linux file servers. > > I have a directory with 2089 subdirectories and 37239 files in those > subdirectories. I am using the python-fam bindings from > python-fam.sf.net. > > My first problem came when queuing too many directories without reading > in the events - my process kept hanging, I made two separate threads to > send/recv at the same time and that part seems ok, but once I have the > monitor set, if I create a file, fam doesn't recognize that the file was > created and tells me that all other files in that directory were > deleted. It typically hangs because the pipes for recieving events are full, so the fam server refuses to read more requests from the client (to avoid blocking on write). Making sure you read events would help with this, so the multithreaded solution would help. I'm not 100% sure libfam is threadsafe though... > This is obviously not the desired result, any clues as to how I can > prevent this kind of stuff? Am I going to need to break this down into > multiple processes with fewer directories handled by each process? Is > this just too much for fam to handle? The deleted message is quite strange. I have no idea why that's happening. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Alexander Larsson Red Hat, Inc alexl@redhat.com alla@lysator.liu.se He's an obese guerilla shaman plagued by the memory of his family's brutal murder. She's a psychotic cat-loving archaeologist with the power to see death. They fight crime! From ml-linux-fam@epigenomics.com Wed Jan 29 14:26:15 2003 Received: with ECARTIS (v1.0.0; list fam); Wed, 29 Jan 2003 14:26:19 -0800 (PST) Received: from gk.ka.epigenomics.net (qmailr@gk.ka.epigenomics.net [62.159.77.106]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h0TMQC3v022118 for ; Wed, 29 Jan 2003 14:26:14 -0800 Received: (qmail 3792 invoked from network); 29 Jan 2003 22:33:21 -0000 Received: from einstein.epigenomics.epi (qmailr@192.168.1.4) by weinberg.epigenomics.epi with SMTP; 29 Jan 2003 22:33:21 -0000 Received: (qmail 7048 invoked from network); 29 Jan 2003 22:33:20 -0000 Received: from broglie.epigenomics.epi (qmailr@192.168.1.5) by einstein.epigenomics.epi with SMTP; 29 Jan 2003 22:33:20 -0000 Received: (qmail 14111 invoked by uid 9); 29 Jan 2003 22:33:20 -0000 From: Robert Sander Reply-To: Robert Sander X-Newsgroups: epi.ml.linux.fam Subject: Re: ANN: Python FAM Date: Wed, 29 Jan 2003 22:33:20 +0000 (UTC) Organization: Epigenomics AG Lines: 33 Message-ID: References: X-Complaints-To: usenet@epigenomics.com User-Agent: slrn/0.9.7.3 (Linux) To: fam@oss.sgi.com X-archive-position: 80 X-ecartis-version: Ecartis v1.0.0 Sender: fam-bounce@oss.sgi.com Errors-to: fam-bounce@oss.sgi.com X-original-sender: ml-linux-fam@epigenomics.com Precedence: bulk X-list: fam On Fri, 20 Sep 2002 23:32:44 +0000 (UTC), Robert Sander wrote: > I would like to announce the first release of Python FAM. > > Python FAM ist libfam for Python and not much more. > > You can find it on http://python-fam.sourceforge.net/. Hi! I would like to announce version 1.0.2 of the FAM language bindings for Python. This release fixes a segmentation fault when fe.hostname was used. I would like to take the opportunity and would like to ask for two things: - Please, could the sentence "hostname is an obsolete field. Don't use it in your applications." from http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=0650&db=bks&fname=/SGI_Developer/books/IIDsktp_IG/sgi_html/ch08.html be included in the manual page fam(3)? - Could someone please add a link to python-fam on the links section of the FAM homepage, that would be nice. Thanks. Greetings -- Robert Sander Manager Information Systems www.epigenomics.com Kastanienallee 24 +493024345330 10435 Berlin