DX NetOps Manager

Drive Space limited or maxed out on C:\ 

Aug 07, 2014 10:49 AM

This is an issue we see a lot in support, and not just for RA/NFA, this applies to all "NetQos" products.

We see the C:\ drive fill up and there is not enough free space for the application to run properly, resulting in a high priority Support Issue.

Many of the NetQos/CA bought servers were configured with a 12 GB Partition for the C:\ drive, which can fill up fairly quickly if certain considerations are not taken into account.

Following ALL of the steps below should prevent you from running into a situation like this and will be the first steps Support will ask you to go through when you do open an issue.

Ideally you should do this before you run out of disk space to save you the trouble later on.

ISSUE
How do I free up some space when the C:/ drive is near full?

RESOLUTIONS

-Use windirstat to find out what is taking the most space.
http://sourceforge.net/projects/windirstat/.

That will show disk usage in a visual way where you can see what is taking up the most space. Look at C:, and see if you can clean up some disk space.


-The two biggest culprits of disk space on the C:\ are usually the Windows Temp directory being on C:\ and/or the System paging file being on C:

To move the paging file to follow these steps:

[indent1)]Right click on My Computer -> Properties

2)Select Advanced tab.

3)Click Settings in the Performance section.

4)Select Advanced tab.

5)Click Change in the Virtual memory section.
Note the values under 'Initial size (MB):' and 'Maximum size (MB):'

6)Select the D: drive. Select 'Custom size:'

7)Change the values to match the ones noted in step 6.

8)Click 'Set'

9)Select the C: drive.

10)Select 'No paging file'

11)Click 'Set'

12)Click 'OK' three times.

13)Select Yes to Reboot the server.
Once the system reboots the paging file will now be on D:


You could also try moving the windows temp folders to the D:\ drive, where there is usually more space.

1)Right click on My Computer and select Properties.

2)Click on the Advanced Tab.

3)Click on the Environment Variables button at the bottom.

4)In the bottom section of the window (System Variables), scroll down to the bottom where TEMP and TMP are.

5)For both TEMP and TMP, left-click on the variable name, then click "Edit".

6)Change the variable value from "%SystemRoot%\TEMP" to "D:\netqos\temp".

7)Click ok, then repeat the procedure so both TEMP and TMP are set to the new directory.

8)Create the D:\netqos\temp directory if it does not already exist.

9)Restart the server.
NOTE: After the reboot, you can delete the C:\Windows\temp directory to free up disk space on C:\.

-Another Major offender is IIS Logging, This can be cleaned up and disabled to free up disk space.

If they are enabled, they will be in a folder like C:\WINDOWS\system32\LogFiles\W3SVC1, you can safely delete the contents of the folder.

You can disable them by going into IIS manager and right click the Websites folder and select properties, and uncheck the Enable Logging box. Then reset IIS in cmd: iisreset.

Usually these logs are not needed by Support for troubleshooting cases, but in the rare event they are needed you can always just temporarily enable the logging again.


NQ Disk Cleaner
-Deletes hidden folders in C:\windows. Typically these are backup files from Windows Updates containing files replaced by specific Windows OS patches.

-Runs Windows Disk Cleanup. It enables all options, including hidden options within the tool then runs the tool to delete files.

Options enabled:
Recycle Bin
Content Indexer Cleaner
Downloaded Program Files
Internet Cache Files
Memory Dump Files
Microsoft Event Reporting
Offline Files
Offline Page Files
Old ChkDsk Files
Remote Desktop Cache Files
Setup Log Files
Temporary Files
Temporary Offline Files
WebClient and WebPublisher Cache
Active Setup temp folders
Compress old files

-Deletes IIS logs in c:\windows\system32\LogFiles\W3SVC\ or c:\winnt\system32\LogFiles\W3SVC\

-Empties the Recycle Bin

-To quickly free up some space on the C:/ drive is to run the NQDiskCleaner utility. Just download the tool and run it anywhere on the server. It will remove any unnecessary and temporary files. This may help a bit temporarily but you really should go through the rest of the steps to prevent further problems and free up more space.

ftp://ftp.ca.com/pub/netqos/supporttools/releasedtools/nqdiskcleaner.zip

 

 

This document was generated from the following discussion: Drive Space limited or maxed out on C:\

Statistics
0 Favorited
1 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.