Forum Moderators: phranque

Message Too Old, No Replies

Posting a big html file, about 9Mb

Getting a "The page cannot be displayed" error

         

nissemann

1:53 pm on Feb 7, 2005 (gmt 0)

10+ Year Member



Hi guys
I have a page that is posting to another page the html page postet is big, about 9Mb, containing a big xml structure. When sending this page I get a "The page cannot be displayed etc...." error .The server sends the error message after about 6 minutes of loading.

If I POST a page thats is about 2Mb in size it works fine...

I checked the error_log for the webserver but no listing.

Any Ideas?

Any help would be great :)

Cheers
Kim

nissemann

2:28 pm on Feb 7, 2005 (gmt 0)

10+ Year Member



One more thing the platform is OS X running apache. When I get the error "The page cannot be displayed" it is because I get redirected to [foo.example.com...] which it cannont find, the question is why is the server redirecting me to [foo.example.com...] before the page is finished loading?

Cheers
Kim

andye

2:53 pm on Feb 7, 2005 (gmt 0)

10+ Year Member



Perhaps it's set to reject large files?

A DDOS attack on Apache is possible, by sending it very large files by POST.

So, many people don't allow file uploads over a certain size.

a.

kalos

7:08 pm on Feb 7, 2005 (gmt 0)

10+ Year Member



You could change your timeout to a larger time. The default is set to 5 minutes (300 seconds) but you could easily bump that to 600 for 10 minutes. Just open httpd.conf and search for "Timeout ".

It will, however, eat up CPU cycles while this runs which could become a problem in the long run. I'm not sure what your data is, other than "large xml", but you may want to pare that down a bit and make it either two pages worth of data (or more if it's a bloody 9 meg document) so that the timeout is not an issue.

nissemann

10:27 am on Feb 9, 2005 (gmt 0)

10+ Year Member



Thanks guys, I have been running a few tests on IIS as well, its not a timeout problem. Looks like there is a limit on http POSTs that big.....

I'm doing this because of stubborn customers, they insist on delivering in this format :(

Cheers
Kim

kalos

2:05 am on Feb 10, 2005 (gmt 0)

10+ Year Member



I've had both bosses and clients who think this way. If that's the case create a ftp account for them and have them use that. Same thing with people who try to send ~10Mb attachments via email. Sure, I have broadband but not everyone does. Select the proper medium for the file.