[EP-tech] Re: IRStats and EPrints 3.3

Yuri yurj at alfa.it
Tue Dec 4 14:39:54 GMT 2012


Il 04/12/2012 14:35, Timothy Miles-Board ha scritto:
> Hi,
>
> I have found a bug with IRStats 1.x when used with EPrints 3.3.x
>
> There is a memory cycle in the DatabaseInterface object which means that
> those objects are never destroyed, and hence the object's database
> connection is held open indefinitely (until it times out). If enough
> IRStats requests are made in a short space of time this could use up all
> the available MySQL connections.
>
> This small patch fixes the issue:
> http://files.eprints.org/722/2/irstats_for_eprints_3.3.patch
>
> Note this only applies to IRStats 1.x running under EPrints 3.3.x
>
> Regards,
>
> Tim
>
Thanks Tim!

How did you find it? It seems rather obscure :)


More information about the Eprints-tech mailing list