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.

