Re: [5.0] pkg_add too many FTP connections

2011-12-01 Thread Stuart Henderson
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

Re: [5.0] pkg_add too many FTP connections

2011-11-30 Thread Dmitrij Czarkoff
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

Re: [5.0] pkg_add too many FTP connections

2011-11-30 Thread Marc Espie
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

Re: [5.0] pkg_add too many FTP connections

2011-11-30 Thread Marc Espie
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.

Re: [5.0] pkg_add too many FTP connections

2011-11-30 Thread Chris Bennett
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

Re: [5.0] pkg_add too many FTP connections

2011-11-30 Thread Marc Espie
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.

Re: [5.0] pkg_add too many FTP connections

2011-11-30 Thread Patrick Lamaiziere
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,

Re: [5.0] pkg_add too many FTP connections

2011-11-30 Thread Brett
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