Reliable large file uploads?

vps

#1

I have a VPS with about 1.5GB ram, and made my domain on php5.3FastCGI, with a phprc file in my .php/53/ folder. I am trying to have a convenient PHP / jQuery based uploader for clients, and started with a nice round limit of 1GB uploads. Everything seems to work, the file extensions I choose, etc, but notice uploads fail once they get a few hundred MB big. It’ll even show the progress bar finish, but then says FAILED TO UPLOAD. Need help.

Notes:
[list]
[]/tmp folder file size is unlimited, aka 3TB I believe (where files are written as they upload).
[
]post_max_size = 1000MB
[*]up_max_size = 1000MB
[/list]

Uploader I’m using: http://blueimp.github.io/jQuery-File-Upload/ (using Basic Plus setup)

Contents of my phprc file

;;; DreamHost-generated php.ini for PHP 53

allow_call_time_pass_reference = 0
asp_tags = 0
date.timezone = "America/New_York"
display_errors = 1
engine = 1
error_reporting = E_ALL & ~E_NOTICE
expose_php = 0
include_path = ".:/usr/local/lib/php:/usr/local/php5/lib/pear"
magic_quotes_gpc = 0
mail.add_x_header = 1
memory_limit = "128M"
output_buffering = 0
post_max_size = "1000M"
realpath_cache_size = "128k"
realpath_cache_ttl = 300
register_argc_argv = 0
register_globals = 0
register_long_arrays = 0
safe_mode = 0
session.bug_compat_42 = 0
session.gc_divisor = 1000
session.hash_bits_per_character = 6
session.save_path = "/tmp"
short_open_tag = 1
upload_max_filesize = "1000M"
xcache.size = "16M"
suhosin.simulation = On
suhosin.session.encrypt = Off
suhosin.cookie.encrypt = Off
suhosin.upload.disallow_elf = Off
max_execution_time = 300
max_input_time = 300 


;;; Extensions

extension = bcmath.so
extension = bz2.so
extension = calendar.so
extension = ctype.so
extension = curl.so
extension = dom.so
extension = exif.so
extension = ftp.so
extension = gd.so
extension = gettext.so
extension = hash.so
extension = iconv.so
extension = imap.so
extension = json.so
extension = mcrypt.so
extension = mysql.so
extension = mysqli.so
extension = openssl.so
extension = pcntl.so
extension = pdo_mysql.so
extension = posix.so
extension = pspell.so
extension = session.so
extension = simplexml.so
extension = soap.so
extension = sockets.so
extension = sqlite.so
extension = tokenizer.so
extension = xml.so
extension = xmlreader.so
extension = xmlrpc.so
extension = xmlwriter.so
extension = xsl.so
extension = zip.so
extension = zlib.so


;;; BELOW ARE THE CONTENTS OF php.ini.local
;;; VALUES BELOW WILL OVERRIDE ANY SET ABOVE!

#2

You might be best served using a Perl Uploader script (or similar) alternative.