[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 245
  • Last Modified:

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

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
Rudolf Pezzei
Asked:
Rudolf Pezzei
  • 4
  • 3
1 Solution
 
Alan Huseyin KayahanCommented:
    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
 
Rudolf PezzeiAuthor Commented:
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
 
Alan Huseyin KayahanCommented:
         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
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
Rudolf PezzeiAuthor Commented:
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
 
saroshjmistryCommented:
MrHusy howdy, you could try TreeSize Pro from JAM Software. They have a freeware version too but that might not work for you.
0
 
Alan Huseyin KayahanCommented:
          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
 
Rudolf PezzeiAuthor Commented:
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
 
Alan Huseyin KayahanCommented:
          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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now