Checklist for ASP.NET / Database performance

前端 未结 5 907
迷失自我
迷失自我 2021-01-12 22:13

Recently our customers started to complain about poor performance on one of our servers. This contains multiple large CMS implementations and alot small websites using Sitef

5条回答
  •  我在风中等你
    2021-01-12 22:28

    • do NOT use too many different asp.net pools, called and as dedicate pool in plesk. Place more sites on the same pool.
    • More memory, or stop non used programs/services on the server
    • Check if you have memory limits on the application pool that make the pool continues auto-restarts.
    • On the database, set Recovery Mode to simple.
    • Shrink database files, and reindex database, from inside the program
    • after all that Defrag your disks

    Check the memory with process explorer.
    To check whats starts with your server use the autoruns but be careful not to stop any critical service and the computer never starts again. Do not stop services from autoruns, use the service manager to change the type to manual. Also many sql serve services they not need to run if you never used them.

    Some other tips

    • Move the temporary files / and maybe asp.net build directory to a different disk
    • Delete all files from temporary dir ( cd %temp% )

    Be sure that the free physical memory is not zero, using the process exporer. If its near zero, then your server needs memory, or needs to stop non using programs from running.

    To place many sites under the same pool, you need to change the permissions of the sites under the new share pool. Its not difficult, just take some time and organize to know what site runs under what pool. Now let say that you have 10 sites, its better to use 2 diferent pools, and spread the sites on this pools base on the load of each site.

提交回复
热议问题