Re: [5.0] pkg_add too many FTP connections
if this goes via ftp-proxy(8), you can sometimes expect problems like this, because ftp-proxy does not correctly handle the SYNCH sequence required to abort connections mid-stream. I generally suggest using http for pkg_add -u anyway though, it is usually *way* faster. On 2011-11-30, Patrick Lamaiziere patf...@davenulle.org wrote: Hello, I'm trying to update packages with pkg_add via ftp : # pkg_add -ui Error from ftp://ftp.irisa.fr/pub/OpenBSD/5.0/packages/amd64/gperf-3.0.4.tgz 421 There are too many connections from your internet address. ftp: Can't connect or login to host `ftp.irisa.fr' Error from ftp://ftp.irisa.fr/pub/OpenBSD/5.0/packages/amd64/gtar-1.26p0.tgz 421 There are too many connections from your internet address. ftp: Can't connect or login to host `ftp.irisa.fr' ... Is there a way to limit the number of FTP connections for pkg_add? Thanks, regards.
[5.0] pkg_add too many FTP connections
Hello, I'm trying to update packages with pkg_add via ftp : # pkg_add -ui Error from ftp://ftp.irisa.fr/pub/OpenBSD/5.0/packages/amd64/gperf-3.0.4.tgz 421 There are too many connections from your internet address. ftp: Can't connect or login to host `ftp.irisa.fr' Error from ftp://ftp.irisa.fr/pub/OpenBSD/5.0/packages/amd64/gtar-1.26p0.tgz 421 There are too many connections from your internet address. ftp: Can't connect or login to host `ftp.irisa.fr' ... Is there a way to limit the number of FTP connections for pkg_add? Thanks, regards.
Re: [5.0] pkg_add too many FTP connections
On Wed, Nov 30, 2011 at 11:37 AM, Patrick Lamaiziere patf...@davenulle.org wrote: Is there a way to limit the number of FTP connections for pkg_add? The number of FTP connections corresponds to the number of packages. Your mirror just doesn't allow enough connections to update all of them, or You've tried too many times. -- Dmitrij D. Czarkoff
Re: [5.0] pkg_add too many FTP connections
On Wed, Nov 30, 2011 at 12:04:10PM +0100, Dmitrij Czarkoff wrote: On Wed, Nov 30, 2011 at 11:37 AM, Patrick Lamaiziere patf...@davenulle.org wrote: Is there a way to limit the number of FTP connections for pkg_add? The number of FTP connections corresponds to the number of packages. Your mirror just doesn't allow enough connections to update all of them, or You've tried too many times. Nope, probably all wrong.
Re: [5.0] pkg_add too many FTP connections
On Wed, Nov 30, 2011 at 11:37:18AM +0100, Patrick Lamaiziere wrote: Hello, I'm trying to update packages with pkg_add via ftp : # pkg_add -ui Error from ftp://ftp.irisa.fr/pub/OpenBSD/5.0/packages/amd64/gperf-3.0.4.tgz 421 There are too many connections from your internet address. ftp: Can't connect or login to host `ftp.irisa.fr' Error from ftp://ftp.irisa.fr/pub/OpenBSD/5.0/packages/amd64/gtar-1.26p0.tgz 421 There are too many connections from your internet address. ftp: Can't connect or login to host `ftp.irisa.fr' ... Is there a way to limit the number of FTP connections for pkg_add? Fix your proxy/connection. pkg_add keeps one ftp connection alive, not more, but it does interrupt connections brutally as soon as it has the information it wants. All such problems come from stale ftp connections, there's something flaky in your network setup that means ftp.irisa.fr does not see the severed connections.
Re: [5.0] pkg_add too many FTP connections
I found two different problems that seemed to be cured in two different ways. Your network may be the problem. I have access to two different wifi sources. They are both different connections completely and at the same location. Changing to the other one cures the problem. I also found that changing from ftp sources to http sources seems to help a lot. On Wed, Nov 30, 2011 at 11:37:18AM +0100, Patrick Lamaiziere wrote: Hello, I'm trying to update packages with pkg_add via ftp : # pkg_add -ui Error from ftp://ftp.irisa.fr/pub/OpenBSD/5.0/packages/amd64/gperf-3.0.4.tgz 421 There are too many connections from your internet address. ftp: Can't connect or login to host `ftp.irisa.fr' Error from ftp://ftp.irisa.fr/pub/OpenBSD/5.0/packages/amd64/gtar-1.26p0.tgz 421 There are too many connections from your internet address. ftp: Can't connect or login to host `ftp.irisa.fr' ... Is there a way to limit the number of FTP connections for pkg_add? Thanks, regards.
Re: [5.0] pkg_add too many FTP connections
On Wed, Nov 30, 2011 at 06:18:54AM -0600, Chris Bennett wrote: I found two different problems that seemed to be cured in two different ways. Your network may be the problem. I have access to two different wifi sources. They are both different connections completely and at the same location. Changing to the other one cures the problem. I also found that changing from ftp sources to http sources seems to help a lot. Of course it does, http is a much simpler protocol than ftp, proxy-wise. - one simple connection - no funky behavior based on telnet urgent stuff to interrupt connections. Those two details are very often handled WRONG by various servers, client and proxy.
Re: [5.0] pkg_add too many FTP connections
Le Wed, 30 Nov 2011 12:35:40 +0100, Marc Espie es...@nerim.net a icrit : Fix your proxy/connection. pkg_add keeps one ftp connection alive, not more, but it does interrupt connections brutally as soon as it has the information it wants. All such problems come from stale ftp connections, there's something flaky in your network setup that means ftp.irisa.fr does not see the severed connections. Thanks Marc, Could it be that this ftp server (irisa) is near from here (1Gbit) and doesn't have the time to see that the connection was dropped? I don't have any problem with other mirror (ex ftp://fr.openbsd.org) Thanks, regards.
Re: [5.0] pkg_add too many FTP connections
On Wed, 30 Nov 2011 11:37:18 +0100 Patrick Lamaiziere patf...@davenulle.org wrote: Hello, I'm trying to update packages with pkg_add via ftp : # pkg_add -ui Error from ftp://ftp.irisa.fr/pub/OpenBSD/5.0/packages/amd64/gperf-3.0.4.tgz 421 There are too many connections from your internet address. ftp: Can't connect or login to host `ftp.irisa.fr' Error from ftp://ftp.irisa.fr/pub/OpenBSD/5.0/packages/amd64/gtar-1.26p0.tgz 421 There are too many connections from your internet address. ftp: Can't connect or login to host `ftp.irisa.fr' ... Is there a way to limit the number of FTP connections for pkg_add? Thanks, regards. Maybe try a different mirror. I get messages like that when I download from ftp://mirror.internode.on.net/pub/OpenBSD/ , but not when I switch to the other ftp sites.