Apache upload problems.

When I upload a file 32M or larger to fails.

I can see the file being uploaded into the /tmp directory but when it gets to ~32M it dissapears.

This is from phpinfo:

upload_max_filesize 100M 100MB
post_max_size 100M 100MB
enable_dl On On

I dont get an error in the log saying im trying to upload larger than allowed. It doesnt show ANY error.

If I set the maxsizes to 10M I do see the error in the log, so that appears to work.

Disk space is not a problem.

What else could it be?

More info:

# httpd -v
Server version: Apache/2.2.3
Server built:   Jan 15 2008 20:33:30

# uname -a
Linux somedomain.xxx 2.6.18-92.1.10.el5 #1 SMP Tue Aug 5 07:41:53 EDT 2008 i686 i686 i386 GNU/Linux

# php -v
PHP 5.1.6 (cli) (built: Jul 16 2008 19:53:00)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

What is the application you are using to upload to Apache?

I'm just using a form to a php script. It works great for smaller uploads.

Connection time out?

Ok it seems the 32M point where it dies (~20seconds) is just for the 55M file.

Im uploading a 500MB file to see where it dies. Its now at 400M and still going.

Ok how weird is this:

I have a file: bigfile.xxx 52,400KB
This file failes every time.

Yet: anotherfile.xxx 80,380KB
Goes fine

even a 400MB file uploaded fine.

I even tried changing the name of the "bigfile.xxx" that fails.

any ideas?

What are the formats of the two files? Text? Binary executables? Images?

While the upload is running, try doing a tail +1c -f /tmp/tempfilename > /tmp/tempfilename2 and leave it running until the upload abends... then examine the end of tempfilename2 to try and figure out whether it contains some funny stuff that might be breaking the upload. Also examine anything immediately after that point in the source file, as the dodgy stuff may not have been written to the temp file yet...

It a HP-UX depot file.

All the files im using to test uploads are HP-UX depot files.

The one that fails is sdk14_14217_pa.depot