473,322 Members | 1,307 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Uploading files up to 150MB onto server

Dear all,

I am running an online file management server that allows web clients to
upload files from a webform to the web server.

Using the code
"filename.PostedFile.SaveAs(fullPath);"
I have no problem uploading file with size up to 25MB, but the page starts
to create problem with any size above 25 MB - the error message displayed is
"Server Unavailable" or occasionally it just dies off.

I am running the web server using ASP.net framework 1.0 developed using C#

In the Application Log of the machine's event viewer, I get these message:

Event Type: Error
Event Source: ASP.NET 1.0.3705.288
Event Category: None
Event ID: 1003
Date: 6/26/2003
Time: 10:45:47 AM
User: N/A
Computer: ROSIE
Description:
aspnet_wp.exe (PID: 2108) was recycled because it was suspected to be in a
deadlocked state. It did not send any responses for pending requests in the
last 180 seconds.

Event Type: Error
Event Source: ASP.NET 1.0.3705.288
Event Category: None
Event ID: 1001
Date: 6/26/2003
Time: 9:54:35 AM
User: N/A
Computer: ROSIE
Description:
aspnet_wp.exe (PID: 1532) was recycled because memory consumption exceeded
the 306 MB (60 percent of available RAM).

I'd set the following value on Web.Config, but it still doesn't work:
<httpRuntime maxRequestLength="153600" />

Anyone know how to go around this problem? The uploaded file size could be
up to 150MB in size.

Cheers
Rosie Chua
Nov 17 '05 #1
3 1869
I suspect that the upload is gobbling up the server's memory because the
content isn't being flushed to disk as it streams. You might want to
investigate a commercial upload component for this kind of task:

http://www.asp.net/ControlGallery/de...=40&tabindex=2

Ken

"Rosie Chua" <rc***@learningfast.com.au> wrote in message
news:bd**********@towncrier.its.monash.edu.au...
Dear all,

I am running an online file management server that allows web clients to
upload files from a webform to the web server.

Using the code
"filename.PostedFile.SaveAs(fullPath);"
I have no problem uploading file with size up to 25MB, but the page starts
to create problem with any size above 25 MB - the error message displayed is
"Server Unavailable" or occasionally it just dies off.

I am running the web server using ASP.net framework 1.0 developed using C#

In the Application Log of the machine's event viewer, I get these message:

Event Type: Error
Event Source: ASP.NET 1.0.3705.288
Event Category: None
Event ID: 1003
Date: 6/26/2003
Time: 10:45:47 AM
User: N/A
Computer: ROSIE
Description:
aspnet_wp.exe (PID: 2108) was recycled because it was suspected to be in a
deadlocked state. It did not send any responses for pending requests in the
last 180 seconds.

Event Type: Error
Event Source: ASP.NET 1.0.3705.288
Event Category: None
Event ID: 1001
Date: 6/26/2003
Time: 9:54:35 AM
User: N/A
Computer: ROSIE
Description:
aspnet_wp.exe (PID: 1532) was recycled because memory consumption exceeded
the 306 MB (60 percent of available RAM).

I'd set the following value on Web.Config, but it still doesn't work:
<httpRuntime maxRequestLength="153600" />

Anyone know how to go around this problem? The uploaded file size could be
up to 150MB in size.

Cheers
Rosie Chua

Nov 17 '05 #2
You need a script or component that accepts the uploaded file and streams it
to disk, rather than holding it in memory first. It would be fairly easy to
write such a thing, using basic TCP sockets to accept the HTTP request, then
the IO stuff to write it to disk.

-- russ

"Rosie Chua" <rc***@learningfast.com.au> wrote in message
news:bd**********@towncrier.its.monash.edu.au...
Dear all,

I am running an online file management server that allows web clients to
upload files from a webform to the web server.

Using the code
"filename.PostedFile.SaveAs(fullPath);"
I have no problem uploading file with size up to 25MB, but the page starts
to create problem with any size above 25 MB - the error message displayed is "Server Unavailable" or occasionally it just dies off.

I am running the web server using ASP.net framework 1.0 developed using C#

In the Application Log of the machine's event viewer, I get these message:

Event Type: Error
Event Source: ASP.NET 1.0.3705.288
Event Category: None
Event ID: 1003
Date: 6/26/2003
Time: 10:45:47 AM
User: N/A
Computer: ROSIE
Description:
aspnet_wp.exe (PID: 2108) was recycled because it was suspected to be in a deadlocked state. It did not send any responses for pending requests in the last 180 seconds.

