Solved

Tool to determine the amount of space of open files in Windows Server 2003 R2

Posted on 2007-04-10
8
237 Views
Last Modified: 2010-03-05
Hello everybody,
i have a software problem with a process running under Windows Server 2003 R2. The process dies if there are too many files open. But the worse thing is: Not the number of files are critical - it is the overall amount of filesize which is important.
So my Question is: What tool can tell me the overall size of all opened files of the system? Can I use the System Monitor for this? I tried - but could not find suitable parameters.
Thank you all in advance for your suggestions or - hopefully  - solution.
0
Comment
Question by:Rudolf Pezzei
  • 4
  • 3
8 Comments
 
LVL 29

Expert Comment

by:Alan Huseyin Kayahan
Comment Utility
    Hi Rudolfo1967
         You can monitor open processes and how much memory is allocated to them via task manager. But you can only see .exe files. So you need a more enhanced task manager which can show you which kernel modules (sys and dlls) are open and especially which user modules under excecutable files (for example your software x.exe is working on a file named y.dbf, then you are able to monitor it under user modules, how much memory does it use and etc). In addition you may control ports. Its DTaskManager. You can download it from link below
http://www.giveawayoftheday.com/freeware/dir/36051/Download-DTaskManager.htm

Regards
0
 

Author Comment

by:Rudolf Pezzei
Comment Utility
Hello MrHusy:
Thank you for your suggestion - this program is indeed a good tool but it seems i did not explain the problem exactly enough.
The process i mentioned is opening database files and i need to know the amount of data of open database files plus the amount of all other open files on that system - not the memory consumption of the processes.
We got  a feedback that - depending on OS - the OS-Kernel allocate Memory from the "Paged Pool" Memory. The maximal amount of Paged Pool Memory taht can be handled by the OS depends on installed Physical Memory and the OS itself.
My Information is:
Windows NT4 with 2GB Ram can handle 180GB of Paged Pool Memory
Windows 2000,2003 with 2 GB can handle 340GB of Paged Pool Memory
Windows 2000,2003 with >2 GB can handle 470GB of Paged Pool Memory

So what i need is a tool to determine the actual used amount of Paged Pool Memory so that i can trigger  a warning before it reaches a critical amount and risk a faulty database Process and maybe days of "number crunching" work of that process are lost.
So i also thought i need to know the actual total amount of all open files on the system.

The only error-message recognized in the application eventlog of Windows Server 2003 R2 is a failure with the EventNumber:0 and the message taht a reading or a writing to a database file has failed in lack of not enough system ressources to do the requested service.

Hope these details are much more clear as before.

Regards
0
 
LVL 29

Accepted Solution

by:
Alan Huseyin Kayahan earned 500 total points
Comment Utility
         Hi Rudolfo1967
               Perfmon will do what you need. And then you have to add Paged Pool usage counter.
             *Start>Run>Perfmon
             *Add the counter Memory Memory\Paged Pool Bytes. You may add the other counters related with pool and monitor them

Regards
           
0
 

Author Comment

by:Rudolf Pezzei
Comment Utility
Hello MrHusy:
Yes i saw that performance counter in the performance Monitor - i will try it. Also we have opened a case with MS Support today and i will report the conclusion of these efforts here at experts-exchange.com. Please be patient about the points for a few days.
Regards
0
Want to promote your upcoming event?

Are you going to an event? Are you going to be exhibiting at a tradeshow? Talking at a conference? Using a promotional banner in your email signature ensures that your organization’s most important contacts stay in the know and can potentially spread the word about the event.

 
LVL 3

Expert Comment

by:saroshjmistry
Comment Utility
MrHusy howdy, you could try TreeSize Pro from JAM Software. They have a freeware version too but that might not work for you.
0
 
LVL 29

Expert Comment

by:Alan Huseyin Kayahan
Comment Utility
          Hi Rudolfo1967
                Any information yet from Microsoft Support? If you decide that info from MS or others were more helpful than the info in here, feel free to close this question.

Regards
0
 

Author Comment

by:Rudolf Pezzei
Comment Utility
Hello MrHusy,

the problem is not solved till now. The Microsoft Support told me to apply a performance log with the counters they told me. But when the problem arises even the performance logfile is not useable. So the next step is to transfer a manual memory dump too Microsoft.
As you can see nothing is sorted out :-( but i will give you the Points because of your response and immediate try to help me to solve the problem.
Best  Regards
0
 
LVL 29

Expert Comment

by:Alan Huseyin Kayahan
Comment Utility
          Hi Rudolfo1967
                Thank you for the points. Would you please post memory dumps for me to analyze too?? You can upload them in www.ee-stuff.com

Regards
0

Featured Post

Too many email signature updates to deal with?

Do you feel like you are taking up all of your time constantly visiting users’ desks to make changes to email signatures? Wish you could manage all signatures from one central location, easily design them and deploy them quickly to users? Well, there is an easy way!

Join & Write a Comment

Some time ago I faced the need to use a uniform folder structure that spanned across numerous sites of an enterprise to be used as a common repository for the Software packages of the Configuration Manager 2007 infrastructure. Because the procedu…
Know what services you can and cannot, should and should not combine on your server.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now