[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

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

Questions to pagefile.sys growth with the "Automatically manage paging file size for all drives"

Situation:
A Windows Server 2008 R2 Standard (not yet SP1) with 8GB RAM is running with the default "Automatically manage paging file size for all drives" set.
Currently the pagefile.sys is 8GB, residing on the system partition C: (which has now 1.5GB free)
Second partition D: (for "data") has 32GB free.

Questions:
1. In how big chunks does the pagefile.sys grow (e.g. 1GB at a time)?

2. Will the system eventually move the pagefile.sys to the D: partition if there is too little (or no more) space available on the C:?

3. Similarly to '2'; will the system eventually create a second pagefile.sys on the D: partition, having/working with two pagefile's (that on C: and at the same time that on D:)?

4. Will the system at any point in time automatically "shrink" the pagefile.sys?

5. Can you refer to any Microsoft and/or Technet documentation about this?

Kind regards,
Soren
0
slemmesmi
Asked:
slemmesmi
3 Solutions
 
slemmesmiAuthor Commented:
And please let me add a sixth question:

6. And can I eventually see when a pagefile.sys is grown in the EventLog?

Kind regards,
Soren
0
 
Stelian StanCommented:
What you can do is to set to "Custom size" and for C drive set:
Initial size (MB): 512
Maximum size (MB): 512

for D drive:
Initial size (MB): 8192
Maximum size (MB): 8192

2, 3. NO is not growing on another partition

4. Will the system at any point in time automatically "shrink" the pagefile.sys?

5. http://support.microsoft.com/kb/889654
http://technet.microsoft.com/en-us/magazine/ff382717.aspx
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
slemmesmiAuthor Commented:
Dear clonyxlro,

thank you for your reply and answers to 2, 3 and 5.

I am not so much interested in manually setting the pagefile in this scenario - my questions are of a more generic nature, so still very interested in answers to 1, 4 and 6.

I'll take a look at the two links you provide.

Kind regards,
Soren
0
 
slemmesmiAuthor Commented:
Dear clonyxlro,

unfortunately neither of the three links you provided answers any of my questions.
Maybe I have missed something when reading them (the last link you provided doesn't concern/mention "Windows Server 2008 R2" nor "automati"..)?

Kind regards,
Soren
0
 
SteveIT ManagerCommented:

1. In how big chunks does the pagefile.sys grow (e.g. 1GB at a time)? - if its system managed my understanding is that its dynamically resized

2. C drive will complain its full

3. system will usually create a pagefile per drive

4. if its system managed my understanding is that its dynamically resized

5. http://support.microsoft.com/kb/2021748 oh and http://rdsrc.us/xw1lgB may be helpful also

6. not that i know of but you can delete it and let the system re-create to ensure its not being unnecessarily allocated
0
 
noxchoCommented:
1. In how big chunks does the pagefile.sys grow (e.g. 1GB at a time)?
Depends on the resources that your system needs at the moment. If doing heavy tasks will increase in 28-40MB pro second. I've seen this.

2. Will the system eventually move the pagefile.sys to the D: partition if there is too little (or no more) space available on the C:?
No. Windows is not as clever as you think about it. It will either automatically reboot or fail into BSOD when available memory is exceeded. And yes, C: drive will be full.

3. Similarly to '2'; will the system eventually create a second pagefile.sys on the D: partition, having/working with two pagefile's (that on C: and at the same time that on D:)?
No. Better if you create new partition and set the paging file there. It is like standalone partition for SWAP.

4. Will the system at any point in time automatically "shrink" the pagefile.sys?
Yes. As soon as the resource are not needed anymore the system will shrink paging  file to standard 512MB-1GB.

5. Can you refer to any Microsoft and/or Technet documentation about this?
The links are given above.
6. And can I eventually see when a pagefile.sys is grown in the EventLog?
Actually now. You can see the size of the pagefile.sys growing if you disable hiding system files.
0
 
slemmesmiAuthor Commented:
Thanks guys!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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