Results 1 to 12 of 12
  1. #1
    Join Date
    Mar 2002
    Posts
    57

    Lightbulb W2K CPU Usage 100% - any suggestion for iiS setting please..

    I have a ded W2K server PIII 1.13 Mhz 512 MB Ram
    which hosts a picture posting forum website,

    the problem is everytime someone post a picture and
    that picture is coming in to the server the CPU usage
    goes up all the way to 100%

    I notice there's a cpu limit options in the iiS
    what % should I enter as I read
    Microsoft Website
    it says something about threshold..
    which I don't understand

    I tried at 10% at it still goes up to 100%
    which results in a lag for 15- 45 seconds
    for other users who concurrently accessing the site.

    Please suggest
    Last edited by JWong; 08-05-2002 at 03:29 PM.

  2. #2
    That is a common issue when uploading pictures thru a web page. Are you using a component or script for the upload function?
    Windows 2003 .NET Multi-Domain Web Hosting Solutions at affordable prices!
    www: http://www.tokios.com
    email: sales@tokios.com

  3. #3
    Which Upload component do you use. It must be because it is not programmed very well.

    Try useing other Upload components.

    I have written an upload ISAPI DLL an it works without problem.

    Mac

  4. #4
    ISAPI dlls are the best in terms of performance. With most third party components, the CPU will definitely spike.
    Windows 2003 .NET Multi-Domain Web Hosting Solutions at affordable prices!
    www: http://www.tokios.com
    email: sales@tokios.com

  5. #5
    Join Date
    Mar 2002
    Posts
    57
    I use ASP mainly, what should I do to reduce the amount of cpu usage anyone?

  6. #6
    for starters, if the upload function is in a script, the componentize it into a dll. Also, try out the popular third parth components like ASPUPLOAD. You might have better luck with these
    Windows 2003 .NET Multi-Domain Web Hosting Solutions at affordable prices!
    www: http://www.tokios.com
    email: sales@tokios.com

  7. #7
    As I told you should try other Upload components to see which one creates lower loads. As Matt says all will create some load but if you try different ones you will likely find the best.

    Mac

  8. #8
    Join Date
    Mar 2002
    Posts
    57
    Hi All,

    Just want to share with you this info I found
    which works!!!! What it suggests that you add
    a couple of D Value in the following registry

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\ASP\Parameters

    ProcessorThreadMax
    I set mine at 99

    and RequestQueueMax
    also at 99

    now I monitor as the pictures
    being uploaded via ASP
    the CPU Usage still spike up to 100%

    BUT...

    other users can still access the site
    normally which doesn't happen before

    more info here - - - > http://www.15seconds.com/howto/pg000021.htm

  9. #9
    That registry hack works out well if the processor is under utilized most of the time. But, if you have a busy site/server that will definitely kill the sites..

    Cheers
    Windows 2003 .NET Multi-Domain Web Hosting Solutions at affordable prices!
    www: http://www.tokios.com
    email: sales@tokios.com

  10. #10
    Join Date
    Mar 2002
    Posts
    57
    What do you mean by killing the site? Please Explain...

  11. #11
    Join Date
    Dec 2001
    Location
    New Jersey
    Posts
    1,152
    sorry for comming into this thread late.

    OK UPloads have 2 inherent problems.

    1) in the WIN2k platform the drive writing eats more cycles of cpu then does the read ( drive bottleneck )

    2) Uploads require overall extra commands to execute ( cpu cycles lost )

    now the hack above is good on low usage web servers but the moment that the server has alot of activity from other application it will be slow. that is what is ment by killing the server.

    solutions :

    there are some very good packages that are reasonable in price for uploading and downloading DLL's, since I do not know if this is for 1 site or the entire server, you will have to do some research. Custom Dll's are most of the time faster and in some cases can be tuned.

    now other things you can do to improve the performance of your machine. increase the ram. get to 1 gig of ram and you will be happy and see some increases in your spead.

    spend some time clean up the hard drive and run defrag every week ( just that little routine will keep the system at a better performance )

    Mike
    I am Mike From ADEHOST.Com, Multidomain Windows hosting with Cold Fusion and ASP and Dot.NET Also offering multi-domain Unix hosting. silently, each one should ask, Have I done my daily task. Have I kept my honor bright, can I sleep without guilt tonight. Have I done and have I did, everything, to be prepared. - our motto to maintain services.

  12. #12
    ..There are also a couple of 3rd party components that will allow you to upload directly to memory before writing to disk. This helps lower the CPU utilization by a bit. But, do make sure that you have enough unused memory before attempting this.

    Other than, you should set a maximum limit in terms of size of allowable uploads. Personally, I wouldn't allow anything over 1MB in size. Bigger uploads are best handles with FTP

    Good luck
    Windows 2003 .NET Multi-Domain Web Hosting Solutions at affordable prices!
    www: http://www.tokios.com
    email: sales@tokios.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •