Impact of having a large number of open file descriptors

2008-05-28 Thread Ivan Voras
Hi, Im thinking again of the old idea of implementing poor man's file replication system using kqueue to monitor changes on files. This would require opening every file that needs to be monitored and using EVFILT_VNODE to monitor them. I suppose this would work for a small-ish number of files like

Re: Impact of having a large number of open file descriptors

2008-05-28 Thread Oliver Fromme
Ivan Voras wrote: > Im thinking again of the old idea of implementing poor man's file > replication system using kqueue to monitor changes on files. It would be cool to have a kernel interface so you could attach to a mountpoint and receive a log of all activity on that file system. That's simi

Re: Impact of having a large number of open file descriptors

2008-05-28 Thread Ivan Voras
2008/5/28 Oliver Fromme <[EMAIL PROTECTED]>: > Ivan Voras wrote: > > Im thinking again of the old idea of implementing poor man's file > > replication system using kqueue to monitor changes on files. > > It would be cool to have a kernel interface so you could > attach to a mountpoint and receive

FreeBSD + LDAP + SAMBA + WINDOWS

2008-05-28 Thread Israel Lehnen Silva
Friends, I have the following scenario: Server FreeBSD 7.0 Stable authenticating in one basis LDAP through of the PAM (pam_ldap and nss_ldap) In same server, have running the SAMBA 3.0.28 authenticating too in basis LDAP and using the scripts smbldap-tools. Tool LDAPAdmin for administration of ba

Re: Why doesn't autoconf like our /bin/sh?

2008-05-28 Thread John Baldwin
On Sunday 25 May 2008 11:45:37 am Stefan Farfeleder wrote: > On Sun, May 25, 2008 at 09:06:47AM -0600, John E Hein wrote: > > FWIW, it seems bash and sh report line number differently. > > > > # grep -n ^ ~/tmp/ln > > 1:#!/bin/sh > > 2:echo f line: $LINENO > > 3:f() > > 4:{ > > 5:echo f line: $LINE