Skip to main content
October 5, 2010
질문

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

  • October 5, 2010
  • 1 답변
  • 3351 조회

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

    이 주제는 답변이 닫혔습니다.

    1 답변

    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 ??


    Inspiring
    October 6, 2010

    Thanks for all guys for suggestions, so you guys suggest to increase the memory (RAM) of server ??

    Regards

    Muzammel Asghar


    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