Re: [SAtalk] bayes over NFS locking

2003-11-24 Thread Pedro Sam
On November 24, 2003 02:31 pm, Adam Denenberg wrote: > Hey, > > How are people handling the locking issues with Bayes over NFS on a > high traffic mail server? Currently i have "bayes_learn_to_journal 1 > " turned on, but an sa-learn --rebuild seems to be taking quite some > time (i have about a

Re: [SAtalk] bayes over NFS locking

2003-11-24 Thread Justin Mason
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Adam Denenberg writes: >Hey, > > How are people handling the locking issues with Bayes over NFS on a >high traffic mail server? Currently i have "bayes_learn_to_journal 1 >" turned on, but an sa-learn --rebuild seems to be taking quite some >time (i

Re: [SAtalk] bayes over NFS locking

2003-11-24 Thread Adam Denenberg
Thanks justin. is there a way to prevent the rebuild (or expire) from happening on the nfs client side? i would rather script a frequent rebuild/expire on the nfs server side, and just let the clients do their thing. I get the following error if a mail has not been seen in a while, just want to

Re: [SAtalk] bayes over NFS locking

2003-11-24 Thread Justin Mason
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Adam Denenberg writes: >Thanks justin. is there a way to prevent the rebuild (or expire) from >happening on the nfs client side? i would rather script a frequent >rebuild/expire on the nfs server side, and just let the clients do their >thing. I ge

[SAtalk] bayes over NFS locking

2003-11-24 Thread Adam Denenberg
Hey, How are people handling the locking issues with Bayes over NFS on a high traffic mail server? Currently i have "bayes_learn_to_journal 1 " turned on, but an sa-learn --rebuild seems to be taking quite some time (i have about a million tokens in my DB). Has anyone had a better success rate

Re: [SAtalk] bayes over NFS

2003-10-08 Thread Patrick Morris
Daniel Quinlan wrote: In theory, it's safe. In practice, it's slow and ... ? In practice, in my case, it's not slow at all -- But NetApps seem to have a pretty decent NFS implementation. Access to a lot of stuff (though I haven't clocked Bayes specifically) is often faster than local disk

Re: [SAtalk] bayes over NFS

2003-10-08 Thread Frederic Goudal
> >On Tue, 2003-10-07 at 10:55, Frederic Goudal wrote: > >> >anybody want to put in their $.02 to bayes over NFS. >>=20 >> I do, it works. Or maybe I don't see the problem. > >Among other things, NFS has been known to have file-locking issues. This c= >an cause problems with multiple processes a

Re: [SAtalk] bayes over NFS

2003-10-07 Thread Roger
Dan Wilder wrote: If they're all using totally great NFS implementations with locking that works and all, you might not get any databases truncated or damaged. As far as nfs implementations go Sun's(the inventors of nfs) have by far the best server/client in my opinion. I've used various nfs

Re: [SAtalk] bayes over NFS

2003-10-07 Thread Daniel Quinlan
[EMAIL PROTECTED] (Justin Mason) writes: > Our locking code is NFS-safe. However IMO I'd say it's very slow over > NFS... bayes dbs are *big* and pretty much random-access. In theory, it's safe. In practice, it's slow and ... ? Daniel --- T

Re: [SAtalk] bayes over NFS

2003-10-07 Thread David B Funk
On Tue, 7 Oct 2003, Adam Denenberg wrote: > anybody sharing bayes over NFS, with any issues? I thought i read > somewhere that somebody was sharing bayes over NFS with a netapp filer > with no probs. > > anybody want to put in their $.02 to bayes over NFS. > > I am running 2.6 FYI. Read the fo

Re: [SAtalk] bayes over NFS

2003-10-07 Thread Justin Mason
Dan Wilder writes: > If they're all using totally great NFS implementations with locking that > works and all, you might not get any databases truncated or damaged. Our locking code is NFS-safe. However IMO I'd say it's very slow over NFS... bayes dbs are *big* and pretty much random-access. -

Re: [SAtalk] bayes over NFS

2003-10-07 Thread Dan Wilder
On Tue, Oct 07, 2003 at 02:27:29PM -0700, Patrick Morris wrote: > Dan Wilder wrote: > > >On Tue, Oct 07, 2003 at 11:54:07AM -0700, Patrick Morris wrote: > > > > > >>>I thought i read somewhere that somebody was sharing bayes over NFS > >>> > >>> > >>with a netapp filer with no > probs. > >>

Re: [SAtalk] bayes over NFS

2003-10-07 Thread Patrick Morris
Dan Wilder wrote: On Tue, Oct 07, 2003 at 11:54:07AM -0700, Patrick Morris wrote: I thought i read somewhere that somebody was sharing bayes over NFS with a netapp filer with no > probs. I'm doing it -- no problems to report. With things writing to the same db from different hosts

Re: [SAtalk] bayes over NFS

2003-10-07 Thread Dan Wilder
On Tue, Oct 07, 2003 at 11:54:07AM -0700, Patrick Morris wrote: > > I thought i read somewhere that somebody was sharing bayes over NFS > with a netapp filer with no > probs. > > I'm doing it -- no problems to report. With things writing to the same db from different hosts? --

Re: [SAtalk] bayes over NFS

2003-10-07 Thread Patrick Morris
> I thought i read somewhere that somebody was sharing bayes over NFS with a netapp filer with no > probs. I'm doing it -- no problems to report. --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf

Re: [SAtalk] bayes over NFS

2003-10-07 Thread Stephane Lentz
On Tue, Oct 07, 2003 at 05:55:52PM +0200, Frederic Goudal wrote: > > > >anybody sharing bayes over NFS, with any issues? > > Where could be the problem ? > >I thought i read > >somewhere that somebody was sharing bayes over NFS with a netapp filer > >with no probs. > > What is a netapp filer

Re: [SAtalk] bayes over NFS

2003-10-07 Thread Frank Pineau
On Tue, 2003-10-07 at 10:55, Frederic Goudal wrote: > >anybody want to put in their $.02 to bayes over NFS. > > I do, it works. Or maybe I don't see the problem. Among other things, NFS has been known to have file-locking issues. This can cause problems with multiple processes accessing the DB

Re: [SAtalk] bayes over NFS

2003-10-07 Thread Frederic Goudal
>anybody sharing bayes over NFS, with any issues? Where could be the problem ? >I thought i read >somewhere that somebody was sharing bayes over NFS with a netapp filer >with no probs. What is a netapp filer ? >anybody want to put in their $.02 to bayes over NFS. I do, it works. Or maybe I

[SAtalk] bayes over NFS

2003-10-07 Thread Adam Denenberg
anybody sharing bayes over NFS, with any issues? I thought i read somewhere that somebody was sharing bayes over NFS with a netapp filer with no probs. anybody want to put in their $.02 to bayes over NFS. I am running 2.6 FYI. thanks adam -