search for: writev

Displaying 20 results from an estimated 196 matches for "writev".

Did you mean: write
2010 Jan 10
1
cygwin 1.7.x rsync 3.0.6 hangs at arbitrary reproducible points in transfers
...in] rsync 5052 set_bits: ready 1 26 8512794 [main] rsync 5052 select_stuff::poll: returning 1 26 8512820 [main] rsync 5052 select_stuff::cleanup: calling cleanup routines 27 8512847 [main] rsync 5052 select_stuff::~select_stuff: deleting select records 51 8512898 [main] rsync 5052 writev: writev (4, 0x228064, 1) 32 8512930 [main] rsync 5052 writev: 4 = write (4, 0x228064, 1), errno 0 30 8512960 [main] rsync 5052 cygwin_select: 5, 0x0, 0x2284D4, 0x2284C4, 0x2284BC 53 8513013 [main] rsync 5052 dtable::select_write: fd 4 27 8513040 [main] rsync 5052 dtable::select_ex...
2023 Feb 24
1
[libnbd PATCH v3 07/29] lib/utils: add async-signal-safe assert()
...y if you ignore this whole paragraph of mine. >> >> Any single buffer presents the problem of sizing the buffer >> appropriately, which we can't do in this context :) > > Actually, we *can* do better: > > https://pubs.opengroup.org/onlinepubs/9699919799/functions/writev.html > > What we're doing here is the textbook use case for scatter-gather (well, > in this case, gather). It's strange that it has taken me one night to > realize this (it occurred to me before falling asleep last night), given > that I heavily used scatter-gather in other,...
2009 Aug 27
0
writev errors on our glusterFS
...rlying EXT3 filesystem. restarted and mounted everything and still got errors. so, in hopes of 'solving' this, i upgraded to version 2.06, but we're still getting the following errors on the server side. x61e0c0: Invalid argument [2009-08-27 10:15:41] D [server-protocol.c:1916:server_writev_cbk] server: 33: WRITEV 1 (319495) ==> -1 (Invalid argument) and now i'm also seeing these [2009-08-27 13:32:47] D [server-protocol.c:3561:server_forget] brick: 22206: FORGET 16385 not found in inode table anyone have any ideas on how this could have happened? i'm just _very_ glad t...
2014 Dec 29
2
smbd's using up 100% of all cpu's and load avg slowly going up
...fers to /var/run/samba/winbindd/pipe >> >> Regards, >> Bruno Andrade. >> >> On 12/29/2014 11:56 AM, Bruno Andrade wrote: >>> Hi, >>> >>> Here is some output of "strace -ff -p" to the process using ~100% CPU >>> >>> writev(75, [{"\250\r\0\0\2\0\0\0S-1-5-21-2097307442-3435"..., 3496}], >>> 1) = 3496 >>> epoll_wait(9, {{EPOLLIN, {u32=2539833808, u64=140271876753872}}}, 1, >>> 30000) = 1 >>> readv(91, >>> [{"\34\0\0\0\0\0\0\0rT\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0...
2014 Dec 29
2
smbd's using up 100% of all cpu's and load avg slowly going up
...LE,DC=COM.ldb 16 -> /var/lib/samba/private/sam.ldb.d/metadata.tdb the others refers to /var/run/samba/winbindd/pipe Regards, Bruno Andrade. On 12/29/2014 11:56 AM, Bruno Andrade wrote: > Hi, > > Here is some output of "strace -ff -p" to the process using ~100% CPU > > writev(75, [{"\250\r\0\0\2\0\0\0S-1-5-21-2097307442-3435"..., 3496}], > 1) = 3496 > epoll_wait(9, {{EPOLLIN, {u32=2539833808, u64=140271876753872}}}, 1, > 30000) = 1 > readv(91, > [{"\34\0\0\0\0\0\0\0rT\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 2092}], > 1) = 2...
2014 May 13
0
Samba 4.1 id->user mapping slow (using winbind)
...nce=SEEK_SET, start=37196, len=1}) = 0 fcntl(11, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=37196, len=1}) = 0 fcntl(11, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=6032, len=1}) = 0 fcntl(11, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=6032, len=1}) = 0 writev(44, [{"\5\0\2\3\20\0\0\0P\0\20\0\270])\1\30\0\0\0\0\0\0\0\271\366\345\26sb\276\220"..., 80}], 1) = 80 epoll_wait(9, {{EPOLLIN, {u32=1836735552, u64=140507396856896}}}, 1, 30000) = 1 readv(44, [{"\5\0\0\3\20\0\0\0P\0", 10}], 1) = 10 readv(44, [{"\...
2014 Dec 29
2
smbd's using up 100% of all cpu's and load avg slowly going up
Hi, I'm having problems in a second domain controller machine. Every time a restart samba, few time after a samba process starts using almost 100% cpu. It's a Centos 6.5 x86_64 with the following: sernet-samba-libsmbclient0-4.1.6-7.el6.x86_64 sernet-samba-ad-4.1.6-7.el6.x86_64 sernet-build-key-1.1-4.noarch sernet-samba-libs-4.1.6-7.el6.x86_64 sernet-samba-client-4.1.6-7.el6.x86_64
2007 Dec 11
1
1.1.beta10 pop3 process hangs with 100% CPU
Hello, we have observed pop3 process which got stuck consuming all available CPU. It seems that it happened because of some kind of abnormal POP3 connection termination. Here is strace info for this process: 13:36:05.866190 writev(1, [{"508qWWH96If+uVXeH2Zxl/hkn+plVwmI"..., 3975}, {"HP1oxt+np0o4Xtz27VQBtxx0zWfGuA3r"..., 193}], 2) = -1 EPIPE (Broken pipe) 13:36:05.866250 --- SIGPIPE (Broken pipe) @ 0 (0) --- 13:36:05.866288 epoll_ctl(6, EPOLL_CTL_DEL, 1, {0, {u32=135259776, u64=135259776}}) = 0 13:36:05.86...
2015 Jun 16
2
winbind bug - possible overflow
On Tue, Jun 16, 2015 at 09:12:24AM -0700, Jeremy Allison wrote: > Not that I know of. Can you run winbindd under valgrind ? > Should help debug this. this is the only waring regardless read/write that valgrind reports: ==16475== Syscall param writev(vector[...]) points to uninitialised byte(s) ==16475== at 0xBB32337: writev (in /usr/lib64/libc-2.17.so) ==16475== by 0xA4AC8E4: writev_handler (async_sock.c:514) ==16475== by 0xB5EE30A: ??? (in /usr/lib64/libtevent.so.0.9.21) ==16475== by 0xB5EC7D6: ??? (in /usr/lib64/libtevent.so.0.9....
2016 Jul 30
2
[Qemu-devel] [PATCH 6/7] qemu: Implement virtio-pstore device
...t; > > > > + fd = open(path, flags, 0644); > > > > > + if (fd < 0) { > > > > > + error_report("cannot open %s", path); > > > > > + return -1; > > > > > + } > > > > > + len = writev(fd, out_sg, out_num); > > > > > + close(fd); > > > > > + > > > > > + return len; > > > > > > > > All this is blocking VM until host io completes. > > > > > > Hmm.. I don't know about the internals of...
2016 Jul 30
2
[Qemu-devel] [PATCH 6/7] qemu: Implement virtio-pstore device
...t; > > > > + fd = open(path, flags, 0644); > > > > > + if (fd < 0) { > > > > > + error_report("cannot open %s", path); > > > > > + return -1; > > > > > + } > > > > > + len = writev(fd, out_sg, out_num); > > > > > + close(fd); > > > > > + > > > > > + return len; > > > > > > > > All this is blocking VM until host io completes. > > > > > > Hmm.. I don't know about the internals of...
2014 Dec 29
0
smbd's using up 100% of all cpu's and load avg slowly going up
Hi, Here is some output of "strace -ff -p" to the process using ~100% CPU writev(75, [{"\250\r\0\0\2\0\0\0S-1-5-21-2097307442-3435"..., 3496}], 1) = 3496 epoll_wait(9, {{EPOLLIN, {u32=2539833808, u64=140271876753872}}}, 1, 30000) = 1 readv(91, [{"\34\0\0\0\0\0\0\0rT\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 2092}], 1) = 2092 gettimeofday({1419854003,...
2014 Dec 29
0
smbd's using up 100% of all cpu's and load avg slowly going up
...b.d/metadata.tdb > > the others refers to /var/run/samba/winbindd/pipe > > Regards, > Bruno Andrade. > > On 12/29/2014 11:56 AM, Bruno Andrade wrote: >> Hi, >> >> Here is some output of "strace -ff -p" to the process using ~100% CPU >> >> writev(75, [{"\250\r\0\0\2\0\0\0S-1-5-21-2097307442-3435"..., 3496}], >> 1) = 3496 >> epoll_wait(9, {{EPOLLIN, {u32=2539833808, u64=140271876753872}}}, 1, >> 30000) = 1 >> readv(91, >> [{"\34\0\0\0\0\0\0\0rT\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,...
2014 Dec 29
0
smbd's using up 100% of all cpu's and load avg slowly going up
...;>> >>> Regards, >>> Bruno Andrade. >>> >>> On 12/29/2014 11:56 AM, Bruno Andrade wrote: >>>> Hi, >>>> >>>> Here is some output of "strace -ff -p" to the process using ~100% CPU >>>> >>>> writev(75, [{"\250\r\0\0\2\0\0\0S-1-5-21-2097307442-3435"..., 3496}], >>>> 1) = 3496 >>>> epoll_wait(9, {{EPOLLIN, {u32=2539833808, u64=140271876753872}}}, 1, >>>> 30000) = 1 >>>> readv(91, >>>> [{"\34\0\0\0\0\0\0\0rT\0\0\0\0\0\0\0...
2018 Jul 02
4
No run cmd /usbhid-ups -k !
...esource busy) ioctl(12, USBDEVFS_GETDRIVER, 0xbecf9024) = 0 ioctl(12, USBDEVFS_CLAIMINTERFACE, 0xbecf910c) = -1 EBUSY (Resource busy) ioctl(12, USBDEVFS_GETDRIVER, 0xbecf9024) = 0 ioctl(12, USBDEVFS_CLAIMINTERFACE, 0xbecf910c) = -1 EBUSY (Resource busy) ioctl(12, USBDEVFS_GETDRIVER, 0xbecf9024) = 0 writev(2, [{"Can't claim USB device [0463:fff"..., 62}, {NULL, 0}], 2Can't claim USB device [0463:ffff]: No such file or directory ) = 62 exit_group(1) = ? +++ exited with 1 +++ Why? My ups is: [qnapups] driver = usbhid-ups port = auto desc = Eaton 5SC 500...
2003 Jul 20
1
rsync on cygwin is hanging
...che\comdlg32.dll, 0x80000000, 0x7, 0x22EED0, 0x3, 0x2000081, 0) 207 13026 [main] rsync 2036 fhandler_base::set_flags: flags 0x110000, suppli ed_bin 0x10000 189 13215 [main] rsync 2036 fhandler_base::set_flags: O_TEXT/O_BINARY set in ...skipping... 096) 193 29378730 [main] rsync 2036 writev: 4096 = write (1, 0x226AC0, 1), errno 0 223 29378953 [main] rsync 2036 cygwin_select: 2, 0x0, 0x226B00, 0x0, 0x226AF0 382 29379335 [main] rsync 2036 dtable::select_write: /dev/pipew fd 1 182 29379517 [main] rsync 2036 cygwin_select: to->tv_sec 60, to->tv_usec 0, ms 60000 238...
2008 May 29
3
Frequent Gnome Terminal crashes in CentOS 5.1
Ever since I upgraded all my systems to CentOS 5.1 I have been getting reports from users about "all their windows disappearing". A little digging revealed that they meant all gnome-terminal windows. Since there is only one gnome-terminal process by default for all your open terminal windows and tabs, a crash of that process means losing all your terminal windows. These
2016 Jul 28
2
[PATCH 6/7] qemu: Implement virtio-pstore device
...flags |= O_APPEND; > > > + } > > > + > > > + fd = open(path, flags, 0644); > > > + if (fd < 0) { > > > + error_report("cannot open %s", path); > > > + return -1; > > > + } > > > + len = writev(fd, out_sg, out_num); > > > + close(fd); > > > + > > > + return len; > > > > All this is blocking VM until host io completes. > > Hmm.. I don't know about the internals of qemu. So does it make guest > stop? If so, that's what I want...
2016 Jul 28
2
[PATCH 6/7] qemu: Implement virtio-pstore device
...flags |= O_APPEND; > > > + } > > > + > > > + fd = open(path, flags, 0644); > > > + if (fd < 0) { > > > + error_report("cannot open %s", path); > > > + return -1; > > > + } > > > + len = writev(fd, out_sg, out_num); > > > + close(fd); > > > + > > > + return len; > > > > All this is blocking VM until host io completes. > > Hmm.. I don't know about the internals of qemu. So does it make guest > stop? If so, that's what I want...
2023 Feb 21
1
[libnbd PATCH v3 07/29] lib/utils: add async-signal-safe assert()
...anyways. I'm >> happy if you ignore this whole paragraph of mine. > > Any single buffer presents the problem of sizing the buffer > appropriately, which we can't do in this context :) Actually, we *can* do better: https://pubs.opengroup.org/onlinepubs/9699919799/functions/writev.html What we're doing here is the textbook use case for scatter-gather (well, in this case, gather). It's strange that it has taken me one night to realize this (it occurred to me before falling asleep last night), given that I heavily used scatter-gather in other, not-so-old, code. (Namel...