34

Very large sps-runtime.log.stderr log file

 3 years ago
source link: https://www.yellow-bricks.com/2021/07/06/very-large-sps-runtime-log-stderr-log-file/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Very large sps-runtime.log.stderr log file

Duncan Epping · Jul 6, 2021 · 2 Comments

On VMTN someone hit a situation where the sps-runtime.log.stderr log file grew extremely large on their vCenter Server Appliance (7.0 in this case). I have seen this before, and sizes over 10GB are not uncommon. The sps-runtime.log.stderr file belongs to the service that provides the Policy-Based Storage capabilities. You can of course stop the service and then delete the files, and restart the service again. However, you could also empty the file by simply doing the following on the command-line:

cat /dev/null > /storage/log/vmware/vmware-sps/sps-runtime.log.stderr

This results in a 0kb file immediately.

Share it:


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK