Ran out of disk space on Load Generators
Question ID: 107775
4
0

While running a load test, we ran out of disk space on a Load Generator, causing the test to fail. What files can be deleted on a Load Generator to free up disk space?

Marked as spam
Posted by (Questions: 144, Answers: 1)
Asked on July 26, 2017 6:46 pm
419 views
Answers (3)
1
Private answer

The recommended disk space on a machine designated as a Load Generator, should be at least 50 GB of free space after the HPE software has been installed. If the LG is a virtual machine, it is recommended to add more disk space to accommodate the recommended 50 GB of free disk space.

It is also recommended and a best practice to always collate the test results. If the test results are not collated, then they will remain on the Load Generator. The most common reason for results not being collated is when running smoke test in LoadRunner or Performance Center. These test results will build up over time and will start impacting the amount of free disk space, especially in a larger testing organization.

For a LoadRunner environment, there is no automated method that will clear out the results on a Load Generator. Whenever a test is run in the Controller, the results should always be collated and stored in a designated location on the Controller (Controller-> Results-> Results Settings).

In Performance Center, if the results are successfully collated, they are removed from the Load Generators and Controller machines and stored in the RawResult.zip files in the ALM-PC File Repository. For results that are not collated, there is a maintenance task within ALM that will remove old test data from the Load Generators. The maintenance task is located in Lab Management. By default, the parameter is set to check every 360 minutes and remove any test data that is older than 90 days. This parameter can be changed within Lab Management, as needed.

If you're in need to free up disk space on a machine that is designated as a Load Generator, below are a list of actions that can be done on either a Standalone LG installation or a PC Host installation and steps for actions that are specific to the type of installation.

Actions for either a Standalone Load Generator installation or a PC Host installation:

* Clear Windows Event Log
* Defragment Hard Disk(s)
* On Virtual Servers, clear out any unused space freed up by the defragment process and then compact the virtual hard disks.
* Uninstall any software that is not necessary

For Standalone Load Generators installation:

* Clear out the Temp folders- do not delete any of the HPE software files, if you are not sure-DO NOT DELETE
? To locate exactly where the temporary files are located, do the following:
a. Log onto each LG, using your admin account, navigate to Control PanelAll Control Panel ItemsSystemAdvanced system settings and select the Environment Variables button
b. Here you will see where the following temporary folders(TEMP and TMP) are located and can be deleted
§ User variables for (Admin account name)
§ System Variables

For PC Host installations:

* From the ALM Desktop Client, in each project, verify all test runs have been collated

* Clear out the Temp folders- do not delete any of the HPE software files, if you are not sure-DO NOT DELETE
? To locate exactly where the temporary files are located, do the following:
a. Log onto each LG, using the System user account (IUSR_METRO or equivalent services account), navigate to Control PanelAll Control Panel ItemsSystemAdvanced system settings and select the Environment Variables button
b. Here you will see where the following temporary folders(TEMP and TMP) are located and can be deleted
§ User variables for IUSR_METRO
§ System Variables

* Navigate to %RootDrive%Program Files (x86)HPPerformance Center Hostorchidtmp, and zip up the orchidtmp folder and save it to a shared drive to save the logs and any uncollated test results.
? The orchidtmp folder can be deleted, and Performance Center will recreate this folder the next time the machine is used for a test run

Marked as spam
Posted by (Questions: 0, Answers: 152)
Answered on July 26, 2017 7:31 pm
0
Private answer

yes that will work

Marked as spam
Posted by (Questions: 231, Answers: 18)
Answered on October 26, 2017 4:50 pm
0
Private answer

here is a batch job that I run weekly to clear disk space that has 100 Gb free before running any tests.  These lgs are used by many teams and are in use almost 24x7. This issure is has occurred with me from PC12.x to LRE2022R2.

I install all my lgs with a path of c:onelg (for Onelg installs) or c:LRHost (for full host installs)

forfiles /P c:Onelgtemp /M * /C "cmd /c if @isdir==FALSE del @file"
forfiles /P c:Onelgtemp /M * /C "cmd /c if @isdir==TRUE rmdir /S /Q @file"

forfiles /P c:temp /M * /C "cmd /c if @isdir==FALSE del @file"
forfiles /P c:temp /M * /C "cmd /c if @isdir==TRUE rmdir /S /Q @file"

forfiles /P C:UsersXXXuser1AppDataLocalTemp /M * /C "cmd /c if @isdir==FALSE del @file"
forfiles /P C:UsersXXXuser1AppDataLocalTemp /M * /C "cmd /c if @isdir==TRUE rmdir /S /Q @file"

forfiles /P C:Usersiusr_metroAppDataLocalTemp /M * /C "cmd /c if @isdir==FALSE del @file"
forfiles /P C:Usersiusr_metroAppDataLocalTemp /M * /C "cmd /c if @isdir==TRUE rmdir /S /Q @file"

 

Marked as spam
Posted by (Questions: 0, Answers: 1)
Answered on March 7, 2024 7:12 am
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top