Displaying 20 results from an estimated 131 matches for "fcntl64".
2013 Jan 07
4
3.6.10 file handle leak under ancient 32-bit kernel
Hello,
I've come across a curious issue with
Samba 3.6.10.
When running 'emacs' version
GNU Emacs 23.3.1 (i386-mingw-nt6.0.6002) of 2011-03-10 on 3249CTO
on Windows Server 2008 SP2 x64 and issuing
a file "revert" of one sort or another
against a Samba-served file, the 'smbd'
process leaks two or three handles.
Eventually, when 16k handles are open,
this causes
2017 May 02
2
samba process use 100% cpu
...m 23m 6248 S 0.3 0.2 0:02.54
/usr/local/samba4/sbin/smbd -D --option=server role check:inhibit=yes
--foreground
26997 3000146 20 0 143m 23m 6252 S 0.3 0.2 0:02.83
/usr/local/samba4/sbin/smbd -D --option=server role check:inhibit=yes
--foreground
I tried strace, and got this:
fcntl64(13, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=9400,
len=1}, 0xbff3ce24) = 0
writev(50, [{"0\0", 2},
{"\5\0\2\3\20\0\0\0000\0\0\0\2\0\0\0\30\0\0\0\0\0\0\0\0\0\0\0\336\210/g"...,
48}], 2) = 50
epoll_wait(11, {{EPOLLIN, {u32=2962349656, u64=2962349656}}}, 1, 30000) = 1
r...
2017 May 09
2
samba process use 100% cpu
...a4/sbin/smbd -D --option=server role check:inhibit=yes
> --foreground
> 26997 3000146 20 0 143m 23m 6252 S 0.3 0.2 0:02.83
> /usr/local/samba4/sbin/smbd -D --option=server role check:inhibit=yes
> --foreground
>
>
>
> I tried strace, and got this:
>
>
> fcntl64(13, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=9400,
> len=1}, 0xbff3ce24) = 0
> writev(50, [{"0\0", 2},
> {"\5\0\2\3\20\0\0\0000\0\0\0\2\0\0\0\30\0\0\0\0\0\0\0\0\0\0\0\336\210/g"...,
> 48}], 2) = 50
> epoll_wait(11, {{EPOLLIN, {u32=2962349656, u64=29623...
2017 May 09
0
samba process use 100% cpu
...a4/sbin/smbd -D --option=server role check:inhibit=yes
> --foreground
> 26997 3000146 20 0 143m 23m 6252 S 0.3 0.2 0:02.83
> /usr/local/samba4/sbin/smbd -D --option=server role check:inhibit=yes
> --foreground
>
>
>
> I tried strace, and got this:
>
>
> fcntl64(13, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=9400,
> len=1}, 0xbff3ce24) = 0
> writev(50, [{"0\0", 2},
> {"\5\0\2\3\20\0\0\0000\0\0\0\2\0\0\0\30\0\0\0\0\0\0\0\0\0\0\0\336\210/g"...,
> 48}], 2) = 50
> epoll_wait(11, {{EPOLLIN, {u32=2962349656, u64=29623...
2017 May 09
0
samba process use 100% cpu
...k:inhibit=yes
>> --foreground
>> 26997 3000146 20 0 143m 23m 6252 S 0.3 0.2 0:02.83
>> /usr/local/samba4/sbin/smbd -D --option=server role check:inhibit=yes
>> --foreground
>>
>>
>>
>> I tried strace, and got this:
>>
>>
>> fcntl64(13, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=9400,
>> len=1}, 0xbff3ce24) = 0
>> writev(50, [{"0\0", 2},
>> {"\5\0\2\3\20\0\0\0000\0\0\0\2\0\0\0\30\0\0\0\0\0\0\0\0\0\0\0\336\210/g"...,
>> 48}], 2) = 50
>> epoll_wait(11, {{EPOLLIN, {u32=2962...
2008 May 20
1
The specified network name is no longer available 3.0.25 RHEL4
...mbd/dosmode.c:set_filetime(604)
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()...
2008 Jan 17
1
convert plugin fails - drops root privileges then tries to create file in /
...O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=665, ...}) = 0
pread64(3, "## Dovecot 1.0 configuration fil"..., 2048, 0) = 665
pread64(3, "", 1383, 665) = 0
close(3) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 3
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3) = 0
socket(PF_FILE, SOCK_STREAM, 0) =...
2008 Feb 29
1
cram-md5 crashes passdb
...-a
Linux 2.6.16-tbs-smp #1 SMP PREEMPT Wed Oct 17 13:07:32 GMT 2007 i686
unknown unknown GNU/Linux
# strace -f dovecot
send(9, "<22>Feb 29 10:23:12 dovecot: Dov"..., 57, 0x4000) = 57
rt_sigaction(SIGINT, {0x8058760, [], 0}, NULL, 8) = 0
pipe([10, 11]) = 0
fcntl64(0xa, 0x1, 0, 0xb7fcfacc) = 0
fcntl64(0xa, 0x2, 0x1, 0xb7fcfacc) = 0
fcntl64(0xb, 0x1, 0, 0xb7fcfacc) = 0
fcntl64(0xb, 0x2, 0x1, 0xb7fcfacc) = 0
rt_sigaction(SIGTERM, {0x8058760, [], 0}, NULL, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
rt_sigaction(SIGALRM, {0x80588...
2018 Jul 02
0
Samba 4.3.11 accessing disk every minute
...t;.", "system.posix_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_UN...
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
2002 Sep 25
2
smbd process with high cpu utilization.
One of my smbd processes used 100% cpu. I straced the process and the
output follows:
washington:~# strace -p 3416
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_INET, sin_port=htons(41373),
sin_addr=inet_addr("127.0.0.1")}}, 16) = 26
fcntl64(13, F_SETLKW64, {...
2005 Mar 26
1
test65 "deliver" LDA bug
...RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=111, ...}) = 0
pread(3, "#\n#\n# \n\nmail = maildir:%h/Maildi"..., 1024, 0) = 111
pread(3, "", 913, 111) = 0
close(3) = 0
socket(PF_UNIX, SOCK_STREAM, 0) = 3
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(3, {sa_family=AF_UNIX, path="/var/run/dovecot/auth-master"},
110) = 0
fstat64(3, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
_llseek(3, 0, 0xb71716b0, SEEK_CUR) = -1 ESPIPE (Ille...
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
2004 Oct 21
0
update: samba causing high load
...any
luck. After about 2 days it seems to halt det server again. I have noticed
that the use of swap increases during the 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...
2003 Nov 02
2
dies on start-up: Auth process
..._RDONLY|O_LARGEFILE|O_NOFOLLOW) = 4
fchdir(4) = 0
open("/dev/null", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOTDIR (Not a
directory)
open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 6
fstat64(6, {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0
fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
brk(0) = 0x8061000
brk(0x8062000) = 0x8062000
getdents64(6, /* 2 entries */, 4096) = 48
getdents64(6, /* 0 entries */, 4096) = 0
close(4) = 0
close(6)...
2004 Jul 29
2
Samba 3.0.x and high processor utilication caused by /etc/passwd access
...16 0 5504 5504 3928 R 7.1 1.0 0:59 smbd
28475 root 9 0 4280 4280 3700 S 0.3 0.8 0:02 smbd
Systrace on one of the smbd processes shows the following:
################################################################
open("/etc/passwd", O_RDONLY) = 26
fcntl64(26, F_GETFD) = 0
fcntl64(26, F_SETFD, FD_CLOEXEC) = 0
_llseek(26, 0, [0], SEEK_CUR) = 0
fstat64(26, {st_mode=S_IFREG|0644, st_size=5540, ...}) = 0
mmap2(NULL, 5540, PROT_READ, MAP_SHARED, 26, 0) = 0x40510000
_llseek(26, 5540, [5540], SEEK_SET) = 0
fstat64(26,...
2005 Oct 11
3
dovecot won't launch
...pread(3, "#userdb sql {\n # Path for SQL"..., 2046, 26209) = 2046
pread(3, "r/run/dovecot-auth-master\n# "..., 2031, 28255) = 773
pread(3, "", 1258, 29028) = 0
close(3) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 3
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) =
-1 ENOENT (No such file or directory)
close(3) = 0
socket(PF_FILE, SOCK_STREAM, 0)...
2002 Sep 11
0
Strange Hang over ssh
..., 0) = 0x40015000
mprotect(0x4001e000, 984, PROT_NONE) = 0
old_mmap(0x4001e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x9000) = 0x4001e000
close(3) = 0
munmap(0x40021000, 45585) = 0
open("/etc/passwd", O_RDONLY) = 3
fcntl64(3, F_GETFD) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1234, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001f000
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1234
clo...
2004 Mar 26
1
nmbd dying
....0.1")}, [16]) = 81
close(9) = 0
write(5, "BORDER-ACCT\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 88) = 88
read(6, "ACCTMAX\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 88) = 88
open("/etc/hosts", O_RDONLY) = 9
fcntl64(9, F_GETFD) = 0
fcntl64(9, F_SETFD, FD_CLOEXEC) = 0
fstat64(9, {st_mode=S_IFREG|0644, st_size=154, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(9, "# Generated automatically from h"..., 4096) = 154
read(9...
2006 Oct 28
1
Cygwin rsync to RH rsync server
...46] getpeername(3, {sa_family=AF_INET, sin_port=htons(3022),
sin_addr=inet_addr("10.0.2.137")}, [16]) = 0
[pid 26646] getpeername(3, {sa_family=AF_INET, sin_port=htons(3022),
sin_addr=inet_addr("10.0.2.137")}, [16]) = 0
[pid 26646] socket(PF_FILE, SOCK_STREAM, 0) = 5
[pid 26646] fcntl64(5, F_GETFL) = 0x2 (flags O_RDWR)
[pid 26646] fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 26646] connect(5, {sa_family=AF_FILE, path="/var/run/nscd/socket"},
110) = -1 ENOENT (No such file or directory)
[pid 26646] close(5) = 0
[pid 26646] socket(PF_FILE, SOC...