PS Agent Issues
Fix Windows PSAgent installation failures and oversized TCP/HTTP dump files.
Below are the troubleshooting of Percona issues:
- Windows PSAgent Installation Issue in SMS Application
- Large TCP Dump and HTTP Dump File Generation by PSAgent
For reference:
The following section contains basic Linux commands: Basic Commands
Windows PSAgent Installation Issue in SMS Application#
Installation on Windows for the SMS application failed with the error "Error 1067: The process terminated unexpectedly."
Solution:
1. Configuration File Correction:
a. Identify that the issue was related to the psagent.xml file.
b. The problem arose because the psagent.xml file was incorrectly copied from a Linux server (versions 4.5, 4.8, or 5.x) and pasted into a Windows 5.x XML file.
c. Resolve the issue by editing the psagent.xml file directly on the Windows server instead of copying and pasting content from another server.
2. Best Practice Note:
a. Recommend not to copy content from another server for configuration files like psagent.xml .
b. Advise to always edit the XML file directly to ensure compatibility and correctness of configuration settings.
Large TCP Dump and HTTP Dump File Generation by PSAgent#
The PSAgent was creating large dump files, leading to storage and performance issues.
Solution:
1. Configuration Update:
a. Locate the psagent.xml configuration file.
b. Disable the dumpServerDataToFile parameter within the XML file. This parameter, when enabled, causes PSAgent to save extensive data to dump files, which can grow very large.
2. Restart and Verification:
a. After updating the configuration, restart the PSAgent service to apply the changes.
b. Monitor to ensure that no further large dump files were being created.