search for: f_setlk

Displaying 20 results from an estimated 64 matches for "f_setlk".

Did you mean: f_setlkw
2017 Dec 12
1
MIT Kerberos suddenly stopping
Hello, I'm using samba 4.7.3 to run an AD and I'm currently having issues with the MIT kerberos because it stops some time after starting (and apparently working correctly) without logging nothing out of the ordinary. My setup has 2 DC: one in an ubuntu 12.04 with version 4.1.9 (which we're migrating from) and the one I mentioned in CentOS 7 (which will be the only DC in the future).
2004 Jul 20
3
Bug? 1.0.0-test28 NFS locking problems
Hi Slight problem - linux 2.4 running dovecot, Solaris 2.8 home directory server. Full lockd support etc. I had to make the following code patches (at end of mail for clarity) to get dovecot to read the users mbox files at all. 1) fcntl with F_SETLKW will not work against a Solaris 2.8 server as proved with a small test program. Other forms of fcntl (ie F_SETLK) are OK. I noticed there are some code witches, but setting mbox_lock_timeout=0 only seems to knock one of the fcntl's over to F_SETLK 2) O_CREAT | O_EXCL are documented not to w...
2012 Nov 14
0
fcntl(F_SETLK) returning ENOSYS
Hi all, tracing a couple of reports here (on a somewhat older version of OCFS2, with a user-space/pacemaker/dlm_controld.pcmk stack) where we see fnctl(F_SETLK) return ENOSYS. This happens after a node has failed/been fenced and recovered. It affects only individual mounts, not the whole system. The only code path that I can see so far that could lead to ENOSYS being returned here is from within dlm_controld:process_plocks() if disable_plocks == 1. But I...
1999 Aug 26
0
smbsh always segfaults
...= -1 EBADF (Bad file descriptor) dup2(5, 1023) = 1023 close(5) = 0 brk(0) = 0x8075e5c brk(0x8075e84) = 0x8075e84 brk(0x8076000) = 0x8076000 fcntl(1023, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=1}) = 0 fstat(1023, {st_mode=S_ISVTX|0436, st_size=0, ...}) = 0 fcntl(1023, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=1}) = 0 fstat(1, {st_mode=S_ISVTX|0400, st_size=0, ...}) = 0 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS...
2005 Sep 26
1
1.0alpha3: fcntl() complaints?
Hi, Since installing 1.0alpha3 this morning, I've seen this syslog complaint a few times. Anything to worry about? A "server too busy" issue? imap(user): fcntl() failed with mbox file /var/mail/user: Resource temporarily unavailable Jeff Earickson Colby College
2016 Jul 19
2
Samba 4.4.5 exists with segmention fault on FreeBSD 10.3 during domain provision
...ng blob"...,99) = 99 (0x63) extattr_set_fd(0xf,0x1,0x827447cbf,0x825859760,0x164) = 356 (0x164) write(2,"delete_windows_lock_ref_count fo"...,86) = 86 (0x56) close(15) = 0 (0x0) umask(0x12) = 0 (0x0) fcntl(10,F_SETLKW,0x7fffffffcba8) = 0 (0x0) fcntl(10,F_SETLKW,0x7fffffffcc48) = 0 (0x0) fcntl(12,F_SETLK,0x7fffffffbdf8) = 0 (0x0) fcntl(12,F_SETLKW,0x7fffffffbe78) = 0 (0x0) fcntl(12,F_SETLKW,0x7fffffffbee8) = 0 (0x0) fcntl(11,F_SETLK,0x7f...
2018 Nov 29
1
CLDAP using CPU alltime on Samba 4.8.4
...ath = /mnt/fratar-btrfs/profiles read only = No hide files = /desktop.ini/$RECYCLE.BIN/ vfs objects = btrfs [users] path = /mnt/fratar-btrfs/users read only = No vfs objects = btrfs strace -p PID is giving a lot of messages like these: fcntl(9, F_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=168, l_len=40000}) = 0 fcntl(9, F_SETLKW, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=40168, l_len=0}) = 0 fcntl(12, F_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=168, l_len=40000}) = 0 fcntl(12, F_SETLKW, {l_type=F_RDLCK, l_whence=SEEK_SET, l_sta...
2006 Apr 22
2
Re: TDB locking overhead and performance...
On Sat, Apr 22, 2006 at 06:15:31PM +0100, Daniel J Blueman wrote: > As a test, I changed the opening of the locking.tdb and brlock.tdb > files to use the TDB_INTERNAL flag, avoiding use of the fcntl(F_SETLK) > syscall for locking individual database records. Performance was a lot > snappier, with quite a bit less system time used. > > What is the scope of implementing shared memory TDBs, where locking > could be done simply on structures? How would you implement cross-process locking...
2014 Aug 20
6
Full MVCC in Brass
..., RSAFE]. If F_GETLK returns a conflicting lock, set RSAFE to one less than the lower bound of the conflicting revision range and retry. (Multiple retries may be necessary because it is unspecified which of multiple conflicting locks F_GETLK will return.) Once a lockable range has been found, use F_SETLK to acquire an exclusive lock on it. This may fail in an unlikely race with a reader; if it does, continue to back off RSAFE with F_GETLK. Remember RSAFE. 2) In the reader: Once the version file has been read, attempt to acquire a shared lock on the current revision. This may fail if a new revisi...
2008 Sep 30
1
Broken pipe, x86_64 CentOS 5.2
...t(PF_INET, SOCK_STREAM, IPPROTO_IP) = 7 setsockopt(7, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 bind(7, {sa_family=AF_INET, sin_port=htons(15003), sin_addr=inet_addr("0.0.0.0")}, 16) = 0 time(NULL) = 1222785330 listen(7, 512) = 0 fcntl(5, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0 clone(Process 18441 attached child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b276258fdb0) = 18441 [pid 18441] getsockname(3, {sa_family=AF_INET, sin_port=htons(56711), sin_addr=inet_addr("172.16.0.9&q...
2008 Nov 21
0
FW: Closing sessions and smbstatus
...egid() = 0 > setgroups(0, []) = 0 > setresgid(4294967295, 0, 4294967295) = 0 > getegid() = 0 > setresuid(0, 0, 4294967295) = 0 > geteuid() = 0 > fcntl(8, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=244, len=1}) = 0 > fcntl(8, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=244, len=1}) = 0 > stat("/etc/pam.d", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > open("/etc/pam.d/samba", O_RDONLY) = 25 > fstat(25, {st_mod...
2008 Dec 02
1
NFSv4 and locking
Greetings, We use NFSv4 on our cluster and perform distributed indexing (well, we used to on our previous system which used a simple touch() locking mechanism). I'm having a spot of bother getting Xapian to obtain a lock (hangs on fcntl64()). I've read http://trac.xapian.org/wiki/XapianOverNFS and other list posts, and noted that a lock daemon should be running to allow locks
2019 Jul 15
2
Error since Dovecot v2.3.7
...coding.com)<32484><goWh8rKNSNZfqJ9R>: Error: file_lock_free(): Unexpectedly failed to retry locking /var/spool/mail/iwascoding/paul/mdbox/mailboxes/INBOX/dbox-Mails/dovecot-vsize.lock: fcntl(/var/spool/mail/iwascoding/paul/mdbox/mailboxes/INBOX/dbox-Mails/dovecot-vsize.lock, write-lock, F_SETLK) locking failed: No such file or directory It seems that this is related to moving or deleting mails (IMAP). The file at least sometimes exists, the folder exists. You find my doveconf below. Thanks, Paul # 2.3.7 (494d20bdc): /etc/dovecot/dovecot.conf # Pigeonhole version 0.5.7 (5a4e63b5) # OS...
2016 Jul 21
0
Samba 4.4.5 exists with segmention fault on FreeBSD 10.3 during domain provision
...(0x63) > extattr_set_fd(0xf,0x1,0x827447cbf,0x825859760,0x164) = 356 (0x164) > write(2,"delete_windows_lock_ref_count fo"...,86) = 86 (0x56) > close(15) = 0 (0x0) > umask(0x12) = 0 (0x0) > fcntl(10,F_SETLKW,0x7fffffffcba8) = 0 (0x0) > fcntl(10,F_SETLKW,0x7fffffffcc48) = 0 (0x0) > fcntl(12,F_SETLK,0x7fffffffbdf8) = 0 (0x0) > fcntl(12,F_SETLKW,0x7fffffffbe78) = 0 (0x0) > fcntl(12,F_SETLKW,0x7fffffffbee8) = 0 (0x0) &...
2008 Oct 20
2
Closing sessions and smbstatus
Hi, When are client sessions closed? Let me explain what I'm trying to do... we're in a School district and we try to stop kids logging more than once. They way I did this before was to dump the active sessions from our previous Server2003 fileserver into a file once a minute and process it with a Perl script to check who was connected from where, rebooting machines remotely as
2013 Sep 25
3
Dovecot extremely slow!
...ferences/dovecot.index.log", {st_mode=S_IFREG|0644, st_size=11400, ...}) = 0 18:30:37.305654 fstat(10, {st_mode=S_IFREG|0644, st_size=11400, ...}) = 0 18:30:37.305786 fstat(10, {st_mode=S_IFREG|0644, st_size=11400, ...}) = 0 18:30:37.305964 alarm(180) = 0 18:30:37.306051 fcntl(10, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0 18:30:37.306458 alarm(0) = 180 18:30:37.306555 time(NULL) = 1380144637 18:30:37.306619 stat("/home/pato/mail/Astro/.imap/conferences/dovecot.index.log", {st_mode=S_IFREG|0644, st_size=11400, ...}) = 0 18:30...
2018 Mar 05
2
SQLite3 on 3 node cluster FS?
Hi, tl;dr summary of below: flock() works, but what does it take to make sync()/fsync() work in a 3 node GFS cluster? I am under the impression that POSIX flock, POSIX fcntl(F_SETLK/F_GETLK,...), and POSIX read/write/sync/fsync are all supported in cluster operations, such that in theory, SQLite3 should be able to atomically lock the file (or a subset of page), modify pages, flush the pages to gluster, then release the lock, and thus satisfy the ACID property that SQLite3 appe...
2020 Oct 07
2
[Announce] Samba 4.12.8 Available for Download
Release Announcements --------------------- This is the latest stable release of the Samba 4.12 release series. Changes since 4.12.7 -------------------- o G?nther Deschner <gd at samba.org> * BUG 14318: docs: Add missing winexe manpage. o Volker Lendecke <vl at samba.org> * BUG 14465: idmap_ad does not deal properly with a RFC4511 section 4.4.1 response. o Laurent
2020 Oct 07
2
[Announce] Samba 4.12.8 Available for Download
Release Announcements --------------------- This is the latest stable release of the Samba 4.12 release series. Changes since 4.12.7 -------------------- o G?nther Deschner <gd at samba.org> * BUG 14318: docs: Add missing winexe manpage. o Volker Lendecke <vl at samba.org> * BUG 14465: idmap_ad does not deal properly with a RFC4511 section 4.4.1 response. o Laurent
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