EPrints Technical Mailing List Archive

Message: #01342


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: IRStats and EPrints 3.3


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 :)