search for: f_wrlck

Displaying 20 results from an estimated 86 matches for "f_wrlck".

2009 Oct 13
3
Dovecot lock problem
Hi, We have a few users experiencing locking problem. When starting Thunderbird, there is no new emails in Inbox. Dovecot createa a lock file /var/spool/mail/<user>.lock. It never completes openning Inbox. If closing the mail client, the open imap session does not get closed, nor the lock file get deleted. Here are the errors in log: dovecot: Oct 13 11:18:35 Warning: IMAP(user1): Our
2008 May 20
1
The specified network name is no longer available 3.0.25 RHEL4
...4) set_filetime(user_v7.exe) failed: No such file or directory [2008/05/16 10:49:02, 2] smbd/close.c:close_normal_file(399) adrians closed file user_v7.exe (numopen=2) NT_STATUS_OK Strace Output utimes("Fedora-9-i386-DVD.iso", {1210211667, 0}) = 0 fcntl64(7, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=688, len=1}, 0xbff91fa0) = 0 fcntl64(7, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=688, len=1}, 0xbff91fa0) = 0 geteuid32() = 1410 getuid32() = 1410 geteuid32() = 1410 setresuid3...
2002 Sep 25
2
smbd process with high cpu utilization.
...F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=404, len=1}, 0xbfffefa0) = 0 sendto(12, "\3\0X\r\0\0&\0\0\0\0\0\0\0\'\374\f\0\0\0\0\0\16\0\0\0", 26, 0, {sin_family=AF_INET, sin_port=htons(41373), sin_addr=inet_addr("127.0.0.1")}}, 16) = 26 fcntl64(13, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=404, len=1}, 0xbfffefa0) = 0 kill(3382, SIG_0) = 0 fcntl64(13, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=404, len=1}, 0xbfffefa0) = 0 sendto(12, "\3\0X\r\0\0&\0\0\0\0\0\0\0\'\374\f\0\0\0\0\0\16\0\0\0", 26, 0, {sin_family=AF_INE...
2018 Jul 02
0
Samba 4.3.11 accessing disk every minute
...acl_default", 0xbeb26ee0, 132) = -1 ENODATA (No data available) stat64(".", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0 gettimeofday({1530539063, 61427}, NULL) = 0 gettimeofday({1530539063, 61912}, NULL) = 0 gettimeofday({1530539063, 62268}, NULL) = 0 fcntl64(28, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=340, len=1}, 0xbeb26f48) = 0 fcntl64(28, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}, 0xbeb26e48) = 0 fcntl64(28, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}, 0xbeb26e88) = 0 fcntl64(28, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=34...
2004 Oct 21
0
update: samba causing high load
...2 days and the problem seems to occur when used swap is about 250 (256?)MB. I tried doing a strace on the process that was left after a shutdown of smb. I got a lot of this: fcntl64(5, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=7252, len=1}, 0xbff 053b0) = 0 fcntl64(5, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=7256, len=1}, 0xbff 053b0) = 0 fcntl64(5, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=7256, len=1}, 0xbff 053b0) = 0 fcntl64(5, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=7260, len=1}, 0xbff 053b0) = 0 fcntl64(5, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, st...
2014 Dec 16
1
Fwd: samba & Oracle ACFS Issues
...;) and see what it does. gstack <pid> also helps >often. We got the following strace over the samba process 'locked' *[PRO]* [root at pf3il0024 ~]# strace -p *38063* Process 38063 attached - interrupt to quit fcntl(39, F_SETSIG, 0x23) = 0 fcntl(39, F_SETLEASE, F_WRLCK) = 0 getxattr("tf-PRENSA_DIRLOG_20141202_100852", "system.posix_acl_access", 0x7fff5f0b8320, 132) = -1 *ENOENT* (No such file or directory) getxattr("tf-PRENSA_DIRLOG_20141202_100852", "system.posix_acl_access", 0x7fff5f0b8310, 132) = -1 *ENOENT* (...
1999 Aug 26
0
smbsh always segfaults
...DF (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, -1, 0) = 0x400...
2001 Dec 19
0
Samba not working on PARISC Linux
...glibc problem to me - I think it is calling fcntl where it should be calling fcntl64, and using FSETLKW rather than F_SETLKW64. samba builds with -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE Using a test program, without those defines, i386 strace shows: fcntl64(3, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=1}) = 0 with those defines: fcntl64(3, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=0, len=1}, 0xbffffa9c) = 0 Now on hppa, without those defines fcntl(3, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=1}) = 0 and with them: fcntl(3, F_SETLKW, {typ...
2014 Dec 16
2
Fwd: samba & Oracle ACFS Issues
On Tue, Dec 16, 2014 at 03:40:08PM +0100, Nacho del Rey wrote: > Hi there > > In an Oracle RAC cluster using ACFS (as file-system) where we have a samba > server for sharing files to windows clients, we are suffering a strange > issue, from time to time, which it causes the Windows clients lock for a > while (10 min or a bit more) or even indefinitely when they are working >
2004 Nov 16
1
Samba 3.0.4 and DOS 6.2.2 - MSDOS Copy problem
...= 107 stat("3277/TEST/DEFAULT.PLP", {st_mode=S_IFREG|0764, st_size=600, ...}) = 0 gettimeofday({1100611783, 894905}, NULL) = 0 getxattr("3277/TEST/DEFAULT.PLP", "user.DOSATTRIB", 0x7fbffff180, 256) = -1 ENODATA (No data available) fcntl(11, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=428, len=1}) = 0 open("3277/TEST/DEFAULT.PLP", O_RDONLY) = 27 time([1100611783]) = 1100611783 rt_sigaction(SIGPIPE, {0x2a96c00940, [], 0x4000000}, {SIG_DFL}, 8) = 0 sendto(18, "<13>Nov 16 06:29:43 smbd_audit[2"..., 75, 0, NULL,...
2008 Nov 21
0
FW: Closing sessions and smbstatus
...localtime", {st_mode=S_IFREG|0644, st_size=2819, ...}) = 0 > sendto(19, "<86>Oct 21 22:01:19 smbd: pam_un"..., 84, MSG_NOSIGNAL, NULL, > 0) = 84 > munmap(0x7f2f892fd000, 2195080) = 0 > munmap(0x7f2f888d4000, 2209176) = 0 > fcntl(8, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=244, len=1}) = 0 > fcntl(8, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=119392, len=1}) = > 0 > fcntl(8, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=119392, len=1}) = > 0 > fcntl(8, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}) = 0 > fc...
2005 Mar 26
1
test65 "deliver" LDA bug
...LARGEFILE) = 6 fstat64(6, {st_mode=S_IFREG|0600, st_size=1202176, ...}) = 0 mmap2(NULL, 1202176, PROT_READ, MAP_SHARED, 6, 0) = 0xb27bf000 fcntl64(4, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}, 0xb7171470) = 0 alarm(120) = 0 fcntl64(5, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}, 0xb71714b0) = 0 alarm(0) = 120 stat64("/export/home/bfg/Maildir/dovecot.index.log", {st_mode=S_IFREG|0600, st_size=16504, ...}) = 0 fstat64(5, {st_mode=S_IFREG|0600, st_size=16504, ...}) = 0 mmap2(NULL, 16504, PROT_READ,...
2016 Oct 13
3
Bug 6870 resurfaced in Samba 4.2.10
...(11) = 0 <0.000024> 11:41:52 close(10) = 0 <0.000020> 11:41:52 fcntl(8, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=288, len=1}) = 0 <0.000021> 11:41:52 fcntl(8, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=288, len=1}) = 0 <0.000018> 11:41:52 fcntl(9, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=48, len=1}) = 0 <0.000019> 11:41:52 fcntl(9, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=48, len=1}) = 0 <0.000032> 11:41:52 fcntl(9, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=48, len=1}) = 0 <0.000019> 11:41:52 fcntl(9, F_SETLKW, {type=F_UNLCK, w...
2002 Jul 02
1
Major samba load caused by re-reading of the configuration file
...that they are normal and nothing to worry about. --- SIGUSR1 (User defined signal 1) --- write(21, "\1", 1) = 1 sigreturn() = ? (mask now [FPE USR2 PIPE]) read(20, "\1", 1) = 1 fcntl64(7, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=604, len=1}, 0xbffff430) = 0 fcntl64(7, F_SETLK64, {type=F_WRLCK, whence=SEEK_SET, start=14544, len=1}, 0xbffff3d0) = 0 fcntl64(7, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=14544, len=1}, 0xbffff3d0) = 0 fcntl64(7, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=164...
2005 Dec 15
4
hanging smbd(s).....
dear all, the following problem occurs periodically (appr. once a week) here: the number of smbd(s) will dramatically rise (up to 500 and more...) when having a look what the proccesses are doing i only see that they are waiting for getting a lock: fcntl64(4, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=240, len=1}, 0xbfefa5c0) = 0 filedescriptor 4 is bound to my secrets.tdb ! after that i checket which process holds the lock of secrets.tdb i'll see that it has it locked and is waiting for some packet from network (maybe from client or maybe from domain-controler, i n...
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
2016 Jul 18
0
how to disable 'pcap cache not loaded' messages?
...fresh() fails, and prints these messages. See strace log fragment below. === [pid 31896] open("/var/run/samba/printer_list.tdb", O_RDWR|O_CREAT, 0644) = 37 [pid 31896] fcntl(37, F_GETFD) = 0 [pid 31896] fcntl(37, F_SETFD, FD_CLOEXEC) = 0 [pid 31896] fcntl(37, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0 [pid 31896] fcntl(37, F_SETLK, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=4, l_len=1}) = 0 [pid 31896] fcntl(37, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=168, l_len=0}) = 0 [pid 31896] lseek(37, 0, SEEK_SET) = 0 [pid 31896] ftruncat...
2008 Oct 22
2
smbd high cpu load
We have a Linux file server for a set of computer science and engineering labs where each lab contains machines running Mac OS X, Ubuntu Linux, or some incarnation of Windows. At times the these machines become almost unusable and I think I have narrowed the problem to smbd processes soaking up all the CPU on the server. Running 'top' on the server reveals a dozen or so entries like
2006 Jan 26
3
Samba daemons hang trying to lock locking.tdb
...ter starting samba, some daemons (diferent forks) begin to hang. Then, the WinXP clients hang too completely. When I try to figure out what is happen, I see that smbd daemons hangs always in a fcntl64() call: # strace -p 6414 Process 6414 attached - interrupt to quit fcntl64(14, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=3684, len=1} <unfinished ...> Process 6414 detached # The file descriptor 14 corresponds to /var/lib/samba/locking.tdb file. A backtrace using gdb from one stalled daemon: (gdb) bt #0 0x00faf402 in __kernel_vsyscall () #1 0x003dbd7a in fcntl () from /lib/libc.so....
2009 Sep 07
1
high imap load on large folders
...00\207@\0\0\20\0\0\0\0\0\0\0\0$\0\0\0\0\0\0\0\1\0\0\0\200\200\200\214"..., 1024, 32720) = 92 pread64(8, "", 1024, 32812) = 0 stat64("/var/spool/indexes/ingoiwt/.wx-dev/dovecot.index", {st_mode=S_IFREG|0600, st_size=451180, ...}) = 0 fcntl64(9, F_SETLK64, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}, 0xbfb084c8) = 0 pread64(9, "\7\2x\0\320\0\0\0\f\0\0\0\1\0\0\0\22o\240J\0\0\0\0k\201\237J\316\222\0\0"..., 120, 0) = 120 pwrite64(9, "$\0\0\0\0\0\0\0\0\0\0\0\0\0\7\0maildir\0\35\303\244J\22o\240J"..., 88, 120) = 88 pwrite64(9, "\316\2...