Fork me on GitHub

Announcement

The oneye project has been discontinued. You might not expect further fixes and support from us. All community related systems are set to read-only mode. Though feel free to download and use oneye as-is or even fork it over at GitHub.

#1 2012-10-01 12:42:21

Guzle
Member
Registered: 2012-09-28
Posts: 7

Downloading large files

Hi all!

This is my virgin post here on this board. Recently set up oneye on my server and a very happy user.

There's just this one issue; when i try to download a large file ~>500MB my browser displays "wating for 'myserver.com'" for a couple of seconds and then nothing happens.

If the file is smaller the browser nicely prompts me with a 'save as' dialog.

I have given my php a GB of my servers memory and set timeouts to a couple of minutes, still no help.

Anyone have an idea? I tried on many different browsers and systems.

Any reply is much appreciated!

Offline

#2 2012-10-01 17:35:44

s0600204
Member
From: UK
Registered: 2012-01-22
Posts: 118
Website

Re: Downloading large files

Greetings Guzle and welcome to oneye,

To help us help you, could you tell us the Operating System and the name and version of the web server software (Apache, IIS, etc.) used on your server?

Offline

#3 2012-10-01 18:44:45

Guzle
Member
Registered: 2012-09-28
Posts: 7

Re: Downloading large files

Oh yeah, forgot to mention. It's ubuntu server, Apache2, oneye 0.9 and php5

Offline

#4 2012-10-01 20:28:37

astroroxy
Member
Registered: 2012-06-15
Posts: 9

Re: Downloading large files

From what I remember from php there is also a limit for memory I think its called Post size in the php ini

Offline

#5 2012-10-01 23:45:32

Guzle
Member
Registered: 2012-09-28
Posts: 7

Re: Downloading large files

I set that at 1024MB. It's a funny thing; if you set max_upload > 8MB it won't go further unless you set post_size > 8MB

Offline

#6 2012-10-02 10:10:26

Guzle
Member
Registered: 2012-09-28
Posts: 7

Re: Downloading large files

Okay, I googled around a bit more and found an owncloud help tread. Apparently, even when downloading, php loads the file into memory (RAM?) so i upped the value to 2048MB and now i can download files up to 1,5GB.

Can anyone confirm it's RAM the file is loaded to? Cause in that case I might have to purchase another bar 'o bits

Offline

#7 2012-10-04 00:17:49

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 731
Website

Re: Downloading large files

Thanks for the report. Please, create an issue over at GitHub. I'd like to check some things in order to allow download streaming for simple file downloads instead.


Best regards,
Lars Knickrehm

The oneye project.

Offline

#8 2012-10-16 17:36:38

s0600204
Member
From: UK
Registered: 2012-01-22
Posts: 118
Website

Re: Downloading large files

lars-sh wrote:

Please, create an issue over at GitHub.

As it's been over a week, I've created one on Guzle's behalf. You can find it here : https://github.com/oneye/oneye/issues/8

Guzle wrote:

Can anyone confirm it's RAM the file is loaded to?

Memory usually means RAM in this case, so yes.

Offline

Board footer

Powered by FluxBB