Re: [vchkpw] enable-file-sync

2004-01-20 Thread Ken Jones
On Monday 19 January 2004 11:30 pm, Jeff Koch wrote:
 Could someone please explain the purpose of the following configure option
 in vpopmail:

--enable-file-sync Enable file sync after each message is
 delivered

 We're having file system corruption problems with qmail/vpopmail (IDE hard
 disk, ext3 file system) and are wondering if this might help. Is there a
 downside to using this option?

That might help. I put the option in for exactly this type of reason.
Instead of calling fsync after the delivery it lets the OS manage
the disk buffering. You might also want to comment out the fsync's
in the qmail source code. These two changes will let the OS manage
the disk buffers instead of flushing them all the time. You'll get
much better disk performance.

Ken Jones



Re: [vchkpw] enable-file-sync

2004-01-20 Thread Marcin Soltysiak
  Could someone please explain the purpose of the following configure
option
  in vpopmail:
 
 --enable-file-sync Enable file sync after each message is
  delivered
 
  We're having file system corruption problems with qmail/vpopmail (IDE
hard
  disk, ext3 file system) and are wondering if this might help. Is there a
  downside to using this option?

 That might help. I put the option in for exactly this type of reason.
 Instead of calling fsync after the delivery it lets the OS manage
 the disk buffering. You might also want to comment out the fsync's
 in the qmail source code. These two changes will let the OS manage
 the disk buffers instead of flushing them all the time. You'll get
 much better disk performance.

Ok. But when it is up to OS? when the option is enabled or disabled?

 I've just upgraded to current RC and got quite a load (about 9-10) caused
by vdelivermai and vmstat suggests that I got IO bottleneck now. Besides I
see lots of vdelivermail running and every mail spends now lots of time in a
queue, even when it is local.

Any ideas, please?

Solt

PS Ken, sorry about two copies of this mail. BTW: Could you set default
Reply-To: to list address? It would be easier when replying.



Re: [vchkpw] enable-file-sync

2004-01-20 Thread Tom Collins
On Jan 20, 2004, at 7:57 AM, Marcin Soltysiak wrote:
PS Ken, sorry about two copies of this mail. BTW: Could you set 
default
Reply-To: to list address? It would be easier when replying.
I second that request.  With the latest QmailAdmin, it's easy to do...

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


[vchkpw] enable-file-sync

2004-01-19 Thread Jeff Koch
Could someone please explain the purpose of the following configure option 
in vpopmail:

  --enable-file-sync Enable file sync after each message is delivered

We're having file system corruption problems with qmail/vpopmail (IDE hard 
disk, ext3 file system) and are wondering if this might help. Is there a 
downside to using this option?

Best Regards,

Jeff Koch