Displaying 2 results from an estimated 2 matches for "dotlock_create_flag_nonblock".
2015 Dec 23
2
2.2.21 imap core dump after enabling autoexpunge
Hi,
I've enabled autoexpunge for Trash and Junk. Now imap process core
dumps occasionally.
Tomppa
> program terminated by signal SEGV (no mapping at the fault address)
> 0xff0dc2e0: o_stream_get_buffer_used_size : ld [%o0 + 20], %o0
> Current function is notify_ok (optimized)
> 13 if (o_stream_get_buffer_used_size(client->output) != 0)
>
2013 Jul 08
1
Non-blocking file_dotlock_open() in quota-maildir question
Hello,
Is it safe to change lines in plugins/quota/quota-maildir.c::maildirsize_write() from
? fd = file_dotlock_open_group(.., DOTLOCK_CREATE_FLAG_NONBLOCK, ..);
to
? fd = file_dotlock_open_group(.., 0, ..); ?
Rationale is: exim+cpanel frequently leave stale maldirsize.lock, but when quota plugin try to dotlock maildirsize, it do this with NONBLOCK flag and just once, so first lock fails with EAGAIN and second may never happen. (When last mail is ove...