Displaying 20 results from an estimated 5000 matches similar to: "Dovecot fsync question"
2014 Jan 08
2
nfs flush/fsync config settings problem
Hi,
I need to place a maildir storage on a NFS filesystem, so I set up the config like this:
mmap_disable = yes
mail_nfs_storage = yes
mail_nfs_index = yes
mail_fsync = always
lock_method = dotlock (also tried fcntl - local lockd is running, no success, now using dotlock, to be sure while debugging)
The problem is that Dovecot (2.2.9/2.2.10 - the relevant code in mail-index.c is the same) logs
2006 Feb 23
1
Ext3: Ordered : Fsync question
Does Fsync of a file on a ext3 fs mounted with "ordered" option(the
default) result in flush the dirty data buffers in the fs that
correspond to previous transactions. In other words, if I keep writing
to file1 (lots of data), log something to file2, keep fsyncing file2
after every write - does this mean file1 data would be committed by
fsyncs on file2.
Please copy me on your replies
2019 Oct 08
1
ITERINDEX not showing subfolders.
# 2.3.4.1 (f79e8e7e4): /etc/dovecot/dovecot.conf
Hello, we're using mail on NFS and the indexes on localdisk, with a
director setup. (18K+ users) now to get more performance i thought to use
the ITERINDEX option. however this has the side-effect on some mailboxes
that it doesn't show the subfolders under INBOX.
they seem 'disappeared'. Removing the ITERINDEX option fixes this
2015 Jan 30
0
Uniqueness of dovecot mailbox-guids
Update: seems to me that the old cyrus mailserver already uses these non-unique mailbox guids.
Is it necessary to have them unique over all private namespaces?
Thanks
Christian
----------------urspr?ngliche Nachricht-----------------
Von:Christian Binder Stadt Freilassing [christian.binder at freilassing.de ]
An:"dovecot dovecot.org" [dovecot at dovecot.org ]
Datum:Thu, 29 Jan 2015
2015 Jan 30
0
Uniqueness of dovecot mailbox-guids
If mailbox guids should be unique systemwide, would it be safe to delete all 'dovecot-uidlist' files of the user's mailboxes and then do a doveadm force-resync after mailbox migration?
Thanks!
Christian
----------------urspr?ngliche Nachricht-----------------
Von: Christian Binder Stadt Freilassing [christian.binder at freilassing.de ]
An: "dovecot dovecot.org" [dovecot
2017 Jul 21
0
Corrupt index files
Am 21.07.2017 um 19:47 schrieb Bruce Guenter:
>
> I am running Dovecot IMAP on Linux, on a LizardFS storage cluster with
> Maildir storage. This has worked well for most of the accounts for
> several months.
>
> However in the last couple of weeks we are seeing increasing errors
> regarding corrupted index files.
you should avoid this
one solution is to use loadbalancers
2007 Sep 26
1
strange fsync errors
Hi all,
I'm using dovecot since a few months and it works great.
But a few days ago some coworkers mentioned that they got
errormessages in their Mailapp.
I searched in the logfiles and found this:
Sep 14 12:07:35 Mailserv dovecot: IMAP(eckhard-ma-domain-com):
fsync(/home/eckhard-ma-domain-com/mails/.INBOX.0002-Druckangebote von
Druckereien.0002-schmerk
2018 Feb 13
0
Documentation Bug
On 02/13/2018 03:00 PM, Andrew Beck wrote:
> In https://wiki2.dovecot.org/Tools/Doveadm/Sync#section_arguments the destination list 5 possible options for the destination
>
> but in the page on migration https://wiki2.dovecot.org/Migration/Dsync it seems to use a sixth undocumented "imapc:" option for destination
>
> e.g.
>
> doveadm -o mail_fsync=never backup -R -u
2004 Feb 13
1
fsync in ext3: A question
Hi,
I have a question on fsync() and ext3's journaling modes.
Assume that I call fsync(fd) on a file.
If that file is in 'data=journal' mode, would the fsync() return once the
data gets safely into the journal ?
On the other hand, if that file is in 'data=writeback' mode, would the
fsync() return only when the data gets safely into its actual location ?
Any help is
2004 Sep 16
1
[PATCH] BUG on fsync/fdatasync with Ext3 data=journal
Hello,
We found that fsync and fdatasync syscalls sometimes don't sync
data in an ext3 file system under the following conditions.
1. Kernel version is 2.6.6 or later (including 2.6.8.1 and 2.6.9-rc2).
2. Ext3's journalling mode is "data=journal".
3. Create a file (whose size is 1Mbytes) and execute umount/mount.
4. lseek to a random position within the file, write 8192 bytes
2003 Feb 24
0
fsync() and data=journal behaviour
I'm currently looking at the behaviour of various Linux filesystems as
backends for the Cyrus IMAP server. Like many mail applications, Cyrus
makes heavy use of the fsync() system call to ensure that data has hit
stable storage before it acknowledges receipt of messages.
At the moment fsync() appears to introduce lots of synchronous I/O as data
is flushed all the way through to the filesystem
2016 Jan 18
0
[PATCH v2] resize, builder: fsync the output file before closing the libvirt connection.
Libvirt has a fixed 15 second timeout for qemu to exit. If qemu is
writing to a slow USB key, it can hang (in D state) for much longer
than this - many minutes usually.
To work around this, fsync the output file before closing the libvirt
connection so that qemu shouldn't have anything (much) to write. We
have to do this in a few places in the code.
This is a hack - it would be better to
2018 Feb 02
0
Does samba support fsync() a directory?
Hi, Johannes:
> So whatever you do, it's probably best to assume that the fsync() operation on
> your dir fd is going to fail, and route around that (potential) failure as
> best as you can.
Thanks very much for this information.
Is this documented? So that I can report this to my boss. I googled this for sort of time.
Thanks again!
Best Regards
Cao
在 2018年02月02日 20:59,
2018 Feb 02
1
Does samba support fsync() a directory?
Hi!
Afair, fsync()ing a directory is subject to platform-specific and
implementation-defined behaviour, and may either
- work as you'd want and (probably) expect
- fail with an error
- fail silently
at least if your application targets more than one operating system/kernel -
and even on one and the same platform, different filesystems might exhibit
sublty different patterns of behaviour.
2010 Apr 11
1
Re: Poor interactive performance with I/O loads with fsync()ing
On Sun, 11 Apr 2010 18:03:00 +0300, Avi Kivity <avi@redhat.com> wrote:
> On 04/09/2010 05:56 PM, Ben Gamari wrote:
> > On Mon, 29 Mar 2010 00:08:58 +0200, Andi Kleen<andi@firstfloor.org> wrote:
> >
> >> Ben Gamari<bgamari.foss@gmail.com> writes:
> >> ext4/XFS/JFS/btrfs should be better in this regard
> >>
> >>
>
2013 Dec 18
2
[PATCH] Btrfs: improve the performance fluctuating of the fsync
In order to improve the performance of fsync, we use the outstanding
ordered extents to avoid looking up the checksum from the csum tree.
But we didn''t filter out the ordered extents whose csum is still being
calculated, when we got those ordered extents, we had to wait for the
csum calculation. It made the performance dropped down suddenly. (On
my box, it drop down from 56MB/s to
2010 Jul 06
0
[PATCH 0/6 v6][RFC] jbd[2]: enhance fsync performance when using CFQ
Hi Jeff,
On 07/03/2010 03:58 AM, Jeff Moyer wrote:
> Hi,
>
> Running iozone or fs_mark with fsync enabled, the performance of CFQ is
> far worse than that of deadline for enterprise class storage when dealing
> with file sizes of 8MB or less. I used the following command line as a
> representative test case:
>
> fs_mark -S 1 -D 10000 -N 100000 -d /mnt/test/fs_mark -s
2016 Jan 18
0
[PATCH] resize: fsync the output file before closing the libvirt connection.
Libvirt has a fixed 15 second timeout for qemu to exit. If qemu is
writing to a slow USB key, it can hang (in D state) for much longer
than this - many minutes usually.
To work around this, fsync the output file before closing the libvirt
connection so that qemu shouldn't have anything (much) to write. We
have to do this in two places in the code since we can reopen the
connection (if using
2013 Oct 28
0
[PATCH] xfstests: add generic/320 to test fsync() on directories V2
Btrfs had some issues with fsync()''ing directories and fsync()''ing after
renames. These three new tests cover the 3 different issues we were seeing.
This breaks out the dmflakey stuff into a common helper to be shared between
generic/311 and generic/320. Thanks,
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
---
V1->V2: moved this out into its own test instead of
2003 Feb 04
1
Quick fsync question
If I want to make sure a file has really been deleted do I have to:
1. fsync the file
2. fsync the directory the file is in
3. both?
Much thanks.
--
Ben Escoto