Failed to Save Analysis Data of an I/O Analysis Task to the Database
Symptom
An I/O analysis task fails, with an error message displayed indicating that analysis data fails to be saved to the database because some data is missing in the collection result file.
Possible Cause
The value of buffer_size_kb may be too small.
Troubleshooting Procedure
- (Optional) Mount debugfs. If debugfs has been mounted, skip this step.
1mount -t debugfs debugfs mount_path
You can run the mount -l | grep debugfs command to check whether the file system has been mounted. If yes, the following information is displayed, in which /sys/kernel/debug is the mount path.
1debugfs on /sys/kernel/debug type debugfs (rw,relatime)
- Query the value of buffer_size_kb.
1cat mount_path/tracing/buffer_size_kb - Modify the value of buffer_size_kb.
1echo value > mount_path/tracing/buffer_size_kb
The value must be greater than the current value. It is recommended that the product of the value and the number of CPU cores be less than the free memory (which can be queried using free -l).
- (Optional) Dismount debugfs.
If debugfs is not mounted in the original environment, you can dismount debugfs after modifying buffer_size_kb.
1umount mount_path
Parent topic: FAQs