简体   繁体   English

Windows Server 2003上的IIS 6 RAM分配

[英]IIS 6 RAM Allocation on Windows Server 2003

I have my IIS 6 running my website. 我有运行我的网站的IIS 6。 It is on a Windows Server 2003 which has 4GB of RAM. 它在具有4GB RAM的Windows Server 2003上。 I run SQL intensive code after the user submits a form (math statistics stuff). 用户提交表单(数学统计资料)后,我运行SQL密集型代码。 This process is not threaded (should it be, especially if 2 or more users run the same thing?). 此过程没有线程化(应该这样做,尤其是如果2个或更多用户运行相同的东西吗?)。 But my process seems to consume only a couple of GBs of memory and the server crawls. 但是我的进程似乎只消耗了几GB的内存,服务器也开始爬网。 How do I get my IIS process to use nearly all the memory? 如何使IIS进程使用几乎所有内存?

I see on other sites that its 2GB or 3GB allocated using boot.ini. 我在其他站点上看到使用boot.ini分配了2GB或3GB。 But is there another way for the process to use memory? 但是,该进程还有另一种使用内存的方式吗? If I make it multithreaded, will there be a process for each thread? 如果我将其设置为多线程,那么每个线程都会有一个进程吗?

If there is still memory free for IIS, it does not need more. 如果IIS仍有可用内存,则不需要更多内存。 Even if you give it more memory it will perform better. 即使给它更多的内存,它也会表现更好。 It is good to see some memory is not used and can be used for other processes as IIS. 很高兴看到未使用某些内存,并且可以将其他内存用作IIS。 If you want to make is multi threading, it depends on what you do parallel if more memory is used, and if you gain any performance. 如果要使用多线程,则取决于使用更多内存以及是否获得任何性能时并行执行的操作。

The basic here is to start with your requirements and see what peak use you can have. 这里的基础是从您的需求开始,看看您可以使用什么高峰。 Then make a performance test to see if your machine can handle that load. 然后进行性能测试,以查看您的计算机是否可以处理该负载。 To be sure you can handle some more do an other test to see the peek load your machine can handle. 为确保您可以处理更多内容,请执行其他测试以查看计算机可以处理的窥视负载。 Then you will know if you have to invest any more time. 然后,您将知道是否需要投入更多时间。

Check you database server to see if you bottleneck is not on that machine, most developers forget optimizing and maintaining their databases. 检查数据库服务器以查看瓶颈是否在该计算机上,大多数开发人员都忘记了优化和维护他们的数据库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在Windows Server 2003上全新安装IIS 6,而忽略“ web.config”? - Clean install of IIS 6 on Windows Server 2003 ignoring 'web.config'? 在Windows Server 2003操作系统上优化IIS 6.0性能 - Optimizing IIS 6.0 performance on Windows Server 2003 Operating System 在Windows Server 2003上将ASP.NET 3.5项目部署到IIS 6 - Deploying an asp.net 3.5 project to IIS 6 on windows server 2003 具有AutoComplete的ASMX文件无法在iis6 windows 2003虚拟服务器上运行 - ASMX file with AutoComplete not working on iis6 windows 2003 virtual server 将.net 2.0应用程序从Windows Server 2003 / iis6迁移到Windows Server 2008 R2 / iis7 - migrate .net 2.0 app from windows server 2003/iis6 to windows server 2008 R2/iis7 将 ASP.NET MVC 3 (Razor) 应用程序发布到运行 Windows Server 2003 和 IIS 6 的远程服务器上 - Publish ASP.NET MVC 3 (Razor) app onto remote server running Windows Server 2003 with IIS 6 增加 IIS 服务器的 RAM 使用率 - Increase RAM usage for IIS server NET 2003在Windows 7和IIS7上的调试错误 - Debugging Error on Windows 7 and IIS7 with .net 2003 hi。如何在Windows Server 2003的IIS6.0中部署Asp.net网站 - hi.how to deploy Asp.net website in IIS6.0 in windows server 2003 在Windows Server 2003 IIS中将ASP.NET页面与ASP页面混合 - Mixing ASP.NET pages with ASP Pages in windows server 2003 IIS
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM