EPrints Technical Mailing List Archive
Message: #02084
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Memory usage in 3.2, Sword 1.3 and epdata packages
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Memory usage in 3.2, Sword 1.3 and epdata packages
- From: Mark Gregson <mark.gregson@qut.edu.au>
- Date: Fri, 12 Jul 2013 12:57:22 +1000
We’re using SWORD with epdata packages to deposit documents and multimedia into our repository (3.2). This works fine for small file sizes but at CPU and memory increases quickly until with a ~200MB file the httpd process consumes all available memory and dies. This is on a RHEL5 64bit box with 8GB memory with a separate DB server. Clearly, the epdata format is not the most appropriate for this size file due to the increased file size as a result of the base64 encoding and because the document is embedded within the XML. Changing package format may alleviate/resolve the problem but as this is definitely going to be a challenge in our environment I’m hoping it will be easier to deal with the issue within EPrints. Note, I’ve already ascertained that is not related to libxm2’s XML_PARSE_HUGE option being disabled, the failure occurs trying to run df. I’m about to start hunting for memory leaks and then doing additional memory profiling. If anyone has any suggestions about likely locations for memory leaks in the code, information about expected memory usage for SWORD with epdata packages, data from previous profiling, etc, it would be very valuable. Cheers Mark Mark Gregson | Applications and Development Team Leader |
- Prev by Date: [EP-tech] Ігор, давайте поддерживать связь в LinkedIn!
- Next by Date: [EP-tech] Re: Memory usage in 3.2, Sword 1.3 and epdata packages
- Previous by thread: [EP-tech] Ігор, давайте поддерживать связь в LinkedIn!
- Next by thread: [EP-tech] Re: Memory usage in 3.2, Sword 1.3 and epdata packages
- Index(es):