Skip to main content
October 5, 2010
Question

Need urgent help to upload a file size of 40MB in CF5

  • October 5, 2010
  • 1 reply
  • 3351 views

Hi Guys

I am using Colfusion 5 on IIS5 server on win2k server, i want to upload a larger file up to 40MB, when i tried to upload large file 37.1MB , bellow error will come

HTTP Error, '503' occurred. 503 Service Unavailable. The server is currently unable to handle the request due to a temporary overloading or maintenance of the server.  Please see http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.4 error code definitions for more information.

Kindly suggest how it can be possible to upload file size increase to 40Mb ? and what is the limit of maxupload file size in coldfusion 5 ? Kindly help and advice.

Thanks

Muzi

    This topic has been closed for replies.

    1 reply

    tclaremont
    Inspiring
    October 5, 2010

    It has been forever since I used CF5 or that version of IIS, so do a little research before proceeding.

    I believe there are TWO places that limit the size of an upload. One is a ColdFusion attribute, and the other is an IIS attribute. I think both of these settings need to be above the 40mb that you plan on uploading.

    Also, of course, you need to know if there is enough RAM and physical disk space to accomodate the file in question on the server, too.

    October 5, 2010

    hi thanks for your comments, as i not found any way yet in IIS5 to increase the file upload size, else i increased the size in cf code.

    \upload\index.pacq
    so.addVariable("maxFileSize", "104857600");
    so.addVariable("maxFileCount", "1");

    Max file size, i increased it a lot but no success. Can you know how we can inrease the upload file size in IIS5 ??


    October 6, 2010

    Before you go spending money on ram for the server, try running windows perfmon at the same time that the file upload

    is happening, and see exactly what your memory situation is.  Does the available physical memory drop, does paging go through the roof? Look at the task manager's list of processes, and sort by size - is the coldfusion server image growing as the upload progresses?

    What are the virtual memory settings on your windows installation?  Maybe it is set too low.  Try increasing it and see what happens.

    Finally, check to see what the max memory limit is on your server before getting more!

    -reed


    I have now do twice tests to upload file directly from same server and open a task

    manager to see the progress of cfserver.exe process , i not found any huge memory and cpu consumpution during upload, so its seems its not related with the memory issue, server current physical memory = 512MB and during upload process 92mb still free.

    After the uploading , when 503 error come, i check now the coldfusion webserver and server logs, its shows its related to the IIS problem.

    webserver log shows --> Error writing data from web server to the ColdFusion Application Server.  Windows NT error number 1450 occurred.

    serverlog shows this --> Error attempting to read the content from web server(Windows NT error number 109 occurred.)

    I am now pretty sure its related with IIS, as its unable to upload a large file, kindly suggest and advice.

    Regards

    Muzi