Displaying 20 results from an estimated 82 matches for "lockf".
Did you mean:
lock
2007 Mar 29
1
locking question
...l
folders and INBOXES are native to that machine, but also are NFS
exported to a login server and a mailing list server. All three
machines are running the lockd daemon.
Everybody wants to lock differently
1) procmail (delivering for sendmail), which seems to want to use
dotlocking, fcntl and lockf locking; for whatever reasons, the compile
time tests seem to disallow flock.
2) UWIMAP which according to wiki.dovecot.org/Migration/UW uses:
mbox_read_locks = flock
mbox_write_locks = dotlock flock
3) I want to run dovecot in the same environment as I switch over, for
which the locking strategy...
2019 Nov 08
2
"samba-tool backup offline" stuck
...ar/tmp/DC1_Backup
> Creating targetdir /var/tmp/DC1_Backup...
> running backup on dirs: /var/db/samba4/private /var/db/samba4 /usr/local/etc
> Starting transaction on /var/db/samba4/private/secrets
After half an hour, no news...
If I press [ctrl-t]:
> load: 0.38 cmd: tdbbackup 39264 [lockf] 3138.57r 0.00u 0.00s 0% 2560k
Any hint?
(This is a FreeBSD 11.3/amd64 jail).
bye & Thanks
av.
2007 Apr 24
1
locking questions
...lock_dotlock() failed with mbox file /var/spool/mail/sdean: No such file or directory
2) I earlier asked, but don't think I got an answer to this question:
> Everybody wants to lock differently
> 1) procmail (delivering for sendmail), which seems to want to use
> dotlocking, fcntl and lockf locking; for whatever reasons, the compile
> time tests seem to disallow flock.
> 2) UWIMAP which according to wiki.dovecot.org/Migration/UW uses:
> mbox_read_locks = flock
> mbox_write_locks = dotlock flock
> 3) I want to run dovecot in the same environment as I switch over, for
&...
2013 Oct 28
0
[PATCH] xfstests: add generic/320 to test fsync() on directories V2
...then we need to make sure to do resume here
+ # otherwise the umount will hang
+ $DMSETUP_PROG resume flakey-test > /dev/null 2>&1
+ $UMOUNT_PROG $SCRATCH_MNT > /dev/null 2>&1
+ $DMSETUP_PROG remove flakey-test > /dev/null 2>&1
+}
+
+# _load_flakey_table <table> [lockfs]
+#
+# This defaults to --nolockfs, which doesn''t freeze_fs() before loading the new
+# table, so it simulates power failure.
+_load_flakey_table()
+{
+
+ table="$FLAKEY_TABLE"
+ [ $1 -eq $FLAKEY_DROP_WRITES ] && table="$FLAKEY_TABLE_DROP"
+
+ suspend_opt="...
2012 Oct 25
0
Compiling Samba4 RC3 on AIX 6.1 with IBM vac
...(I) Return type "long long"
in redeclaration is not compatible with the previous return type "long".
"/usr/include/unistd.h", line 171.17: 1506-377 (I) The type "long long" of
parameter 2 differs from the previous type "long".
"/usr/include/sys/lockf.h", line 64.20: 1506-343 (S) Redeclaration of
lockf64 differs from previous declaration on line 62 of
"/usr/include/sys/lockf.h".
"/usr/include/sys/lockf.h", line 64.20: 1506-377 (I) The type "long long"
of parameter 3 differs from the previous type "long&quo...
2019 Nov 10
0
"samba-tool backup offline" stuck
...r/tmp/DC1_Backup...
> > running backup on dirs: /var/db/samba4/private /var/db/samba4
> > /usr/local/etc
> > Starting transaction on /var/db/samba4/private/secrets
>
> After half an hour, no news...
>
> If I press [ctrl-t]:
> > load: 0.38 cmd: tdbbackup 39264 [lockf] 3138.57r 0.00u 0.00s 0%
> > 2560k
>
>
> Any hint?
> (This is a FreeBSD 11.3/amd64 jail).
>
> bye & Thanks
> av.
Is this unpatched Samba, and what is the full backtrace on that
tdbbackup?
It looks like tdbbackup cannoto proceed due to outstanding locks held
by...
2004 May 25
1
0.99.10.5 release candidate
http://dovecot.org/rc/
Thought I'd still make one 0.99.10.x release now that mbox corruption
problems are (hopefully) fixed.
Please test, if no problems are found this will be the final 0.99.10.5.
Changes since .4:
+ MySQL authentication, patch by Matthew Reimer
- mbox: APPEND reversed given \Draft and \Deleted flags
- mbox: "LF not found" errors happened sometimes when
2003 May 27
0
Odd 'hang' trying to ls a directory ...
...0 0 0.00 0 0 2 0 97
I can run 'df', but I can't run 'df -t ufs', as that too just hangs ...
According to ps axl, I have the following in WCHAN states:
neptune# ps axl | awk '{print $9}' | sort | uniq -c
6 -
1 WCHAN
207 accept
103 inode
2 kqread
412 lockf
68 nanslp
8 pause
1 piperd
13 poll
3 psleep
58 sbwait
1 sched
626 select
1 syncer
3 ttyin
1 vlruwt
8 wait
Thoughts? Does anything above look like its 'hanging' or 'locking' the file
system? A few minutes later, there are a few variations:
neptune#...
2013 May 08
2
change inbox dotlock name
Hi,
Is there a configuration element that would allow me to change the
dot-lock name for the user's /var/mail inbox when it is locked? dovecot
(correctly) acquires <username>.lock, but I'm having a problem with
procmail where some obscure code path is preventing procmail's
acquisition of a lock when it's that default name in /var/mail.
The issue is not permissions
2005 Nov 25
28
ZFS and memcntl(..., MC_SYNC, ...)
It wouldn''t be proper to start my first post here without congratulations
and thanks to the ZFS team for such an impressive piece of work.
Anyway, on to my query. I''ve been trying out ZFS, with a particular focus in
reducing latency in a specific application. This application has a fair
amount of random writing going on in the background (which, of course, ZFS
will make
2007 Apr 29
1
Dovecot refuses connections
...n/dovecot/login
login_executable: /usr/local64/libexec/dovecot/imap-login
first_valid_uid: 100
mail_extra_groups: mail
default_mail_env: mbox:%h/mail:INBOX=/var/spool/mail/%u
mail_location: mbox:%h/mail:INBOX=/var/spool/mail/%u
mail_debug: yes
mmap_disable: yes
lock_method: dotlock
mbox_read_locks: lockf
mbox_write_locks: lockf
auth default:
passdb:
driver: pam
userdb:
driver: passwd
I have two issues:
1. It won't start from xinetd. I get very little in the logs, just:
Apr 7 07:07:41 xyz xinetd[2545]: START: imaps pid=17445
from=144.173.228.126
Apr 7 07:07:41 xyz xinetd[2545]:...
2013 Nov 15
7
[PATCH 1/2] xfstests: add generic/321 to test fsync() on directories V2
...YP $MOUNT_OPTIONS $FLAKEY_DEV $SCRATCH_MNT
-}
-
-_unmount_flakey()
-{
- $UMOUNT_PROG $SCRATCH_MNT
-}
-
-_load_flakey_table()
-{
- # _load_flakey_table <table>
-
- table="$FLAKEY_TABLE"
- [ $1 -eq 1 ] && table="$FLAKEY_TABLE_DROP"
-
- suspend_opt=""
- [ $nolockfs -eq 1 ] && suspend_opt="--nolockfs"
-
- $DMSETUP_PROG suspend $suspend_opt flakey-test
- [ $? -ne 0 ] && _fatal "failed to suspend flakey-test"
-
- $DMSETUP_PROG load flakey-test --table "$table"
- [ $? -ne 0 ] && _fatal "failed to load ta...
2006 Apr 25
2
NFS
I've finally managed to run Dovecot without errors in two computers with
maildir and indexes stored in NFS. I added a page to wiki about this:
http://wiki.dovecot.org/NFS
Suggestions how to keep attribute cache enabled but to allow Dovecot to
specifically request not to use a cached value (when it's important)
would be welcome.
-------------- next part --------------
A non-text
2005 Mar 14
4
[SMB 3.0.10] File Locking Mechanism Windows <-> Unix
Hello,
Iam facing a problem in locking of files across samba shares. We have samba
3.0.10 running on Solaris 9 with the smb.conf as follows.
# Global parameters
[global]
workgroup = NMUINT
netbios name = NMUINTFS
interfaces = <IP>
bind interfaces only = Yes
security = DOMAIN
password server = XXX.XXX.XXX.XXX
log level = 1
ldap
2009 Oct 16
2
deliver and stale NFS file handles
...server log for
more information. [2009-10-16 00:10:42]
It nearly never happens with text/plain mails but _very_
often when mails have attachments of some different type. This is inside
a 7.2-RELEASE-p2 FreeBSD jail. The NFS export is mounted from the
machine that is running the jail. Locking with lockf works.
Following is the output of `dovecot -n` from the mailserver.
Please tell me if you need any further information.
Thanks in Advance,
Leon
$ dovecot -n
# 1.2.4: /usr/local/etc/dovecot.conf
# OS: FreeBSD 7.2-RELEASE-p2 amd64
log_path: /var/log/dovecot.log
protocols: imaps pop3s managesieve
l...
2018 Oct 09
4
immediate delete of mails
On Tue, 9 Oct 2018 12:08:00 +0200 Sami Ketola <sami.ketola at dovecot.fi>
wrote:
> How do you deliver then mails to the server?
>
> also mbox is very unoptimised mailbox format for this. Each time mail is deleted from mbox mailbox the whole mbox while needs to be rewritten to remove the mail.
OpenSMTPD and Dovecot run on the same machine. OpenSMTPD receives
incoming mails and
2000 Mar 07
4
Error compiling R on RS6000 (PR#475)
...-O2 -c Rsock.c -o Rsock.o
In file included from Rsock.c:34:
/usr/include/unistd.h:162: parse error before `lseek64'
/usr/include/unistd.h:162: parse error before `off64_t'
/usr/include/unistd.h:162: warning: data definition has no type or storage
class
In file included from /usr/include/sys/lockf.h:41,
from /usr/include/unistd.h:382,
from Rsock.c:34:
/usr/include/sys/stat.h:127: parse error before `soff_t'
/usr/include/sys/stat.h:127: warning: no semicolon at end of struct or union
/usr/include/sys/stat.h:146: parse error before `st_size'
/usr/inclu...
2012 May 28
3
Dovecot 2.1 mbox + maildir
What syntax is needed to make this work?
The 2.0 wiki recomendations don't work - I can see the inboxes or the
folders but not both at once and there are lots of error messages about
prefix clashes if I simply use the existing 2.0.20 conf file on 2.1.6
The layout I have is:
Inboxes in mbox format - /var/spool/mail/%u
Folders in maildir format - /var/spool/imap/%u/Maildir/
Control and
2014 Feb 19
2
[LLVMdev] asan coverage
...e=address" --
the performance looks good!
The file format from r198638 is indeed rudimentary.
Do you already know how the real output format will look like?
Just to summarize what I think is important:
- minimal size on disk, minimal amount of files
- minimal i/o while writing to disk, no lockf or some such
- separate process produces separate file(s)
- fast merging of outputs from different runs of the same binary
- only the coverage output files and the binary (+DSOs) are required to
"symbolize" the coverage data (map the data to file names & line numbers)
Ideally,...
2018 Oct 09
0
mbox locking
...> incoming mails and stores them in a mailbox (/var/spool/mail/user).
> Dovecot then fetches mails from this mailbox file.
>
Regarding locks, OpenSMTPD's config should match methods AND order of
dovecot's mbox_write_locks.?
Methods known by dovecot are dotlock, flock, fcntl and lockf. I
couldn't find out, which methods are used by OpenSMTPD.
Dovecot's mbox_read_locks should match too, but dotlock isn't used.
https://wiki.dovecot.org/MailLocation/mbox
https://wiki.dovecot.org/MboxLocking
https://wiki.dovecot.org/MailboxFormat/mbox
Martin