This article describes how to collect the minimum required information for troubleshooting IO issues.
If the required data is bigger than 50 MB you will not be able to use ZenDesk to upload all the information. On this case we would like to encourage you to use our upload service in order to attach all the required information.
Operating System: Linux
This is the preferred method if you are using a product supported by the
Current products supporting collecting performance data are:
Steps to follow are:
Ideally, your environment is configured as documented in Prepare Jenkins For Support.
Output of the script
Description of the File System
Optional (if an I/O issue is suspected): output of the script listDProcessesNativeStacks.sh
A support bundle from the problematic instance ideally when the issue is happening or in the worst case right after the issue is exposed. Please, follow the KB below in case you don’t know how to generate a support bundle.
Please, enable at minimum the following checks:
controller system configuration (Linux only),
controller Log Recorders,
Slow Request Records,
Find more details about the Support Bundle in What is a support-bundle and how to create one.
1. - Download the testIO.sh.
2. - Make the script executable
The testIO.sh script will need to be made executable by running:
chmod +x testIO.sh.
3. - Get the
ps ax | grep -i java | grep -i -e jenkins -e cloudbees | grep war
4. - Check that the jenkins user has permissions in the directory where
testIO.sh is running
5. - Execute the
testIO.sh script as the jenkins user by running:
sudo -u $JENKINS_USER sh testIO.sh $JENKINS_HOME [TIMES] [PERIOD]
testIO.sh script will execute Write and Write/Read test a number of
[TIMES] times every
sudo -u jenkins sh testIO.sh /var/lib/jenkins 2 15
6. - Collect the
<date>-testIO.txt generated and attach it to the ticket using our upload service
To find the expected values for this script, see: IO Troubleshooting on Linux.
df -Hfrom the Host File System.
cat /proc/mountsfrom the Host File System.
Let us know if
JENKINS_HOMEis mounted on a Share File System, please let us know its technology (NFS, etc.) and its version (NFSv4.1, etc.).