EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #01341


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

[EP-tech] IRStats and EPrints 3.3



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

--
Timothy Miles-Board
EPrints Services
School of Electronics and Computer Science
University of Southampton, UK
+44 (0)23 8059 3980     tmb@ecs.soton.ac.uk
http://www.eprints.org/services/
Consultancy - Training - Hosting