Re: control files on an NFS share?

2000-11-21 Thread Sean Reifschneider

On Thu, Nov 16, 2000 at 06:04:31PM -0600, Ben Beuchler wrote:
I am primarily concerned about files like 'rcpthosts'.  They are read on
every invocation of qmail-smtpd.  Am I going to be looking at
significant overhead from reading a file like that over NFS?

Not if you turn the NFS caching options up high enough...

I tried to set up /var/qmail/control on an NFS partition at some point,
and it was failing.  Or was that /etc/tcpcontrol for the CDBs?  I forget
now...  It was very unhappy though, wouldn't run at all.

Sean
-- 
 Do you think reading about cowboys is sufficient to ride a horse?
 Like horses, real programs tend to throw you.  -- John Shipman, 1997
Sean Reifschneider, Inimitably Superfluous [EMAIL PROTECTED]
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python



Re: control files on an NFS share?

2000-11-21 Thread Ben Beuchler

On Tue, Nov 21, 2000 at 05:10:06PM -0700, Sean Reifschneider wrote:

 On Thu, Nov 16, 2000 at 06:04:31PM -0600, Ben Beuchler wrote:
 I am primarily concerned about files like 'rcpthosts'.  They are read on
 every invocation of qmail-smtpd.  Am I going to be looking at
 significant overhead from reading a file like that over NFS?
 
 Not if you turn the NFS caching options up high enough...
 
 I tried to set up /var/qmail/control on an NFS partition at some point,
 and it was failing.  Or was that /etc/tcpcontrol for the CDBs?  I forget
 now...  It was very unhappy though, wouldn't run at all.
 
 Sean

I think I'll leave 'em on local disks and just rsync 'em up...

Sounds like the smart way to go.

Ben

-- 
Ben Beuchler [EMAIL PROTECTED]
MAILER-DAEMON (612) 321-9290 x101
Bitstream Underground   www.bitstream.net



control files on an NFS share?

2000-11-16 Thread Ben Beuchler

Our one qmail/vpopmail server is about to become a node in a load
balanced pool of mail servers.  I plan to mount the queue via NFS (I am
now, in fact) but am wondering about the control files.  It seems that
at least SOME of them should be safe to share over NFS.  Any thoughts or
recommendations?

Thanks,
Ben

-- 
Ben Beuchler [EMAIL PROTECTED]
MAILER-DAEMON (612) 321-9290 x101
Bitstream Underground   www.bitstream.net



Re: control files on an NFS share?

2000-11-16 Thread markd

On Thu, Nov 16, 2000 at 05:40:27PM -0600, Ben Beuchler wrote:
 Our one qmail/vpopmail server is about to become a node in a load
 balanced pool of mail servers.  I plan to mount the queue via NFS (I am
 now, in fact) but am wondering about the control files.  It seems that

Ouch. You will, at some stage, lose mail this way. Is it actually working?

 at least SOME of them should be safe to share over NFS.  Any thoughts or
 recommendations?

Anything but queue is probably ok.


Regards.



Re: control files on an NFS share?

2000-11-16 Thread Ben Beuchler

On Thu, Nov 16, 2000 at 02:49:24PM -0800, [EMAIL PROTECTED] wrote:

 On Thu, Nov 16, 2000 at 05:40:27PM -0600, Ben Beuchler wrote:
  Our one qmail/vpopmail server is about to become a node in a load
  balanced pool of mail servers.  I plan to mount the queue via NFS (I am
  now, in fact) but am wondering about the control files.  It seems that
 
 Ouch. You will, at some stage, lose mail this way. Is it actually working?

I mis-spoke.  The queue is, of course, local.  The spool is on the NFS
share.  I slipped into "boss speak" there for a second.  My boss for
some reason persists in referring to the spool as the queue...

  at least SOME of them should be safe to share over NFS.  Any thoughts or
  recommendations?
 
 Anything but queue is probably ok.

I am primarily concerned about files like 'rcpthosts'.  They are read on
every invocation of qmail-smtpd.  Am I going to be looking at
significant overhead from reading a file like that over NFS?

Ben

-- 
Ben Beuchler [EMAIL PROTECTED]
MAILER-DAEMON (612) 321-9290 x101
Bitstream Underground   www.bitstream.net



Re: control files on an NFS share?

2000-11-16 Thread Scott Gifford

Ben Beuchler [EMAIL PROTECTED] writes:

 Our one qmail/vpopmail server is about to become a node in a load
 balanced pool of mail servers.  I plan to mount the queue via NFS (I am
 now, in fact) but am wondering about the control files.  It seems that
 at least SOME of them should be safe to share over NFS.  Any thoughts or
 recommendations?

We have stored all configuration files (save 'me') on NFS for about 8
months now, with no problem.  It does put quite a bit of additional
strain on the NFS server, though; I'm looking at moving control to a
RAMdisk, and just copying from the NFS server when qmail is restarted.

We also store spool on NFS with no problems.

We've stored queue on NFS in the past, and while we didn't see any
lost mail, we did see huge performance problems, and had to move it to
local storage.

--ScottG.