EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #05932
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Problem depositing larger documents via SWORD 2.0
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Problem depositing larger documents via SWORD 2.0
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Thu, 15 Sep 2016 10:25:22 +0000
Hi Willem, I’ve had a quick look at the php code. It’s base64 encoding the file, and adding it to the EPrintsXML it generates in a <document> element. The encoding (and decoding at the other end) takes some time – and is probably not the correct process for larger files. This is the process that I think *should* be used in this scenario: but I’m not sure if the EPrintsWrapper class can do this… Others on this list have more SWORD experience than me – hopefully someone will be able to provide a bit more advice. Cheers, John From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of W. Struiksma Hi all, I'm currently having problems depositing larger documents (> 5 MB) via SWORD 2.0. I'm using a PHP script that uses EPrintsWrapper.php. In this script the EPrints XML (including document) is
posted via cURL. The deposit takes a very long time (8 minutes for 26 MB) and the Apache process goes to a 100% processor capacity. Has anyone experienced the same behaviour before? What can I do about it? We use EPrints 3.3.13. |
- References:
- [EP-tech] Problem depositing larger documents via SWORD 2.0
- From: "W. Struiksma" <w.struiksma@rug.nl>
- [EP-tech] Problem depositing larger documents via SWORD 2.0
- Prev by Date: [EP-tech] Problem depositing larger documents via SWORD 2.0
- Next by Date: Re: [EP-tech] Problem depositing larger documents via SWORD 2.0
- Previous by thread: [EP-tech] Problem depositing larger documents via SWORD 2.0
- Next by thread: Re: [EP-tech] Problem depositing larger documents via SWORD 2.0
- Index(es):