[arch-general] pacman seems to leak ftp connections
jinks at archlinux.us
Wed Aug 18 05:49:35 EDT 2010
On Wed, 18 Aug 2010 00:54:26 -0700
Mike Rosset <schizoid29 at gmail.com> wrote:
> > After playing around i a throwaway-chroot, the problem seems to be
> > libfetch >=2.30. I just modified the PKGBUILD to different versions
> > (without replacing or rebuilding pacman at all).
> > Libfetch 2.26 fetches files without a problem, 2.30+ fails after
> > downloading 5 files while MaxInstances in proftpd is set to 8. If I
> > set MaxInstances to 3, downloading fails outright (also only for
> > 2.30+), so something there seems to consume 3 connections before
> > actually downloading something at all.
> > I'd try to break it down further, but NetBSDs CVS server isn't
> > talking to me at the moment.
> Ok maybe upate the bug with these results, so they have more
I've updated the bug-report with the above text as well as my results
of a bisection of libfetch.
Looking at the patch, the change in libfetch seems sensible and I
suspect that something higher up the chain is calling it in a wrong way.
As far as I can tell, it is possible, that pacman never called libfetch
in The Right Way (TM), but this only got exposed, after libfetch
stopped closing connections unconditionally.
Let's hope that some of my stumbling around is actually helpfull :)
More information about the arch-general