<div dir="ltr">Hi David,<div><br></div><div>I managed to find a timeout value buried away in Apache and it was set for 300 seconds. I think my problem came from the user doing big(ish) uploads from off-campus. In the end I asked the user to send me their files and I uploaded them. The only one that timed out was one at 1.6GB and that was after three minutes I checked it three times and this was consistent). I think it might be something on the Elements side of it. In the end I uploaded a smaller fake file with the same name and then switched it over manually on the server and tweaked very small parts of the database such as the file size.</div><div><br></div><div>Anyway, it all got sorted and the mystery shall remain mysterious for now...</div><div><br></div><div>Thanks for all your help!</div><div><br></div><div>James</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 8, 2019 at 2:48 PM Newman D.R. <<a href="mailto:drn@ecs.soton.ac.uk">drn@ecs.soton.ac.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi James,<br>
<br>
A limit of 150MB is possible but that does not sound like a limit that<br>
would be set as a default anywhere in EPrints, so it would be something<br>
set specifically by someone configuring your repository if at all. The<br>
timeout certainly sounds like the most likely issue, especially when<br>
the client (Elements) or the server (EPrints/Apache) may be employing a<br>
timeout.<br>
<br>
Regards<br>
<br>
David Newman<br>
<br>
On Mon, 2019-07-08 at 13:57 +0100, James Kerwin wrote:<br>
> Hi David,<br>
> <br>
> Thanks for the pointers. I had done those greps, so it's a relief<br>
> they were suggested. Unfortunately they've not returned anything.<br>
> <br>
> I think the timeout is my next one to check.<br>
> <br>
> One of the users files was 142.5 MB which went on with no problem,<br>
> the one not going on is 171 MB. I would guess the limit exists<br>
> somewhere between those two values. It might be a setting in<br>
> Elements, but I've looked over the RT1 connection settings and<br>
> there's nothing there screaming out at me.<br>
> <br>
> In the very worst case I'll bodge it by putting the files on the<br>
> server and meticulously updating the database, but I REALLY don't<br>
> want to do that.<br>
> <br>
> Thanks for your help, it's really appreciated.<br>
> <br>
> James<br>
> <br>
> On Mon, Jul 8, 2019 at 12:48 PM Newman D.R. <<a href="mailto:drn@ecs.soton.ac.uk" target="_blank">drn@ecs.soton.ac.uk</a>><br>
> wrote:<br>
> > Hi James, <br>
> > <br>
> > As you will circumvent any Javascript on the upload form that will<br>
> > restrict the file size of your upload. As you do not have an<br>
> > <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fupload.pl&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C93a4b648ddf840f87a0a08d70478d8ab%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=oNc%2FxbDnWL5rI4%2FF5%2FWpAdGCp7V5YWshg%2BppuvvKlVg%3D&reserved=0" originalSrc="http://upload.pl" shash="Vp8JZzAAPpQLDudvs/VLGkuqezeIw0NERrXeNtJYkQB5Ta1QmNz6RaB3rV0DHW+O/n7hyYLCGiB9FWqFd+ALju/mu8J1fx8ophgo7ppS2BTYA2pBxHJBYW0L0HueqMoLjvIdi09QKFCCzp1Yk0sZf16Ianph9SKf3yhlDW+SPJM=" rel="noreferrer" target="_blank">upload.pl</a><br>
> > then you should not have this restriction. Although it may appear<br>
> > somewhere else, so it is worth grepping for "upload_limit" in your<br>
> > archive's cfg/ and cgi/ directories and core directories under the<br>
> > EPrints path such as lib, perl_lib (site_lib, if you have it) and<br>
> > cgi.<br>
> > <br>
> > I am not aware of anywhere else in 3.3.12+ EPrints that would<br>
> > restrict<br>
> > your max upload limit. That said, Apache 2.4.x does not have any<br>
> > max<br>
> > upload limit set by default as far as I am aware. LimitRequestBody<br>
> > is<br>
> > the only option that might be an issue but the default is to set no<br>
> > limit.<br>
> > <br>
> > What is the size of file you are having problems with and what is<br>
> > the<br>
> > biggest file you can successfully upload? What sort of time are<br>
> > these<br>
> > files taking to upload? As it could be a timeout issue.<br>
> > <br>
> > Regards<br>
> > <br>
> > David Newman<br>
> > <br>
> > On Mon, 2019-07-08 at 12:13 +0100, James Kerwin via Eprints-tech<br>
> > wrote:<br>
> > > Hi All,<br>
> > > <br>
> > > Our setup is Elements feeding Eprints via RT1.<br>
> > > <br>
> > > Somebody is attempting to upload some larger-then-usual files and<br>
> > > we're having difficulty getting them to upload. I'm assuming it's<br>
> > due<br>
> > > to the file size and that there's a limit somewhere. We don't<br>
> > have an<br>
> > > <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fupload.pl&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C93a4b648ddf840f87a0a08d70478d8ab%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=oNc%2FxbDnWL5rI4%2FF5%2FWpAdGCp7V5YWshg%2BppuvvKlVg%3D&reserved=0" originalSrc="http://upload.pl" shash="Vp8JZzAAPpQLDudvs/VLGkuqezeIw0NERrXeNtJYkQB5Ta1QmNz6RaB3rV0DHW+O/n7hyYLCGiB9FWqFd+ALju/mu8J1fx8ophgo7ppS2BTYA2pBxHJBYW0L0HueqMoLjvIdi09QKFCCzp1Yk0sZf16Ianph9SKf3yhlDW+SPJM=" rel="noreferrer" target="_blank">upload.pl</a> in the local repo config. I've looked at the usual<br>
> > > locations in the Apache config and can't find anything.<br>
> > > <br>
> > > If my hunch about the file size limit is correct, where should I<br>
> > > look? the EPrints side of things or Apache?<br>
> > > <br>
> > > Thanks,<br>
> > > James<br>
> > > *** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/epri" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/epri</a><br>
> > nts-<br>
> > > tech<br>
> > > *** Archive: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C93a4b648ddf840f87a0a08d70478d8ab%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=Jvs%2BaRRoJOlRMcn56fj4Bj7o7o87nZ2dBReMkiQDebU%3D&reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="yU7JK9w6a0yFjRvZv+8of0R/79hS2eLICSW4fA9Rg3dHIlnzUsGqjeo3L25Bt4zTaDHLOTMg/571goVJBt5dC9urk6za/QyxkHVtN74NLRKSFJnxsk8OJl/YU/Q1UrQS8bAWbU1cAVakINW3+TgH5pDja5ZF2irYBj5NF2Qrpbg=" rel="noreferrer" target="_blank">http://www.eprints.org/tech.php/</a><br>
> > > *** EPrints community wiki: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C93a4b648ddf840f87a0a08d70478d8ab%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=qEH2mo%2BS%2B143zWh7y9p38KG1oQgdw49o9evinE4%2BrFY%3D&reserved=0" originalSrc="http://wiki.eprints.org/" shash="l2vpnZjmEWRhYqwy7rKQVZLp34J9rUeG4Pc/dwZUlryy4+NP6lOcFuOHzy1u/osegz2XhWl3LasHWgJavuTPNkolNBFO9/oYe8k2LrT/vpX5W6jS2Nu8vEe2D605OqLhF2Ua9jc3GSI7EjV3PF6E/w2WCzDq7gh1Wzs1aajMZBQ=" rel="noreferrer" target="_blank">http://wiki.eprints.org/</a><br>
> > > *** EPrints developers Forum: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C93a4b648ddf840f87a0a08d70478d8ab%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=4ws24zsu6%2BoTPCqv8sSYeK27fOSBqiMxlDRQtKnsNVM%3D&reserved=0" originalSrc="http://forum.eprints.org/" shash="OigFx9YzAgCtQH42s1WTodEL4UhgH/Wu5cUdn83SU826e3quil1QaW+Ttj3YWeHKxpOaO1Hm4zYHZuPEu0ex+qgQ1ILgT+nkTB5uUdUw2L3mt0VebGMvfDs1nnwedmqwMRcpmLCAts5ZH3jgGxiHkSJumsbNRBJQYqdt/JJzFYY=" rel="noreferrer" target="_blank">http://forum.eprints.org/</a><br>
> > <br>
</blockquote></div>