Displaying 20 results from an estimated 400 matches similar to: "nsd 4.0 EAGAIN loop in sendmmsg(2)"
2015 Dec 02
5
[PATCH] Receive multiple packets at a time
Hello,
Linux has a recvmmsg() system call which allows to achieve several
recvfrom() at a time. The patch below makes tinc use it (patch against
1.1-pre11). Basically the patch turns the handle_incoming_vpn_data
variables into arrays (of size 1 when recvmmsg is not available, and
thus compiled the same as before), and makes the code index into the
arrays. You may want to use interdiff -w
2015 Dec 02
1
[PATCH] Receive multiple packets at a time
Guus Sliepen, on Wed 02 Dec 2015 13:53:37 +0100, wrote:
> I guess in the future, we want to put a "cork" on the output until all
> packets from a single recvmmsg() have been received, so that we can do
> sendmmsg() on the resulting outgoing packets.
Yes.
> > More is yet to come: I'll have a look at extending the tun/tap interface
> > to send/receive several
2015 Jan 05
1
[Announcement] Tinc version 1.1pre11 released
On Mon, Jan 5, 2015 at 7:10 AM, Lance Fredrickson
<lancethepants at gmail.com> wrote:
> Just wanted to pop in and say I think 1.1pre11 is a really good release.
> I have a couple nodes behind a work firewall (sonicwall) over which I have
> no control. Previously nodes always fell back to TCP, and the connection
> was unusable. Now it always connects over UDP and works like it
2019 May 22
4
custom virt-io support (in user-mode-linux)
Hi,
While my main interest is mostly in UML right now [1] I've CC'ed the
qemu and virtualization lists because something similar might actually
apply to other types of virtualization.
I'm thinking about adding virt-io support to UML, but the tricky part is
that while I want to use the virt-io basics (because it's a nice
interface from the 'inside'), I don't actually
2019 May 22
4
custom virt-io support (in user-mode-linux)
Hi,
While my main interest is mostly in UML right now [1] I've CC'ed the
qemu and virtualization lists because something similar might actually
apply to other types of virtualization.
I'm thinking about adding virt-io support to UML, but the tricky part is
that while I want to use the virt-io basics (because it's a nice
interface from the 'inside'), I don't actually
2019 May 22
1
custom virt-io support (in user-mode-linux)
On 22/05/2019 14:02, Johannes Berg wrote:
> Hi,
>
> While my main interest is mostly in UML right now [1] I've CC'ed the
> qemu and virtualization lists because something similar might actually
> apply to other types of virtualization.
>
> I'm thinking about adding virt-io support to UML, but the tricky part is
> that while I want to use the virt-io basics
2015 Dec 10
2
[PATCH] Receive multiple packets at a time
On Thu, Dec 10, 2015 at 10:15:19AM +0100, Samuel Thibault wrote:
> I did get a bit more than a hundred packets in the queue at 800Mbps. But
> we can reduce to 64, yes. I wouldn't recommend using a static buffer,
> since we'd want to go threaded at some point. Allocating an array on the
> stack is very cheap anyway.
I assumed that one would only get more than 1 packet at a
2006 Aug 08
0
EAGAIN error in production.log
Hello,
I''m seeing quite a few of the following errors in my production log:
Errno::EAGAIN (Resource temporarily unavailable):
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/cgi_process.rb:184:
in `write''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/cgi_process.rb:184:
in `out''
2005 May 08
0
EAGAIN when handling file uploads
Hey guys,
There''s a new ticket (1268) which covers someone getting EAGAIN from
cgi.rb when handling file uploads. So stdin.read is raising EAGAIN
and nothing is retrying, the error makes its way all the way up to the
controller. Is this something that we want to fix, or shall we just
report it to the cgi.rb maintainers?
http://dev.rubyonrails.org/ticket/1268
--
Cheers
Koz
2019 Jul 30
0
[PATCH 01/13] amdgpu: remove -EAGAIN handling for hmm_range_fault
hmm_range_fault can only return -EAGAIN if called with the block
argument set to false, so remove the special handling for it.
Signed-off-by: Christoph Hellwig <hch at lst.de>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 23 +++--------------------
1 file changed, 3 insertions(+), 20 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
2020 Mar 24
0
Re: generator under Cygwin fails with: Fatal error: exception Unix.Unix_error(Unix.EAGAIN, "fork", "")
On 3/22/20 5:07 PM, sdaau wrote:
> Hi all,
>
> Copy of:
>
> generator under Cygwin fails with: Fatal error: exception Unix.Unix_error(Unix.EAGAIN, "fork", "") · Issue #45 · libguestfs/libguestfs
> https://github.com/libguestfs/libguestfs/issues/45
>
> ... since I realised late I shouldn't post on GitHub issues.
That could be a bug in the Cygwin
2014 Jan 15
0
EAGAIN in dict proxy
Hello,
We?re using a custom program to manage quotas talking to dovecot via the dovecot dict proxy protocol over a unix socket:
plugin {
quota = dict:User quota::proxy:/var/run/auth_proxy_dovecot/quotasocket:quota
}
Dovecot gets slammed with quota requests periodically, seemingly because Thunderbird thought it would be a good idea to hardcode having a quota check at 45 seconds past the
2019 Jun 09
0
[PATCH libnbd] states: In recv_into_rbuf and send_from_wbuf loop until EAGAIN.
Previously we performed a single call to recv(2) or send(2) (or the
GnuTLS equivalents), and even if more data/space was immediately
available to receive/send we would return to poll. Instead of this,
loop until the socket returns EAGAIN.
---
generator/states.c | 91 ++++++++++++++++++++++------------------------
1 file changed, 43 insertions(+), 48 deletions(-)
diff --git a/generator/states.c
2013 Jan 10
1
how to generate a matrix by an my data.frame
Dear All
It is a little hard to give a good small example of my question,so I
will show the full data on the bottom and the attachment.Maybe some
one could tell me an appropriate way
to show it.I'm sorry for the inconvenience.
Q:How to generate a 53*53 diagonal matrix by my data
Some problems confused me are that:
1.Since it is a diagonal matrix,I have tried to transform col1 and
col2 to
2016 Feb 17
2
Call for testing: OpenSSH 7.2
On Wed, 17 Feb 2016, Hisashi T Fujinaka wrote:
> > This one is failing a test assetion - there should be some more useful
> > output available from the test itself.
>
> I think it's this:
>
> test_hostkeys:
> regress/unittests/hostkeys/test_iterate.c:163 test #1 "hostkeys_iterate all
> with key parse"
> ASSERT_INT_EQ(sshkey_load_public(
2007 Sep 18
7
[Bug 1365] New: sftp exits immediately after connection (fgets EAGAIN)
http://bugzilla.mindrot.org/show_bug.cgi?id=1365
Summary: sftp exits immediately after connection (fgets EAGAIN)
Product: Portable OpenSSH
Version: 4.7p1
Platform: All
OS/Version: Linux
Status: NEW
Keywords: patch
Severity: normal
Priority: P2
Component: sftp
AssignedTo: bitbucket at
2019 Jun 09
2
[PATCH libnbd] states: In recv_into_rbuf and send_from_wbuf loop until EAGAIN.
I thought this should produce a fairly dramatic performance gain. In
fact I couldn't measure any performance difference at all. I think
what's happening is we're actually paying an extra syscall (to
discover the socket would block) and then doing the poll anyway.
So I don't know if it's worth having this patch. It could be argued
that it makes the code shorter (therefore
2016 May 26
1
A lot of EAGAIN (Resource temporarily unavailable) using nutdrv_qx
Hello,
I have a Salicru UPS connected by USB using nutdrv_qx driver. As I see
that it was using too much CPU time (or at least, too much for what I
think it should be normal), I used strace to see what is was using,
and got a lot of lines like these:
%<------------%<------------%<------------%<------------
ioctl(4, USBDEVFS_REAPURBNDELAY, 0x7ffdca143278) = -1 EAGAIN (Resource
2009 Mar 11
4
Are .call files working with extensions.ael ?
Hello,
With an extensions.ael enabled system, I keep getting whatever I change into
my "astup.call" file :
[Mar 12 00:13:56] WARNING[2538]: pbx_spool.c:267 apply_outgoing: At least
one of app or extension (or keyword message/pdu) must be specified, along
with tech and dest in file /var/spool/asterisk/outgoing/astup.call
[Mar 12 00:13:56] WARNING[2538]: pbx_spool.c:457 scan_service:
2024 Nov 11
3
[PATCH 1/2] nouveau: handle EBUSY and EAGAIN for GSP aux errors.
From: Dave Airlie <airlied at redhat.com>
The upper layer transfer functions expect EBUSY as a return
for when retries should be done.
Fix the AUX error translation, but also check for both errors
in a few places.
Fixes: eb284f4b3781 ("drm/nouveau/dp: Honor GSP link training retry timeouts")
Signed-off-by: Dave Airlie <airlied at redhat.com>
---