Event Type: Error
Event Source: ASP.NET 1.0.3705.288
Event Category: None
Event ID: 1001
Date: 6/26/2003
Time: 9:54:35 AM
User: N/A
Computer: ROSIE
Description:
aspnet_wp.exe (PID: 1532) was recycled because memory consumption exceeded the 306 MB (60 percent of available RAM).

I'd set the following value on Web.Config, but it still doesn't work:
<httpRuntime maxRequestLength="153600" />

Anyone know how to go around this problem? The uploaded file size could be
up to 150MB in size.

Cheers
Rosie Chua

Nov 17 '05 #3
Sorry, I don't have the time to write the component for free. Besides, you'd
learn a lot more by doing it yourself. I suggest doing some tutorials for
socket programming on the web, then some for writing files. Combine the two.

-- russ

"Rosie Chua" <rc***@learningfast.com.au> wrote in message
news:bd**********@towncrier.its.monash.edu.au...
Russ,

Thanks heaps for your reply. Can you please provide more details, or the
sample code? Thanks again.

Rosie

"Russ Bishop" <nowhere> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
You need a script or component that accepts the uploaded file and streams
it
to disk, rather than holding it in memory first. It would be fairly easy to
write such a thing, using basic TCP sockets to accept the HTTP request,

then
the IO stuff to write it to disk.

-- russ

"Rosie Chua" <rc***@learningfast.com.au> wrote in message
news:bd**********@towncrier.its.monash.edu.au...
Dear all,

I am running an online file management server that allows web clients to upload files from a webform to the web server.

Using the code
"filename.PostedFile.SaveAs(fullPath);"
I have no problem uploading file with size up to 25MB, but the page starts to create problem with any size above 25 MB - the error message displayed
is
"Server Unavailable" or occasionally it just dies off.

I am running the web server using ASP.net framework 1.0 developed

using C#
In the Application Log of the machine's event viewer, I get these message:
Event Type: Error
Event Source: ASP.NET 1.0.3705.288
Event Category: None
Event ID: 1003
Date: 6/26/2003
Time: 10:45:47 AM
User: N/A
Computer: ROSIE
Description:
aspnet_wp.exe (PID: 2108) was recycled because it was suspected to be in
a
deadlocked state. It did not send any responses for pending requests
in the
last 180 seconds.

Event Type: Error
Event Source: ASP.NET 1.0.3705.288
Event Category: None
Event ID: 1001
Date: 6/26/2003
Time: 9:54:35 AM
User: N/A
Computer: ROSIE
Description:
aspnet_wp.exe (PID: 1532) was recycled because memory consumption

exceeded
the 306 MB (60 percent of available RAM).

I'd set the following value on Web.Config, but it still doesn't work:
<httpRuntime maxRequestLength="153600" />

Anyone know how to go around this problem? The uploaded file size

could be up to 150MB in size.

Cheers
Rosie Chua



Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Chamomile | last post by:
can anyone point me to some straightforward information on file uploading without using an html form? That is, direcly from within a php script. if I know the local path etc. to a particular...
5
by: Kevin Ollivier | last post by:
Hi all, I've come across a problem that has me stumped, and I thought I'd send a message to the gurus to see if this makes sense to anyone else. =) Basically, I'm trying to upload a series of...
2
by: rbt | last post by:
Has anyone used pure python to upload files to a webdav server over SSL? I have no control over the server. I can access it with all of the various webdav GUIs such as Konqueror, Cadaver, etc. by...
3
by: Rosie Chua | last post by:
Dear all, I am running an online file management server that allows web clients to upload files from a webform to the web server. Using the code "filename.PostedFile.SaveAs(fullPath);" I...
13
by: Sky Sigal | last post by:
I have created an IHttpHandler that waits for uploads as attachments for a webmail interface, and saves it to a directory that is defined in config.xml. My question is the following: assuming...
0
by: Andrew | last post by:
hi all, My app works fine on my localhost. I just uploaded my folders n files containing my aspx files onto the server. My aspx app consumes a webservice also on the same server. In my...
3
by: Dean Richardson | last post by:
Hi, I'm having trouble uploading files via a PHP script. Whenever I upload a file greater than 10K, the file gets corrupted. However, text files upload OK. When I check the FTP Server log I...
221
Atli
by: Atli | last post by:
You may be wondering why you would want to put your files “into” the database, rather than just onto the file-system. Well, most of the time, you wouldn’t. In situations where your PHP application...
1
by: =?Utf-8?B?RGFu?= | last post by:
MS won't seem to let me reply to my old post, so I created a new one. The error occurs in all browsers. It's definitely a server issue, not client. The server is not proxied in any way. I tried...
0
by: LoriFranklin | last post by:
I'm a bit of a newbie here. I've learned a lot from reading the posts you all have here. I need some help uploading files using an asp form. I am using some code that I found from Jacob at...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.