简体   繁体   English

在Windows 2003上对IIS 6进行故障排除的想法

[英]Ideas on Troubleshooting IIS 6 on Windows 2003

I wrote a .NET 4.0 web service that sends back data from an applications data storage. 我编写了一个.NET 4.0 Web服务,该服务从应用程序数据存储发送回数据。 Basically, it is accessing remote, structured text files. 基本上,它正在访问远程的结构化文本文件。 The request for data would take between 10-14 seconds on average. 数据请求平均需要10-14秒。 Within the last 3-4 weeks, the server is now taking about 4 minutes to access that same data. 在过去的3-4周内,服务器现在大约需要4分钟来访问相同的数据。 In an attempt to remove the network as an issue, I moved the files I was accessing to the IIS 6.0 server on Windows 2003 and it is still taking about 4 minutes to return data. 为了解决网络问题,我将正在访问的文件移到Windows 2003上的IIS 6.0服务器上,返回数据仍然需要大约4分钟。

I have a .NET 4.0 web service making calls to COBOL access code that accesses the data files. 我有一个.NET 4.0 Web服务,它调用了访问数据文件的COBOL访问代码。 None of the access code nor the files have been changed. 访问代码或文件均未更改。

The problem appears to be the IIS server. 问题似乎出在IIS服务器上。 I can run this web service from my developer work station to access the files at the remote application server, it runs within the 10-14. 我可以从开发人员工作站运行此Web服务,以访问远程应用程序服务器上的文件,该服务在10-14年内运行。

Performance: The web service isn't going beyond 50% utilization processor-wise. 性能:Web服务的处理器利用率没有超过50%。 I haven't looked that closely at the disks, but the server sits idle most of the time. 我没有仔细查看磁盘,但是服务器大部分时间都处于空闲状态。

I'm looking for suggestions on figuring out where to start troubleshooting from. 我正在寻找有关从哪里开始进行故障排除的建议。

Thanks, Martin 谢谢马丁

I'm not a COBOL expert, just posting what I found with one of my COBOL developers in-house. 我不是COBOL专家,只是在内部发布与我的一位COBOL开发人员发现的内容。

I ran profiling against the web site, which I wasn't familiar with, and found that it was moving around a lot of data. 我对一个我不熟悉的网站进行了性能分析,发现它正在移动大量数据。 The COBOL developer in an effort to get the code working as a prototype had the "linkage" moving around large chunks of data. 为了使代码作为原型工作,COBOL开发人员使“链接”在大量数据之间移动。 At the start there were 13+ of these large chunks of data moving around in memory. 最初,这些大数据块中有13+个在内存中移动。 I can't remember the exact error message, but the Profiler mentioned either heavy use in the Virtual Memory or that the application was using heavy paging. 我不记得确切的错误消息,但是探查器提到虚拟内存中的大量使用,或者应用程序使用了大量的分页。

We reworked the application and it uses significantly less memory and appears to be sending data back in less than 2-3 seconds now. 我们对该应用程序进行了重新设计,它使用的内存显着减少,现在看来可以在不到2-3秒的时间内发送回数据。

Martin 马丁

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM