Ran out of disk space on Load Generators

  • Questions
  • 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: 135, Answers: 0)
Asked on July 26, 2017 6:46 pm
6 views
Answers
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: 143)
Answered on July 26, 2017 7:31 pm
0
Private answer

yes that will work

Marked as spam
Posted by (Questions: 207, Answers: 15)
Answered on October 26, 2017 4:50 pm