Persits Software, Inc. Knowledge Base Articles

CPU usage approaches 100% when uploading large files

Problem Description

When uploading large multi-megabyte files with AspUpload under Windows 2000 and IIS5, the web server experiences a decline in performance. CPU usage sometimes approaches 100% for the duration of an upload, and Task Manager reports the process dllhost.exe to consume a significant amount of CPU resources.

Solution

To improve performance, you must set the Application Protection setting on your virtual directory to Low (IIS Process) .

Run Internet Services Manager, right-click on a virtual directory where your ASP scripts utilizing AspUpload are, and select Properties. On the main tab, set the Application Protection option to Low (IIS Process) .

If your scripts are in the home directory, select Properties for your web site and choose the Home Directory tab.

This problem does not occur with AspUpload 3.0 (and higher).