search for: socketpair

Displaying 20 results from an estimated 464 matches for "socketpair".

2003 Jul 24
1
patch to use pipe if socketpair fails
Hi, if socketpair support has been compiled in but the host where rsync is run doesn't support it, you get error pipe failed in do_recv This patch makes rsync use pipe if socketpair fails. Yours, Harri J?rvi CC me if you reply to this thread since I'm not on the mailing list -------------- next part -----...
2011 Jun 03
1
unconitionally use socketpair?
Does anyone actually use sshd on a system that doesn't have socketpair? It's used elsewhere so the don't-have path seems like it'd never be exercised these days. Index: monitor.c =================================================================== RCS file: /usr/local/src/security/openssh/cvs/openssh/monitor.c,v retrieving revision 1.147 diff -u -p -r1.147...
2002 Feb 28
1
Solaris, socketpair and chroot
...nnot copy data to rsync volumes with option 'use chroot'; I get the following messages on the client: pipe failed in do_recv rsync error: error in socket IO (code 10) at main.c(375) rsync: connection unexpectedly closed (69 bytes read so far) What seems to occur on the server is that socketpair(3) (not pipe(2)) is called, which needs to open /dev/ticotsord. Since I do not have a /dev in the chroot directory, this call fails. Disabling HAVE_SOCKETPAIR in config.h seems to resolve the problem. Is there any way this can be worked around more appropriately (perhaps by calling socketpair() be...
2011 Aug 06
3
[Bug 8356] New: cygwin socketpair "The parameter is incorrect"
https://bugzilla.samba.org/show_bug.cgi?id=8356 Summary: cygwin socketpair "The parameter is incorrect" Product: rsync Version: 3.0.8 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: r...
2010 Feb 23
2
cygwin + rsync issue under Windows 7 x64
...latest rsync (3.0.7-1) under an up-to-date cygwin on Windows 7 x64 gets into some kind of busy wait situation when transferring large files over ssh. rsync, ssh, and zip can all be consuming much cpu time. I downloaded and built rsync 3.0.7 locally, manually editing config.status to turn off HAVE_SOCKETPAIR. The resulting rsync works fine. So, what specific diagnosis and further information would you find most helpful? A few months ago, Corinna and I went through a whole round of trying to get socketpair to work better, and she developed a BLODA work-around. At her request, I have kept the particular...
2008 Sep 09
3
No buffer space available
Hi, I'm running Dovecot 1.1.3 on FreeBSD 7.0. In the past couple days, I've been seeing errors like this: Sep 9 08:43:51 sysvol dovecot: pop3-login: socketpair() failed: No buffer space available Sep 9 08:43:51 sysvol dovecot: pop3-login: socket(default) failed: No buffer space available Sep 9 08:43:51 sysvol dovecot: pop3-login: Can't connect to auth server at default: No buffer space available Sep 9 08:25:15 sysvol dovecot: pop3-login: socketp...
2008 Jul 07
1
imap-login: socketpair() failed: Too many open files
Hi, I'am trying to use heartbeat to start dovecot... It starts but all the login connections are reject with this line on log file: Jul 7 12:47:28 markov dovecot: imap-login: socketpair() failed: Too many open files No username/password are asked (using Thunderbird as client). Outside heartbeat, dovecot runs fine. My environment: # dovecot --version 1.1.1 # uname -a Linux markov.impa.br 2.6.18-53.1.21.el5xen #1 SMP Tue May 20 10:03:27 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux #...
2017 Aug 23
0
socketpair failed: Too many open files on Debian 9
...crease ulimit -n Aki On 23.08.2017 14:10, Patrick Westenberg wrote: > Hi @all, > > after re-installing one of my two frontends/proxy-servers I get the > following error messages after some time (sometimes after 1h, sometimes > after 24h): > > > 11:23:55 imap-login: Error: socketpair() failed: Too many open files > 11:23:55 imap-login: Error: socketpair() failed: Too many open files > 11:23:56 imap-login: Error: socketpair() failed: Too many open files > 11:23:56 imap-login: Error: socketpair() failed: Too many open files > 11:23:57 imap-login: Error: socketpair() f...
2017 Aug 23
3
socketpair failed: Too many open files on Debian 9
Hi @all, after re-installing one of my two frontends/proxy-servers I get the following error messages after some time (sometimes after 1h, sometimes after 24h): 11:23:55 imap-login: Error: socketpair() failed: Too many open files 11:23:55 imap-login: Error: socketpair() failed: Too many open files 11:23:56 imap-login: Error: socketpair() failed: Too many open files 11:23:56 imap-login: Error: socketpair() failed: Too many open files 11:23:57 imap-login: Error: socketpair() failed: Too many open...
2017 Aug 23
0
socketpair failed: Too many open files on Debian 9
...wrote: >>> Hi @all, >>> >>> after re-installing one of my two frontends/proxy-servers I get the >>> following error messages after some time (sometimes after 1h, sometimes >>> after 24h): >>> >>> >>> 11:23:55 imap-login: Error: socketpair() failed: Too many open files >>> 11:23:55 imap-login: Error: socketpair() failed: Too many open files >>> 11:23:56 imap-login: Error: socketpair() failed: Too many open files >>> 11:23:56 imap-login: Error: socketpair() failed: Too many open files >>> 11:23:57 i...
2017 Aug 23
2
socketpair failed: Too many open files on Debian 9
....2017 14:10, Patrick Westenberg wrote: >> Hi @all, >> >> after re-installing one of my two frontends/proxy-servers I get the >> following error messages after some time (sometimes after 1h, sometimes >> after 24h): >> >> >> 11:23:55 imap-login: Error: socketpair() failed: Too many open files >> 11:23:55 imap-login: Error: socketpair() failed: Too many open files >> 11:23:56 imap-login: Error: socketpair() failed: Too many open files >> 11:23:56 imap-login: Error: socketpair() failed: Too many open files >> 11:23:57 imap-login: Error...
2019 May 25
2
[PATCH libnbd] states: connect_command: Don't set O_NONBLOCK on socket passed to child.
...ude <unistd.h> +#include <fcntl.h> #include <errno.h> #include <signal.h> #include <netdb.h> @@ -183,12 +184,12 @@ CONNECT_COMMAND.START: int sv[2]; pid_t pid; + int flags; assert (!h->sock); assert (h->argv); assert (h->argv[0]); - if (socketpair (AF_UNIX, SOCK_STREAM|SOCK_NONBLOCK|SOCK_CLOEXEC, 0, - sv) == -1) { + if (socketpair (AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0, sv) == -1) { SET_NEXT_STATE (%.DEAD); set_error (errno, "socketpair"); return -1; @@ -219,13 +220,27 @@ } /* Parent. */ + c...
2000 Jan 29
4
rsync over ssh - lockups with pipe()
...c over ssh freezing during a large transfer (typically several GB). I have now gotten to the bottom of these problems, and have written a small test program which demonstrates a deadlock in sshd when doing large bi-directional transfers. Luckily the problem is easily solved by modifying sshd to use socketpair() instead of pipe(). Just remove "#define USE_PIPES 1" from near the bottom of includes.h does the trick. The test program, along with instructions for use and an explanation of some of the pipe() bugs in various OSes that make this change necessary is available from ftp://samba.org/pub/...
2009 Apr 11
0
Rsync 3.0.5 sometimes hangs copying local disk to other local disk (Solaris 9)
...do/mm@0:null rsync-3.0 25239 root 1u FIFO 0x3004f0aec88 0t102 74926527 (fifofs) ->0x3004f0aeb80 rsync-3.0 25239 root 2u FIFO 0x3004f0aec88 0t102 74926527 (fifofs) ->0x3004f0aeb80 rsync-3.0 25239 root 4u unix 105,118 0xea13c57 3270 /devices/pseudo/tl@0:ticots->(socketpair: 0x230f23f00000000) (0x3100852b048) rsync-3.0 25239 root 7u unix 105,121 0t1285476 3270 /devices/pseudo/tl@0:ticots->(socketpair: 0xf241) (0x30002fab018) rsync-3.0 25242 root cwd VDIR 32,8 1024 2 /mnt rsync-3.0 25242 root txt VREG 32,5 2906260...
2011 Jun 30
4
sshd and .bashrc
...E_PIPES [ ... ] #else [ ... ] #endif ... so this might lead one to believe that there would be something in one of the .h files that would govern which of those chunks of code would get used, particularly in light of the fact that defines.h contains ... /* * Define this to use pipes instead of socketpairs for communicating with the * client program. Socketpairs do not seem to work on all systems. * * configure.ac sets this for a few OS's which are known to have problems * but you may need to set it yourself */ /* #define USE_PIPES 1 */ ... and the configure script creates a config.h with...
2011 Jun 22
1
getting winbindd errors on OS X Server 10.6.6
...8a-apple. In the last two weeks we've been rebooting this server multiple times a day because it stops responding to smb requests. A look at the logs reveal the following two error messages repeated hundreds of times: 6/17/11 6:18:00 PM /usr/sbin/winbindd[231] dnssd_clientstub deliver_request: socketpair failed 24 (Too many open files) 6/17/11 6:18:00 PM /usr/sbin/winbindd[13089] dnssd_clientstub deliver_request: socketpair failed 24 (Too many open files) The messages stop on the reboot and don't come back for a period of time. We typically have 60-75 clients connected to the system, which ho...
2019 May 25
1
Re: [PATCH libnbd] states: connect_command: Don't set O_NONBLOCK on socket passed to child.
...t along >> error paths. >> --- >> generator/states-connect.c | 21 ++++++++++++++++++--- >> 1 file changed, 18 insertions(+), 3 deletions(-) >> > >> assert (!h->sock); >> assert (h->argv); >> assert (h->argv[0]); >> - if (socketpair (AF_UNIX, SOCK_STREAM|SOCK_NONBLOCK|SOCK_CLOEXEC, 0, >> - sv) == -1) { >> + if (socketpair (AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0, sv) == -1) { > > Is it any easier to keep SOCK_NONBLOCK here and then clear O_NONBLOCK in > the child process? It may matter if w...
2011 Jun 02
2
preauth privsep logging via monitor
Hi, This diff (for portable) makes the chrooted preauth privsep process log via the monitor using a shared socketpair. It removes the need for /dev/log inside /var/empty and makes mandatory sandboxing of the privsep child easier down the road (no more socket() syscall required). Please test. -d Index: log.c =================================================================== RCS file: /var/cvs/openssh/log.c,v re...
2013 Dec 13
17
[Bug 10322] New: Slow Performance over Network rsync
https://bugzilla.samba.org/show_bug.cgi?id=10322 Summary: Slow Performance over Network rsync Product: rsync Version: 3.1.0 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: Joerg.Grube at Gmx.De
2006 May 17
2
rsync option for continuing event i/o errors occured on remove server
...oken pipe rsync error: error in rsync protocol data stream (code 12) at io.c(463) Other informations: on backup server: rsync --version rsync version 2.5.6cvs protocol version 26 Copyright (C) 1996-2002 by Andrew Tridgell and others <http://rsync.samba.org/> Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles, IPv6, 64-bit system inums, 64-bit internal inums on files server: rsync --version rsync version 2.5.7 protocol version 26 Copyright (C) 1996-2002 by Andrew Tridgell and others <http://rsync.samba.org/> Capabilities: 64-bit files, socketpair...