Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 21. Oct 2017, 23:10

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 25. May 2011, 15:52 
Offline

Joined: 25. May 2011, 00:02
Posts: 5
We are using JFUploader at a printing company on a (Mac OS X Snow Leopard Server) that sometimes has very large client files to upload (20 GB Maximum).

Current settings are:
PHP upload limit (in KB): 51200000
PHP memory limit (in KB): 131072
PHP max input time: 19200 s
PHP max execution time: 18600 s
Default socket timeout: 19200 s

I am currently testing a 2GB upload that suggests I should increase PHP max execution time and Default socket timeout to at least 72000 s to be able to support a 20 GB upload.

What system settings

PHP memory limit (in KB):
PHP max input time:
PHP max execution time:
Default socket timeout:

are recommended for very large file uploads (2 GB -20 GB (max))?

Thank you,


Top
 Profile  
 
PostPosted: 25. May 2011, 16:06 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10498
Hi,

I can only test up to 2 GB because normal an Apache 32 Bit has a limit of 2 GB. e.g. 3 GB are interpreted as -1 GB.
Do you have a 64 bit php?

And you know that 72000 s = 50 days.

For this big uploads I recommend to use FTP because HTTP does not have resume.

- Michael


Top
 Profile  
 
PostPosted: 25. May 2011, 16:11 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10498
I just found this for an ASP upload.

http://www.motobit.com/help/ScptUtl/pa33.htm

So the browsers do have a limitation as well. So 20 GB is for sure not possible with any browser currently available even if the server would be able to do so.

- Michael


Top
 Profile  
 
PostPosted: 25. May 2011, 16:42 
Offline

Joined: 25. May 2011, 00:02
Posts: 5
Hi Michael,

Thank you for the response.

Does the FTP mode of JFUploader behave like a regular FTP client, so it bypasses the browser limitations?

Or are you saying that JFUploader cannot upload files that are larger than those allowed by the browser, even in FTP mode?

Maybe my math is off, but

72000 seconds / 60 = 1200 minutes
1200 minutes / 60 = 20 hours

or is my calculation wrong?

Thank you!

Kevin


Top
 Profile  
 
PostPosted: 25. May 2011, 16:46 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10498
FTP mode is only to create directories.

Flash can only use http uploads. So all this restrictions of servers and browsers do apply.
So the 2 GB is really a limit.

By the omy first question. Do you have a 64 bit php?

My calculation was wrong. I forgot the minutes ;).

- Michael


Top
 Profile  
 
PostPosted: 25. May 2011, 17:20 
Offline

Joined: 25. May 2011, 00:02
Posts: 5
Hi Michael,

Hmmmmm..... well, I guess that is why the current solution that the client uses is a JAVA-based application.

Thank you for that information, it is something that I should have researched more at the beginning of the project.

I am not sure about 64-bit PHP,

We are on 5.3.4 using OS X 10.6 (which is 64-bit, so I am assuming that it ships with the 64-bit PHP)

Is there a simple way for me to find out if this install is 64-bit?

(sorry to be ignorant about this)

Thank you!

Kevin


Top
 Profile  
 
PostPosted: 25. May 2011, 17:26 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10498
the php info of you server should tell you if you have 64 bit.
But you might have because you where able to set the limit to > 2 GB. in 32 bit systems the setting till 4GB are interpretes as negative values and > 4 GB it fails.

You can still try with really high timeouts. I never had a 64 bit system. But there is still the browser issue.

A java client can split the files and put them together. The newest version of flash can this too but is has to load the whole file into memory and then it crashes there.

- Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO